Re: [squid-users] WHERE does Squid cache DNS lookups?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 26 Jul 2004 08:30:52 +0200 (CEST)

On Fri, 25 Jun 2004, dravya wrote:

> When Squid does a DNS lookup, where does it save the cached entries? I know you can
> specify how many entries you want it to save but where does it actually save it on disk?

In memory only.

It relies on the DNS server for more long-term caching of DNS just as is
the case for all other applications (browsers etc..).

> In fact how does squid do DNS lookups? Squid is listening on port 3128 and a DNS lookup
> sends a udp packet on port 53. How does squid intercept such a lookup?

It does not.

In transparent caching both the browser and Squid makes a DNS lookup
asking your DNS server about the IP address of the requested site.

Regards
Henrik
Received on Mon Jul 26 2004 - 00:30:55 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT