PDA

View Full Version : [ubuntu] how to change dns in 8.10?



HarmonicaGoldfish
December 6th, 2008, 09:21 PM
I just upgraded to 8.10 from 8.04. During the upgrade my dns settings were lost. I like to use open dns but can not seem to figure out how to change the settings!

Can anyone help me?

Is there a network manager function like in 8.04?

thanks!
Tracy

superprash2003
December 7th, 2008, 06:02 AM
this should help http://prash-babu.blogspot.com/2008/04/how-to-configure-dns-servers-in-linux.html

Dr Small
December 7th, 2008, 03:17 PM
Just edit /etc/resolv.conf and add your DNS entries back in.
For openDNS, use:

nameserver 208.67.222.222
nameserver 208.67.220.220

Dr Small

HarmonicaGoldfish
December 7th, 2008, 03:48 PM
Thanks for the help. It's working now.

Question - in /etc/resolv.conf I have the openDNS name servers as well as what is probably my ISPs name server (Rogers)

nameserver 192.168.2.1

Should I delete that one or just leave it there?

superprash2003
December 8th, 2008, 05:02 PM
as long as 192.168.2.1 is below your opendns servers its fine..

etlpkby
December 12th, 2008, 07:45 PM
I tried adding to /etc/resolv.conf but on next reboot my openDNS settings are gone.

I've recently upgraded from 8.04 to 8.10 and noticed the admin GUI to alter DNS settings isn't present? (network manager). Weird. Anyway, in 8.04 I updated /etc/dhcp3/dhclient.conf and appended this line:-


prepend domain-name-servers 208.67.222.222,208.67.220.220;

Will do that now with 8.10 me thinks ;)