Re[4]: [squid-users] reverse DNS by squid when using parent proxy

From: Colin Campbell <[email protected]>
Date: Mon, 18 Feb 2002 08:58:41 +1000 (EST)

Hi,

On Sun, 17 Feb 2002, Cliff wrote:

> Squid seems to be 100% transparent whether I use the direct
> ip addy or my 2 fake internal domain names.
>
> But I enable cache_peer - I lose the ability to hit the
> local webserver at 192.168.1.222 (bigdipper.milkyway.hom)
> and 192.168.2.222 (bigdipper.antares.hom) directly by ip addy.
> Yet canonical name still proxys just fine from both networks.
>
> Disable cache_peer and restart squid - everything is fine again.
>
> I have not enabled always_direct.
> I have not enabled never_direct.

You must. You need something like:

acl bigmilky dstdomain .milkyway.hom
acl bigantares dstdomain .antares.hom

always_direct allow bigmilky
always_direct allow bigantares
never_direct allow all

That will cause your squid to go direct to any servers in the milkyway.hom
or antares.hom domains and go via your parent for anything else.

Colin
Received on Sun Feb 17 2002 - 15:58:49 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:25 MST