Re: [squid-users] Transparent squid ignores client-side /etc/hosts

From: Alex Vorona <voron@dont-contact.us>
Date: Wed, 14 Nov 2007 07:11:39 +0200

Henrik Nordstrom wrote:
> On tis, 2007-11-13 at 20:09 +0900, Adrian Chadd wrote:
>
>
>> I thought about that - do the DNS lookup, see if the IP the client is connecting
>> to is in the returned DNS set Squid would try to connect to, and cache the content
>> if it is.
>>
>> It only works if the site returns multiple A records for the URI host; it
>> won't work for sites which do GSLB type tricks to reply with different IPs
>> based on "stuff" (load balancing, geographic/topological distribution, etc.)
>>
>
> Also it requires a DNS Lookup before consulting the cache.
>
>
This DNS Lookup may be cached in squid DNS cache :)

Regrads,
Alex
Received on Tue Nov 13 2007 - 22:11:50 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST