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: [email protected] [mailto:[email protected]] On 
Behalf Of Collins, Kevin [BEELINE]
Sent: Thursday, November 18, 2010 10:55 AM
To: [email protected]
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

_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list

Reply via email to