Search squid archive

Re: DNS timeouts - unable to reduce timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/11/10 08:41, declanw@xxxxxxxxxxxx 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux