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

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

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.

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.

Confused.

DW
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