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