[squid-users] Force squid use dns query result as the destination server in squid tproxy

From: Ge Jin <altman87120_at_gmail.com>
Date: Wed, 25 Dec 2013 16:12:01 +0800

Hi, all!

We use squid with tproxy for caching. As our special construct,
our client origin destination is useless for getting the right
response. So if there is any workaround, can we force squid use the
Host header query result as the origin destination server address for
fetch response. Here is the log I get

1387958630.972 7142 192.168.1.13 TCP_MISS/503 3817 GET
http://www.yahoo.com/ - HIER_DIRECT/192.168.134.32 text/html
 #
"HIER_DIRECT/192.168.134.32" is the right destination server address.

And I search this
http://www.mail-archive.com/squid-users@squid-cache.org/msg92356.html
and it's the revserse side of my situation, and I tried
client_dst_passthru off and seems no help.

Does anyone here can help ?
Received on Wed Dec 25 2013 - 08:12:07 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 25 2013 - 12:00:05 MST