top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

DNS entries on CentOS and how to revert back

0 votes
127 views

I used to have opendns set up as my DNS.

network manager still has opendns IP addresses in the relevant entry of the gui. Also /etc/network/interfaces has the opendns IPs.

However, this has stopped working and I appear to be using my ISP DNS

How do I get back to my previous situation of using opendns?

posted Jul 19, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
How are you checking this?

1 Answer

+1 vote

If you don't have "managed=true" in the "[ifupdown]" section of "/etc/NetworkManager/NetworkManager.conf"?

If you don't, NM will ignore the NIC that you've defined and set up in "/etc/network/interfaces".

How are you setting the DNS servers in "/etc/network/interfaces"? The only way that you can do so (using "dns-nameservers ...") is if you have resolvconf running and "/etc/resolv.conf" is a symlink to "/run/resolvconf/resolv.conf".

(If you don't use "dns-nameservers ...", you have to use "/etc/resolvconf/resolv.conf.d/{head,base,tail}" to set the nameservers in "/etc/resolv.conf", unless you want to use those that you get via dhcp.)

answer Jul 19, 2013 by anonymous
Similar Questions
+1 vote

My system is set to go directly to the OpenDNS name servers for DNS resolution. However, the results I get from "nslookup" differ from what I get if I query the same name server from another machine with the same resolv.conf settings.

That leads me to believe that DNS info is being cached locally somewhere. I don't have bind or nscd installed.

Where is this caching taking place and how can I clear/flush it?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...