LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-11-2011, 07:45 AM   #1
elliot01
Member
 
Registered: Jun 2009
Location: UK
Distribution: CentOS / RedHat
Posts: 89

Rep: Reputation: 16
resolv.conf keeps reseting


Hi all,

I have a bizarre problem.

Every time I reboot my CentOS box the /etc/resolv.conf resorts to a previous version.

I can go into resolv.conf, edit it with vim. save it. Check it by viewing with less, then reboot. When I log back in, the previous resolv.conf is back in place!

I am totally baffled!

Where do I start looking to work out what's happening?

There's nothing in crontab that I can see, or /etc/rc.d/rc.local.

Thanks!
 
Old 10-11-2011, 07:50 AM   #2
elliot01
Member
 
Registered: Jun 2009
Location: UK
Distribution: CentOS / RedHat
Posts: 89

Original Poster
Rep: Reputation: 16
Arggh, I just noticed my /etc/sysconfig/network-scripts/ifcfg-eth0 file specifies the DNS settings!

Oops!
 
  


Reply



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
[SOLVED] resolv.conf SeRi@lDiE Slackware 6 08-13-2011 03:31 AM
resolv.conf autophil Linux - Networking 3 08-15-2007 08:51 AM
DNS Hosts.conf or resolv.conf problem mac_casey SUSE / openSUSE 0 03-26-2006 09:21 AM
resolv.conf reseting on debian box bullium Linux - Networking 3 03-21-2006 12:49 PM
sysctl.conf is reseting PhilD Linux - Networking 0 06-02-2003 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 PM.

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
Open Source Consulting | Domain Registration