Search squid archive

Re: Cannot select peer when request is IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 1 Dec 2013, Amos Jeffries wrote:
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?

-n was added later in an attempt to get it working. The problem still occurs without -n.

--
Stephen




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux