Re: [squid-users] cache_peer / always_direct / subnet

From: Amos Jeffries <>
Date: Sat, 29 May 2010 00:24:13 +1200

Andre Weidner wrote:
> I searched a while, but could not find a solution for my specific
> problem. My local squid ( queries a parent in a data
> centre ( Our DNS-server only has records for
> 'localdomain', external domains cannot be resolved. The problem is,
> that you have to configure the browser (e.g. "No proxy for" in
> Firefox) to bypass the proxy for hosts from localdomain as well as
> IP-addresses from our net ( for access to the
> intranet. In order to make it easier, I created to ACLs
> (local-servers-ip, local-servers-fqdn) and created to 'always_direct'
> policies. Now forwarding requests to local servers works well,
> without the need to seperately configure the browser. However, if i
> request a website (e.g. it takes about a minute before
> the page gets loaded. If i remove the "always_direct allow
> local-servers-ip"-directive, everything gets back to normal speed.
> Any hints on this one?

The dst ACL type requires Squid to resolve the requested domain IP on
each test.


Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Fri May 28 2010 - 12:24:23 MDT

This archive was generated by hypermail 2.2.0 : Mon May 31 2010 - 12:00:07 MDT