Setting Up Local Caching DNS

Derek Martin invalid at pizzashack.org
Thu Nov 4 20:14:09 EST 2004


On Thu, Nov 04, 2004 at 12:12:46PM -0500, trlists at clayst.com wrote:
> I have named set up now with the files shown below, which I got from 
> somewhere as a caching configuration.  I understood them when I 
> installed them, and they seemed right, but as time goes on I'm not at 
> all clear that the caching is working.  
[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.  If
your ISP's DNS servers respond slowly (this has been a problem in the
past with MediaOne/AT&T/Comcast) it could introuce unnecessary delays.
If you leave them in, you may as well just use your ISP's servers in
the first place.

Other than that, everything looks fine.  Don't forget that your name
server will need to query again after any given domain expires from
the cache.  The TTL value controls how long that is, and it is set by
the people running the domain, and not controllable by you.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20041105/cae8d8b9/attachment.sig>


More information about the Discuss mailing list