Re: Is resolv.conf essential?
On Fri, Dec 05, 2003 at 03:37:39PM +0000, Anthony Campbell wrote:
> > The author of that page assumes that every machine is always running a
> > nameserver. This is, of course, not true.
During the recent Verisign debacle I installed dnsmasq. I made the
following change to /etc/dhclient-script:
echo search $new_domain_name >/etc/resolv-up.conf
echo search $new_domain_name >/etc/resolv.conf
for nameserver in $new_domain_name_servers; do
echo nameserver $nameserver >>/etc/resolv-up.conf # <<- here
echo nameserver 127.0.0.1 >>/etc/resolv.conf ## <<<- here
This way I get dns-caching, which otherwise I think the upstream DNS
server is queried for every DNS request, which would suck over dialup.
Is this correct?