Re: [squid-users] Cannot select peer when request is IP address

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 01 Dec 2013 01:57:30 +1300

On 30/11/2013 5:03 a.m., Stephen Borrill wrote:
> I've found a problem with selecting a parent cache if the request is an
> IP address. Tested with various versions including 3.3.10. Example
> config fragment is below:
>
> cache_peer 192.168.1.143 parent 3128 0 no-query no-digest default name=prox1
> cache_peer 192.168.1.144 parent 3128 0 no-query no-digest name=prox2
> never_direct allow all
> acl domlist dstdomain -n .bbc.co.uk

"-n" means do not use DNS when evaluating the dstdomain against a
raw_IP. One guess what requesting http://123.234.123.234/ does?

Amos
Received on Sat Nov 30 2013 - 12:57:39 MST

This archive was generated by hypermail 2.2.0 : Sat Nov 30 2013 - 12:00:05 MST