[CentOS] Resolv.conf being overwritten

ken gebser at mousecar.com
Fri May 21 14:49:53 UTC 2010


On 05/21/2010 09:41 AM m.roth at 5-cent.us wrote:
>>> On Thu, May 20, 2010 at 07:02:06PM -0400, Thomas Dukes wrote:
>>>> I am trying to add 127.0.0.1 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., 127.0.0.1) into
>> /etc/sysconfig/networking/profiles/default/resolv.conf ... or in some
>> other, more appropriate profile directory.
> 
> Except isn't that a link to /etc/resolv.conf? The one that causes the
> complaint when it's updated, something about won't overwrite something?
> (Sorry, it's been weeks since I saw that, so I don't remember the exact
> error message.)
> 
>       mark

No, it's not a link.




More information about the CentOS mailing list