[squid-dev] Removing DNS lookups in intercept mode by using client dest IP address

johndunne imirish at alldunne.com
Thu May 21 12:00:22 UTC 2015


Hi,

I'm running squid 3.5.4 on a network which caches http and https traffic via
a tproxy redirect on a linux box. The setup runs perfectly, except that a
slight lag is introduced owing to the squid service making DNS lookups for
many of the requests it receives via http and https.

Now, I'm considering patching squid such that it auto adds the destination
IP address of the client connection to its own dns cache, for the hostname
that appears in the http header of that connection. I think this is safe
since the connection is redirected via tproxy i.e. I know that the client
machine got that IP address for the hostname in the HTTP/HTTPS request.

Assuming my logic here isn't flawed, does anyone know if this is sensible
and if any such work has already been done?

Many thanks,
John. 



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Removing-DNS-lookups-in-intercept-mode-by-using-client-dest-IP-address-tp4671335.html
Sent from the Squid - Development mailing list archive at Nabble.com.


More information about the squid-dev mailing list