Re: why does resolv.conf change?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Camaleón wrote:
> On Thu, 18 Mar 2010 16:53:20 +0100, Clive McBarton wrote:
>
>> My /etc/resolv.conf gets overwritten periodically. Any ideas why?
>
> Maybe because you are using a DHCP setup?
Yes.
> http://wiki.debian.org/NetworkConfiguration#Definingthe.28DNS.29Nameservers
That explains how the resolvconf program and network-manager can change
/etc/resolv.conf. But I carefully deinstalled resolvconf and
network-manager.
> The C library and other resolver libraries look to /etc/resolv.conf for a
> list of nameservers. In the simplest case, that is the file to edit to
> set the list of name servers. *But note that various other programs for
> dynamic configuration will be happy to overwrite your settings:*
>
> 1. The resolvconf program
> 2. The network-manager daemon
> 3. DHCP clients
I assume that means dhcpd. How do I stop it from changing resolv.conf?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuilpQACgkQ+VSRxYk4408jLQCfbWFv/upLvbRvJdVG8LYI1Dd4
TuQAnRdODQoZ2bdtFByULy9COK3TDqYP
=3uRE
-----END PGP SIGNATURE-----
Reply to: