Re: [squid-users] DNS + parent + redirect

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 5 Jan 2004 08:43:48 -0700 (MST)

On Mon, 5 Jan 2004, Elton S. Fenner wrote:

> Hi All
>
> First I want to thank you. With your help I put a Squid box working just
> fine.
>
> But i'm missing something.
>
> Let me tell you what's going on.
>
> I put SquidGuard with squid. SquidGuard is blocking some sites and
> replacing some banners, I tell squiGuard to redirect to
> http://myintranet/proxy.htm and http://myintranet/banner.htm
> respectivelly.
>
> Squid gets to internet via a parent proxy.
>
> When squidGuard should replace some banner or display the advise page
> (proxy.htm) i get an DNS error page from parent proxy.
>
> The parent proxy does not know my local addresses.
>
> I think the parent proxy is trying to resolv DNS names, but my squid box
> should not do this?
>
> There is something i can do to say to my squid box solve my local
> adresses?
> This should not be the default behavior?
> Why the parent proxy returns the DNS error while my proxy knows the
> address?

Sounds like you need to tell your Squid that the "myintranet" requests
should not be sent to the parent. Maybe like this:

    acl MyIntranet dstdomain myintranet
    always_direct MyIntranet

Duane W.
Received on Mon Jan 05 2004 - 08:43:48 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:03 MST