Re: [squid-users] Does any cache in a proxy chain but the last one need to resolve URLs?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 29 Apr 2011 01:32:48 +1200

On 28/04/11 21:25, Jannis Kafkoulas wrote:
> Hi,
>
> We have a proxy chain of 3 squids (v2.7, RHEL5).
> In my opinion only the last one needs really to resolve the URLs name in order
> to
>
> send the request directly to the web servers ip address in the Internet.
>

Sort of, only the proxy going DIRECT *has* to resolve an IP.

For chains which end with the last peer being the origin web service IP
there is no DNS resolution at all.

> Would it also work if the first two proxies wouldn't resolve?
> And how can that be prevented?

* Configure cache_peer using IP address of the peer
* check that no ACL tests requires resolution
* check that extra component like loggign and adaptation doe not require
DNS. (avoid logging rDNS of the client or IP of the website for example)

That is all.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Thu Apr 28 2011 - 13:32:53 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 28 2011 - 12:00:03 MDT