You are not logged in.
Hello,
Is there any way to set and make permanent DNS adress with NetworkManager? I'd like to use OpenDNS so I edited /etc/resolv.conf and it works till next system restart. What am I supposed to do to make DNS adress permanent?:/
EDIT: Something gone wrong.
EDIT: Solved, it's new NetworkManager 0.7.
Last edited by MilosC (2009-03-08 02:10:32)
Offline
Yes, there is - /etc/dhclient.conf
supersede domain-name "opendns.com";
prepend domain-name-servers 208.67.222.222, 208.67.220.220;
Last edited by schivmeister (2008-06-19 14:47:22)
I need real, proper pen and paper for this.
Offline
Thanks! It works!;)
Last edited by MilosC (2008-06-19 16:06:17)
Offline
It doesn't work anymore. What could go wrong?
Offline
My all time favorite way to do this is to put your isp (or OpenDNS addresses, etc) into your router via it's own configuration page. I've never had to mess around with resolv.conf, dhclient etc this way for over 5 years and let the box pick it up from your router.
After making the change in the router, restart networking, or reboot.
Offline