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

From: <declanw_at_is.bbc.co.uk>
Date: Fri, 19 Nov 2010 19:41:17 +0000


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. are currently completely dead.

Squid is taking 90 seconds to give up on the reverse DNS lookup for 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.

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


Received on Fri Nov 19 2010 - 19:41:21 MST

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