Re: [squid-users] DNS timeouts - unable to reduce timeout

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 20 Nov 2010 14:29:31 +1300

On 20/11/10 08:41, declanw_at_is.bbc.co.uk wrote:
> Hullo.
>
> I have a squid 3.1.9, which has an acl that needs to know the DNS domain
> name of a target IP (yes, I know it slows things down, but it has to stay)
>
> I have a lot of users viewing Flash streams hosted by Akamai, but Akamai's
> reverse DNS servers for e.g. 83.231.150.45 are currently completely dead.
>
> Squid is taking 90 seconds to give up on the reverse DNS lookup for
> http://83.231.150.45/fcs/ident2 and proceed with making the connection.
> Unfortunately, the Flash Player only seems to wait 30 seconds before it
> declares the content stream broken.
>
> I cannot find a setting to make squid timeout DNS faster.
> I have tried increasing 'negative_dns_ttl', but it didn't seem to have any effect.
> 'dns_timeout 10 seconds' had no effect either, which suprised me.

Ouch. Yes that dns_timeout is the option which should have worked.

>
> The only DNS option I am using is 'dns_nameservers 127.0.0.1' which points
> at a caching BIND. I am not using an external DNS resolver.
>

Bind will also have timeout settings somewhere which can help.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.9
   Beta testers wanted for 3.2.0.3
Received on Sat Nov 20 2010 - 01:29:35 MST

This archive was generated by hypermail 2.2.0 : Sat Nov 20 2010 - 12:00:03 MST