Re: Why automatic tools can change /etc/resolv.conf?
>>>>> "Michele" == Michele Dalla Silvestra <firstname.lastname@example.org> writes:
Michele> But is correct that an application change /etc/resolv.conf
Michele> even if the administrator write it entirely by hand?
Both pppd and dhclient can receive information about available DNS
servers, and they will try to make that available to other
applications (by adapting /etc/resolv.conf).
Pppd is even nice enough to revert to the original file after
Michele> How can I prevent it?
For pppd, the answer has already been mentioned. If you want to
prevent dhclient from changing /etc/resolv.conf, create a file
/etc/dhclient-enter-hooks with the following contents (it should be
# redefine the function which changes resolv.conf to do nothing
G. ``Iggy'' Geens - ICQ: #64109250
Home: <email@example.com> - Work: <firstname.lastname@example.org>
`I want quality, not quantity. But I want lots of it!'