Re: [squid-users] Squid's resolver question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 29 Mar 2002 11:40:54 +0100

positive_dns_reply is only used when using the "dnsserver" resolver, and
only because this cannot tell the actual dns record TTL set by DNS.

The internal DNS resolver always used the TTL provided by DNS.

Regards
Henrik Nordström
Squid Developer

jcarminati@pluspetrol.com.ar wrote:
>
> Hi Squid-hackers!
>
> I'd like a clarification regarding squid's dns resolver.
>
> I'm running latest RedHat RPM Squid version, and had set 'positive_dns_ttl
> 2 hours' in my squid.conf. I made some tests and sniffed port 53 with
> tcpdump.
>
> As I understand Squid should cache a positive results for 2 hours, but
> instead if I open a page (for ex. cnn.com) and a couple of minutes later
> open it again, I'll see that Squid is querying again my ISP DNS servers,
> why this ?, I made different kind of tests and always got the same results.
>
> Thanks in advance,
> Jorge Carminati.
Received on Fri Mar 29 2002 - 04:23:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:12 MST