Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2006 13:53:02 -0700
From:      Lyndon Nerenberg <lyndon@orthanc.ca>
To:        Ulrich Spoerlein <spoerlein@googlemail.com>
Cc:        stable@freebsd.org
Subject:   Re: resolver doesn't see resolv.conf changes
Message-ID:  <CF27CE4D-0770-400C-9704-6742F875C183@orthanc.ca>
In-Reply-To: <20060408083955.GA1041@roadrunner.q.local>
References:  <20060405152718.GA1003@roadrunner.q.local> <20060406153938.C78654@orthanc.ca> <20060408083955.GA1041@roadrunner.q.local>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 8, 2006, at 1:39 AM, Ulrich Spoerlein wrote:

> Good idea, but this defeates the hierarchical purpose of DNS. Now my
> caching DNS is always querying the root DNS servers.

That's how the DNS works.  You query the root once for the TLD, then  
cache the NS records for the TLD's servers, point one level down, and  
repeat until you find the target.

> And there might be ISPs who disallow outgoing DNS connections to
> somewhere else than their own DNS servers.

In my experience, these are few and far between.

> Additionally, when jacking into someone else's LAN, I usually want to
> use their local DNS servers, to resolve local names.

And sites running split-DNS are also rare.

But worry not: dhclient can deal with these, too.  A quick perusal of  
dhclient.conf(5) turns up the "prepend" and "append" modifiers.   
Choose whichever best implements your preferred policy.

The two scenarios you describe are rare enough that it's not worth  
writing glue to fudge up forwarders entries in named.conf and the  
associated headaches.  Or, you could port nscd over from Solaris.

--lyndon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF27CE4D-0770-400C-9704-6742F875C183>