Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-25-2013, 01:31 PM   #1
Registered: Nov 2006
Posts: 66

Rep: Reputation: 15
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?
Old 07-25-2013, 02:57 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 & )
su -
or the GUI
( from the terminal )
su - 
and use the gui as root
click on "network connection "
and edit it


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
DNS issues, all illegitimate DNS queries resolve to me!??! fast-reflexes Linux - Networking 3 08-17-2010 06:38 AM
[SOLVED] ignoring out-of-zone data in my DNS file zyzzogeton Linux - Networking 6 12-18-2009 12:29 PM
DNS can't resolve but can resolve everything else? TongueTied Linux - Networking 2 01-24-2006 03:39 AM
Installed CentOS, but cant resolve DNS abcampa Red Hat 1 04-27-2005 11:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration