Thanks - I should have mentioned that I am using completely static
networking information.

 

[r...@cpafisxc ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"

BOOTPROTO="static"

DNS1="xxx.xxx.xxx.xxx"

DNS2=" xxx.xxx.xxx.xxx "

GATEWAY=" xxx.xxx.xxx.xxx "

HWADDR="00:1C:C4:DD:24:08"

IPADDR=" xxx.xxx.xxx.xxx "

NETMASK="255.255.254.0"

NM_CONTROLLED="yes"

ONBOOT="yes"

 

Thanks,

 

Kevin

From: Glaser, David [mailto:[email protected]] 
Sent: Thursday, November 18, 2010 8:08 AM
To: Collins, Kevin [BEELINE]; [email protected]
Subject: RE: /etc/resolv.conf getting replaced?

 

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