[squid-users] forcing squid to use a parent for a domain?

From: Carl Brewer <carl_at_bl.echidna.id.au>
Date: Wed, 24 Dec 2008 08:06:56 +1100

Hello,
I've got a squid 3.0 proxy that I'm trying to force to use an upstream
proxy for a specific domain to get around a path MTU problem that's
proving difficult to fix.

I have the following in my squid.conf :

cache_peer proxy.xxx.yyy.zz parent 8080 7 no-query
no-netdb-exchange no-digest allow-miss
cache_peer_domain proxy.xxx.yyy.zz clients.brokenmtu.com.au
cache_peer_domain proxy.xxx.yyy.zz .brokenmtu.com.au

It worked once :

grep -i brokenmtu access.log
1230018675.341 310 10.0.0.2 TCP_MISS/200 9480 GET
http://clients.brokenmtu.com.au/ - FIRST_UP_PARENT/proxy.xxx.yyy.zz
text/html

And then went direct and has been going direct ever since, and thus not
working :

1230019575.025 899821 10.0.0.2 TCP_MISS/504 2538 GET
http://clients.brokenmtu.com.au/lib/func_js.js - DIRECT/x.x.x.x text/html

I've misunderstood the doco for cache_peer I think, how can I force my
squid to always go via this other proxy for this domain?

thankyou

Carl
Received on Tue Dec 23 2008 - 21:07:16 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 24 2008 - 12:00:03 MST