[CentOS] resolv.conf rewritten every reboot. How to figure out who and why?
spiro at knossos.net.nz
Thu Oct 8 19:49:55 UTC 2009
> about dhcpclient. The only package I have installed that shows up in
It's called "dhclient", so searching for "dhcp" won't give you a hit on
chkconfig for dhclient too, and see what that results.
Also, look at /etc/sysconfig/network-scripts/ifcfg-eth0.
It's possible to have addresses "statically" assigned via DHCP based on
MAC addresses. If resolv.conf is getting populated by dhclient, then
I'm guessing the odds of you having a dhcp server on your network is
In all likelihood, you have a static IP assigned in your ifcfg-eth0,
and the resolv.conf is being over-written by dhclient.
Spiro Harvey Knossos Networks Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: not available
More information about the CentOS