[CentOS] Resolv.conf being overwritten

Thu May 20 23:43:16 UTC 2010
Hans-Ulrich Flueck <huf at inomatix.com>

Hello TIA

If you do not have a local/LAN DNS server neither a caching DNS
configuration on your machine, I can't see a reason to add localhost to the
list of your DNS servers...

The idea behind DHCP is to distribute gateway, dns, ntp and other servers to
the clients, beside the IP addresses.
It's the way it works to have the /etc/resolv.conf overwritten on machine
reboot and DHCP refresh.
 
You might setup your own local DNS server and distribute this one as the
first in the list of DNS servers by your active DHCP server.
Or you might work with /etc/hosts in order to define a few important/static
machines inside the LAN.

I'd suggest not activating IPV6, but configuring IPV4 correctly first.

Ueli


-----Ursprüngliche Nachricht-----
Von: centos-bounces at centos.org [mailto:centos-bounces at centos.org] Im Auftrag
von Thomas Dukes
Gesendet: Freitag, 21. Mai 2010 01:02
An: CentOS
Betreff: [CentOS] Resolv.conf being overwritten

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.

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

TIA

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos