I think I found the answer to my first question "How do I tell whether it was compiled with the --disable-internal-dns option?" Typing squid -v at the prompt tells me the squid version in addition to the compile options. --disable-internal-dns is not listed so I assume the binary was not compiled with it. Please tell me if I'm looking at the wrong place.
My other questions remain to be answered: Where can I find the patch (and instruction on how to apply the patch) to force squid to cache positive dns longer? Can I apply the patch to my current RPM binary? Thanks. -----Original Message----- From: Cafe Admin [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 8:19 PM To: [EMAIL PROTECTED] Subject: RE: [squid-users] Implication of positive_dns_ttl? Thanks Henrik. I'm using Squid 2.5.Stable3 RPM for RH9. How do I tell whether it was compiled with the --disable-internal-dns option? Also, where can I find the patch (and instruction on how to apply the patch) to force squid to cache positive dns longer. Can I apply the patch to my current RPM binary? Excuse my ignorance; I'm still learning my way around with Squid and Linux. Thanks. -----Original Message----- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 4:44 PM To: Cafe Admin Cc: [EMAIL PROTECTED] Subject: 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