Web lists-archives.com

Re: [SOLVED] Re: Why does resolv.conf keep changing?




On Wed, Oct 25, 2017 at 02:26:35PM -0400, Roberto C. Sánchez wrote:
OK.  I was able to dig into this I resolved the problem by telling
dhclient to not request the bits of information that would trigger a
change to /etc/resolv.conf

Note that this is *not* reliable, as the server may send the information anyway, and the client will use whatever information it receives. Configuring the hook is a reliable way to prevent the client from ever attempting to set resolv.conf.

Mike Stone