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
