[CentOS] Resolv.conf being overwritten

Fri May 21 04:13:57 UTC 2010
Keith Keller <kkeller at wombat.san-francisco.ca.us>

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.

Yes--DHCP will overwrite resolv.conf by default.  See the various
options, in particular supersede and prepend, in the man page for
dhclient.conf.

> Also, in the network config GUI, should I select the IPv6 option for either
> or both network cards?

Unless you have a need for IPv6, don't turn it on.  If you don't know
that you need it you probably don't.

--keith

-- 
kkeller at speakeasy.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20100520/47f6742a/attachment-0004.sig>