Where do I specify my DNS servers? I'm running Ubuntu server 6.06 with ubuntu desktop installed. When I change the servers via System>Administration>Networking and then enter my password for root access then add the servers to the DNS tab after about 15 minutes my entries dissappear (I suspect this is the period that root acces is enabled). I've tried editing /etc/networking/interfaces as follows but it's not working iface eth1 inet dhcp nameserver 203.155.33.1 nameserver 202.44.144.33 and iface eth1 inet dhcp dns xxx.xxx.xxx.xxx dns xxx.xxx.xxx.xxx I'm assigning a static IP via my router so DHCP is enabled. Thanks
I tried that but every time I restarted the network interfaces it defaulted back to the previous file. I suspect it was getting it from the router via dhcp even though I had specified them in my router config. Maybe a dlink firmware problem? I edited /etc/dhcp3/dhclient.conf change the line #prepend domain-name-servers 127.0.0.1; to prepend domain-name-servers xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy; and it now adds the specified servers to the top of the file each time networking starts see http://ubuntuforums.org/showpost.php?p=1322888&postcount=41