cache_peer_domain?

From: Matthew Lowe <[email protected]>
Date: Mon, 29 May 2000 18:36:58 +1000

I'm having problems getting cache_peer_domain to work correctly.

What I have is -

One proxy(proxy1) that is on one link a second proxy (proxy2)that has
another link. Users all user proxy1 but I want there requests for xyz.com
going to the other box.

cache_peer proxy2 sibling 8080 0 no-query
cache_peer_domain proxy2 .xyz.com

This send the request to proxy2 but I get this in proxy2 logs -

959588754.846 2689 10.0.12.1 TCP_MISS/200 21906 GET
http://www.squid-cache.org/Doc/FAQ/FAQ-4.html - DIRECT/www.squid-cache.org
text/html

And proxy1 seems to do the file transfer - this isnt what I want, what have
I done wrong?

959589182.883 2910 10.0.12.1 TCP_MISS/200 584 GET
http://www.ozemail.com.au/ozhp_style.css - DIRECT/www.ozemail.com.au text/plain
959589186.538 29 10.0.12.1 TCP_HIT/200 3015 GET
http://www.ozemail.com.au/bin2/images/ozlogo.GIF - NONE/- image/gif
959589186.649 56 10.0.12.1 TCP_HIT/200 873 GET
http://www.ozemail.com.au/bin2/images/topnav_joinnow.gif - NONE/- image/gif
959589187.883 1689 10.0.12.1 TCP_MISS/200 1102 GET
http://www.ozemail.com.au/bin2/images/spacer_transparent.gif -
DIRECT/www.ozemail.com.au image/gif

So basically proxy1 checks proxy2 it doesnt have it so I assume proxy1 is
getting the file, when i really want proxy2 to grab it down the other link.
Any ideas?

Regards
matt

-----------------------------------------------------------------
Matthew Lowe - Senior Network Admin
Dataline Networks
business: hostmaster@dataline.net.au
personal: mlowe@dataline.net.au
Received on Mon May 29 2000 - 02:50:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:35 MST