LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS - DNS values ignoring changes - how to resolve? (https://www.linuxquestions.org/questions/linux-newbie-8/centos-dns-values-ignoring-changes-how-to-resolve-4175470905/)

EnderX 07-25-2013 01:31 PM

CentOS - DNS values ignoring changes - how to resolve?
 
I've been requested to change the DNS values on a set of CentOS 6 machines in my office. I went through the command line,'system-config-network', and I was able to change the DNS values (Primary, Secondary, Tertiary) quite nicely. However, when I rebooted the machine and did a secondary check, the DNS entries had gone back to their original IP values instead of retaining the new ones.

I did this a second time, this time 'cat'ing the contents of /etc/resolv.conf out to the terminal before and after the change, noting that the new values were in fact shown in the 'after' output. However, as before, upon restarting the machine the IP values had reset themselves, and /etc/resolv.conf was showing the old values as well.

Frankly, I'm stumped at this point. I've tried searches on 'DNS not changing' both with and without 'CentOS' and/or 'Linux', and I've gotten several pages to come up, but they all seem to finish off with resolv.conf, so I'm not sure how much good they'll be able to do for me.

I assume that others here might have a better grasp of what I need to look at next than I do - would you please share that information with me?

John VV 07-25-2013 02:57 PM

Quote:

I went through the command line,'system-config-network',
let's remove the obvious
you did do that as root ? right

is the dns change listed in this
( i use google 8.8.8.8 & 8.8.4.4 )
Code:

su -
system-config-network-cmd

or the GUI
( from the terminal )
Code:

su -
gnome-control-center

and use the gui as root
click on "network connection "
and edit it


All times are GMT -5. The time now is 01:25 AM.