[rhelv6-list] /etc/resolv.conf getting replaced?

Glaser, David dsglaser at umich.edu
Thu Nov 18 16:07:36 UTC 2010


Are you getting nameserver information from DHCP?

If you are running DHCP, I'd try using NetworkManager and editing your connections, changing your type from Automatic (DHCP) to Automatic (DHCP) addresses only. Then you can set what you want your DNS servers and search domains to.

Dave


From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Collins, Kevin [BEELINE]
Sent: Thursday, November 18, 2010 10:55 AM
To: rhelv6-list at redhat.com
Subject: [rhelv6-list] /etc/resolv.conf getting replaced?

I have been playing with RHEL6 for a couple of days now and I have found that my /etc/resolv.conf is being re-created by NetworkManager on reboot!

I end up with this:

# Generated by NetworkManager
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

Any other items I have added (such as domain and search) are lost... what gives? Anyone know how I can prevent this?

Thanks,

Kevin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20101118/a1f2a3e6/attachment.htm>


More information about the rhelv6-list mailing list