Re: [squid-users] Implication of positive_dns_ttl?

This is a discussion on Re: [squid-users] Implication of positive_dns_ttl? within the Squid Users forums, part of the Web Server and Related Forums category; On Fri, 28 Nov 2003, Cafe Admin wrote: > Hi all, > I'm using the default "positive_dns_ttl 6 ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-28-2003
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] Implication of positive_dns_ttl?

On Fri, 28 Nov 2003, Cafe Admin wrote:

> Hi all,
> I'm using the default "positive_dns_ttl 6 hours" in my squid.conf. Does this
> mean that Squid will overide all DNS ttl and cache every successfull DNS
> lookup for at least 6 hours?


If your Squid is not compiled with the default internal DNS client
(--disable-interna-dns not used) then the positive_dns_ttl parameter is
not used at all by Squid. Instead the TTL value given by DNS is used.

There is a patch to make Squid-2.5 use this parameter as a upper limit on
DNS TTL for positive caching.

> Is there a means to force positive DNS lookup to be cached longer than
> the ttl provided by the host domain? Thanks.


If you build Squid with --disable-internal-dns then DNS TTL information
will not be available to Squid and the positive_dns_ttl will be used.

Regards
Henrik

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0