Setting Up Local Caching DNS

trlists at clayst.com trlists at clayst.com
Fri Nov 5 09:15:43 EST 2004


On 5 Nov 2004 Derek Martin wrote:

> [SNIP]
> >      options {
> >              directory "/var/named";
> >              forward first;
> >              forwarders {
> >                 ..... < DNS addresses for my ISP here>
> 
> I personally would get rid of the forwarders options...  These tell
> your server to always ask your ISP's name servers for DNS queries.  

OK, I thought this told it to use the ISP's servers if the domain was 
not in the cache.  Are you saying it tells it to use them all the time?

Re your other question, resolv.conf merely lists the IP addresses of 
the ISP's nameservers.

My sense was that resolv.conf was only used for DNS lookups from the 
local machine, which in this case is my firewall.  So having the ISP's 
nameservers listed in resolv.conf will not affect lookups done by 
another machine on the net that connects to the firewall's DNS on port 
53 and goes through named, it only affects those done on the firewall 
itself.  Is that correct?  Or is named also referencing resolv.conf?

Thanks,

--
Tom






More information about the Discuss mailing list