[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DNS and resolv.conf



> Andrew Schulman writes:
> > So the question then becomes, how to get your DHCP client to put the
> > names of the DNS servers into resolv.conf.  The simplest way to do this
> > is to install the resolvconf package.
> 
> The simplest way to do this is to choose "Dynamic" in the "Configure
> Nameservers" screen in pppconfig.  This will enable a script which will get
> the nameserver IPs and write them to /etc/resolv.conf every time the
> connection comes up.

Hm, okay.  I didn't know about that.  Both methods sound pretty simple.

A good thing about resolvconf is that it will continue to mediate in more
complex arrangements, e.g. if one installs dnsmasq as a forwarding DNS
server for the LAN.



Reply to: