General :: Change Dns Nameserver - Ubuntu 9.10
Feb 22, 2010When I edit /etc/resolv.conf, it is overwritten right away with the old configuration. How do I really change the nameserver on Ubuntu Server 9.10?
View 1 RepliesWhen I edit /etc/resolv.conf, it is overwritten right away with the old configuration. How do I really change the nameserver on Ubuntu Server 9.10?
View 1 RepliesI just switched ISPs from a local vendor to Wild Blue. All my Windows boxes adopted automatically. My Ubuntu 10.10 workstation can find no sites, period. My old resolv.conf said:
# Generated by NetworkManager
domain sdc.org (<- my old local ISP)
search sdc.org (<- my old local ISP)
nameserver 192.168.0.1 (<- correct IP V4 address for my router's front end)
This has not changed, and I guess my IP stack is searching for sdc.org domain addresses on WildBlue.net, which don't exist there. After many hours trying to speak with WildBlue Tech Support people, I've decided that domain search questions are beyond their ability to comprehend or discuss. If I could ascertain the domain(s) to search I'd just edit the silly file.
Has anyone else connected with Ubuntu 10.10 on WildBlue?
According to the man page, host ought to query "the server or servers listed in /etc/resolv.conf," but it only uses the first entry in that file:
thefourthtower:$cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
[code]....
I have a own firewall which is also acting as a nameserver for my own network. From Windows machines everything works perfectly i.e. I can access my computers / equipments with the defined names instead of ip-addresses. But not with Ubuntu machines! Below example taken from my Ubuntu machine.
[code]...
A server at which I have an account has changed things. The new /etc/resolv.conf fails to resolve a lot of addresses. I can use dig @ with OpenDNS and resolve them successfully, but how do I get apps, such as sendmail, to use a nameserver I specify? It'd be nice if a user could have his own additions to resolv.conf, but I don't see that in the docs, or a way to get sendmail to use a specified nameserver.
View 2 Replies View RelatedOk, one more question on nameserver security. So I was reading this post and it recommended not setting a defined outgoing port for your nameserver due to the Kaminsky vulnerability.What is the proper way to lock down a nameserver, but avoid the vulnerability of only allowing incoming and outgoing requests on port 53
View 3 Replies View RelatedI have a small webserver running ubuntu server 10.4. It runs fine except after every reboot, I get DNS errors. I have to manually edit /etc/resolv.conf to add:
Code:
nameserver 192.168.1.1
The address of my internet gateway on my LAN. Obviously I am ignoring the warning in resolv.conf that this will be overwritten.
i've just setup a vps server with 11.4 everything is almost look fine now, but i couldn't setup a nameserver, i've searched on the internet about that but directories is different in suse. anyway i registered a domain on onlinenic yesterday and i want to use this domain as a nameserver and my hostname. how can i do that ? and do i need to have at least 2 ip for that ?
View 7 Replies View RelatedI have a domain name and I want to host it on my ISP.What my goal is is to have 2 nameservers:NS1.mydomain.com
NS2.mydomain.comI want to be able to put www.mydomain.com and have DNS do its thing. I want to use BIND to do this. This is a new realm for me, and i know exactly what I want to do, but I struggle putting it in words
i get this error whi trying to configure caching DNS namerver
[Code]....
does anyone know of a good site/book/guide to learn about linux web server administration?
and also how do you find the your own nameserver numbers? would that just be the IP of my web server?networking isn't my forte, but i do intend to learn with this project.
Like many others I'm running into some reverse lookup issues with SSH. Setup is as follows:
localnet setup
myserver - 192.168.0.x
myworkstation - 192.168.0.y
[Code].....
nslookup tests show that my reverse lookup is functioning correctly. However, if I use "myworkstation" to connect to myserver.mydomain.com using an external nameserver SSH says: "Address 84.162.xx.yy maps to myserver.mydomain.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!"
On myserver the /etc/hosts has the internal address for the server which seems the normal way to go to me. Changing this to the servers external address solves the issue.
Apparently a connection originating from myworkstation arrives from/with my external address, and when its reverse is checked by the server it apparently finds its own internal address for that name in /etc/hosts before doing a nameserver query and thus concludes that internaladdress <> externaladdress which gives the error.
Is there any way to have the server check external DNS before /etc/hosts? Another solution would probably be running an internal DNS, so myworkstation doesn't connect through the 'outside'.
I want to configure DNS Server on Fedora14. So I install caching-nameserver cause any template files.I can't install caching-nameserver on my Fedora14 by this command: [but i can do it on Fedora5]
View 4 Replies View Relatedtoday i found out that my bind9 on debian 5 suddenly failed and it also consumed 100mb of RAM at most times.
nameserver daemon with smaller memory footprint to replace bind9.
As I understand it, /etc/resolv.conf is rewritten at boot time by NetworkManager (a script?)I have a problem in the order the nameserver entries are written by my system (F13). This is:
Code:
nameserver 192.168.1.1
nameserver xxx.233.0.4
[code]....
How can I have /etc/resolv.conf point to my router address as the nameserver nameserver 192.168.1.1
instead of picking up the ISP's DNS servers and using that as the nameserver entries? Reason being I have more than one ISP account, and when I change I do not want to have to remember to restart the networking service. because i often forget.
I tried installing gnome-desktop, which wiped out /etc/resolv.conf (and ultimately failed to install). A comment was left in resolv.conf saying "do not edit..". Where is the proper place to list nameservers in debian?
View 2 Replies View RelatedI'm trying to query the second nameserver on a local network to resolve local domain names to IP's.
Code:
$ ping ids.mydomain.loc
ping: unknown host mydomain.loc
[code]....
I use red hat Es 5.5 64 bit.. I find the item nameserver in resolv.conf cannnot be saved. Everytime ,reboot or restart the netwrok service . The data in resolv.conf will be removed and clear . I need to edit it again . I also try to add DNS1=XX.XX.XX.Xx in ifcfg-eth2 but the same problem. in it , the resolv.conf is still need to edit every network service restart . So, how to save the resolve.conf about nameserver forever ??
[root@vls etc]# cat resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
[Code]...
My configuration: CentOS in a VPS environment, I have 2 static IPs at my disposal.I'm having trouble setting up my nameservers. I've registered the nameservers with my registrar and supplied the GLUE records, however my registrar has not yet applied this information into the DNS zone, because my nameservers fail to generate a response on port 53.DNS check says the following about my nameserver address:Checking SOA records for domain. Domain server is not answering to UDP requests on port 53. Possible problems: A firewall is blocking port 53, server is down, server is not running software for handling dns requests.So the only two possibilities I see is that my port 53 is somehow blocked or not properly set to accept and send the correct traffic or that I've misconfigured BIND.
View 2 Replies View RelatedI just installed F10 from a Live download iso on a Sony VAIO laptop with an Intel PRO/Wireless LAN2100 3B Mini PCI Adapter. The linux driver is ipw2100 and functions without problems.
After the install I accepted the update downloads offer and downloaded somewhere around 170 updates. The kernel version is 2.6.27.19-170.2.35.fc10.i686.
I am using a Linksys WRT55AG as a DHCP server. Using NetworkManger it assigns IP addresses without incident.
My problem is that I can't get name resolution to function without manual intervention.
I can ping other wireless nodes on my network and the response to $ dig -q www.yahoo.com is: ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 30153
The /etc/resolv.conf file contains no entry for 'nameserver=' and if I manually edit /etc/resolv.conf, it is overwritten on reboot or restarting the NetworkManager service. I am aware of /etc/sysconfig/networking/profiles/default/resolv.conf.
Additionally, in the var/log/messages file I can see that NetworkManager makes links between /etc/resolv.conf and the default version.
However, after either rebooting or restarting the NetworkManager service, if I manually enter a DNS address 192.168.1.1 (my wireless router) under the DNS tab of the system-config-network 1.5.95 application. This address does not persist after either rebooting or restarting NetworkManager.
If I disable NetworkManager, I can't get the WRT55AG to assign the wilreless adapter an IP address.
So the bottom line and my question is what do I need to do in order to simply boot and have wireless connectivity?
To what file does system-config-network 1.5.95 write the DNS address entered from it's GUI?
This continues a thread started in the applications forum:mc hangs temporarily when network is downmc (Midnight Commander) hangs on my desktop but not on my laptop. When I compared desktop and laptop configurations, I found the following differences:
/etc/hosts files:
Code:
Laptop: 127.0.0.2 linux-4xt8.site, linux-4xt8
[code]....
How do I know the reply was from caching-nameserver, master nameserver or slave nameserver in BIND DNS.? Can I trace the nameserver that replied my dns query? Like I have a master nameserver, a slave nameserver and a caching nameserver in my network. Is it possible to know that which of these servers replied my dns query? Also can i trace back that replying server exactly?
View 3 Replies View Relatedwhat is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?
View 7 Replies View RelatedWhat config file do you change to change default run level???
View 3 Replies View RelatedI recently installed Ubuntu 10.04 Netbook Remix on my Gateway LT3103u. I noticed shortly into using it that it has a graphics bug every so often. Especially when I change the background image. Everything will change to a warped mix of colors and pixels. Everything is affected. My mouse, the bar at the top of the screen, text and all. My netbook runs on an AMD Athlon 64-bit processor with ATI Radeon X1270 HyperMemory up to 256MB graphics.
So far I have tried reinstalling, and even the 64bit desktop edition which had the same problem. Ive noticed that it freaks out when i scroll too quick, when changing background images, and on certain websites. Then other times its completely random. When it happens it looks similar to these: [URL]
I currently have a Windows XP OS which i want to dual-boot with Ubuntu Linux 10.10 . I put the disk in the drive and chose the option to install Linux through Windows. But it hangs in the middle. I am also unable to change my BIOS settings due to which i can"t change my boot preference. My first Boot is the HDD. I want to change it to CD-ROM. Any suggestion? I also have another PC where i can boot through the CD...I tried installing there by booting from the CD but i get this error message after seeing the purple Linux screen with the loading dots. "(Process:286):Glib warning**:getpwuid:failed due to unknown user id (0)
P.S.- I am not able to see any options while the boot is going on
I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.
No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.
No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?
No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?
Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.
I changed it and got it working a long time ago but i installed 10.10 (great work BTW ) and have forgotten completely.
View 6 Replies View RelatedOn an Ubuntu 9.10 machine, how do I change the host ID to a different value?
View 1 Replies View Related