Re: [squid-users] squid 2.6 accelerator mode

From: Pavel Georgiev <neron_at_neron.org>
Date: Tue, 10 Mar 2009 18:20:12 +0200

On Tue, Mar 10, 2009 at 5:04 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Oh well. You will have to leave the http_port at the one that works for you
> then.
>
> As for the dstdomain. I've strted thinking again and recalled why I use
> 'all' in DNS-free configs:
> in squid.conf it refers to "acl all src all" ==> *src*. The IP told to squid
> by the OS when a client connects. You have not redefined it to 'dst' type
> have you? 'dst' requires DNS, 'src' does not.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
>  Current Beta Squid 3.1.0.6
>

I had the following in my config:
acl to_localhost dst 127.0.0.0/8
http_access deny to_localhost

Removing this solves the dns timeouts. Thanks a lot!!

Just FYI when I have http_port defaultsite=..., no dns is required and
Host header is rewritten no matter what.
Received on Tue Mar 10 2009 - 17:37:23 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 10 2009 - 12:00:03 MDT