Re: [squid-users] cache dns lookup with transparent squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 30 Jan 2004 12:11:50 +0100 (CET)

On Fri, 30 Jan 2004, sword wrote:

> hi,I want to cahce dns lookup with squid,and from squid homepage I konw
> suiqd can do it . but I think squid cache dns lookup only when squid
> configured as a no-transparent cache.

It still caches DNS lookups for it's own use, but when transparently
intercepting the client requests the clients will also make a DNS lookup
before initiating the request, as required for the client to be able to
connect to the requested server.

If you do not want the client to perform DNS lookups then the client MUST
be configured to use the proxy.

> If squid is configured as a transparent cache,client browser will send
> dns request to dns server directly ,After it recieved the reply of the
> dns request, It send http request which could be hijacked by the squid.

Correct.

Regards
Henrik
Received on Fri Jan 30 2004 - 04:12:05 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:09 MST