On 10/23/11 00:08, Jan Stary wrote:
On Oct 22 04:41:56, Philippe Meunier wrote:
Kenneth R Westerback wrote:
If you are using dhclient, then /etc/resolv.conf is not really a
configuration file.

Unless your machine runs its own DNS server.

Just out of curiosity, what would be an example
situation for using a machine that simultaneously

(1) acts as a name-server for others
(2) gets its network settings dynamicaly reconfigured


The gateways on my local internet connection. Since the gateway itself gets its ip and nameserver config via dhcp I cannot simply pass that on via dhcpd.conf but instead I set up a local caching nameserver for the internal network.

That said, I had to confirm my suspicion by finding this last line in dhclient.conf:

  prepend domain-name-servers 127.0.0.1;

with prepend instead of supersede, just in case.

/Alexander

Reply via email to