[CentOS] resolv.conf rewritten every reboot. How to figure out who and why?

Marcus Moeller mail at marcus-moeller.de
Fri Oct 9 13:25:58 UTC 2009


Hi,

> One option would be to comment out the make_resolv_conf()  function in
> /sbin/dhclient-script.

btw. a more common way would be to create a /etc/dhclient-enter-hooks



with the following content:


make_resolv_conf(){

       :

}


Best Regards
Marcus



More information about the CentOS mailing list