Hi,

How can I configure squid (direct proxy) to redirect to another parent
proxy only if requested url hostname DNS resolves to  a particular
network (for example 125.0.0.0/32).

With

cache_peer PARENT-PROXY-IP parent 3128 0 proxy-only no-query

all requested client url are redirected to PARENT-PROXY:3128

Example
If requested url is http://www.fujitsu.com and
www.fujitsu.com solve to 125.x.y.z  how to tell squid to use cache_peer
and never use it when requested url does not belong to 125.0.0.0/32 IP range.

 


Reply via email to