LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-25-2013, 01:31 PM   #1
EnderX
Member
 
Registered: Nov 2006
Posts: 64

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,015

Rep: Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454
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
 
  


Reply


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 gmail.com 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


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

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