[CentOS] Resolv.conf being overwritten

Sun May 23 21:31:37 UTC 2010
Kahlil Hodgson <kahlil.hodgson at dealmax.com.au>

On 05/21/2010 11:24 PM, ken wrote:
>> On Thu, May 20, 2010 at 07:02:06PM -0400, Thomas Dukes wrote:
>>> I am trying to add to my resolv.conf. I added it through the
>>> system-config-network but if I reboot, its gone. I do not have the caching
>>> nameserver package installed. My ISP's nameservers are there. It must have
>>> something to do with DHCP.
> Try putting the changes you want (e.g., into
> /etc/sysconfig/networking/profiles/default/resolv.conf ... or in some
> other, more appropriate profile directory.

As a quick hack, try appending




Such lines are used to generate resolv.conf during normal network
startup.  Don't know if the dhcp entries will override this.