Re: [squid-users] round robin DNS and the occassional failing IP.

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 24 Feb 2008 09:53:23 +0900

That sounds plausable. I'm surprised it isn't doing that already.
Throw it into a bugzilla report so it isn't forgotten.

Adrian

On Sun, Feb 24, 2008, Tim Connors wrote:
> I am having trouble on two machines on two completely different networks,
> both using squid -- for months now, a reasonably portion of the time,
> squid fails to get through to google.com.au for the first minute. A
> tcpdump revealed that it was failing when trying to contact the same
> 72.14.203.104 host. After a minute, squid would try the next host in the
> cached DNS result. Since both machines have 4 addresses in their cached
> result of google.com.au, and both included 72.14.203.104, one in 4
> searches would take a minute to get a result.
>
> In the event that a hostname resolves to n>1 IPs, and one or more of them
> m<=n-1 are timing out (or connection refused and certain other error
> conditions), I think squid should cache this result for a configurable
> time (of the order of days or until a restart, or until DNS has
> refreshed its list of IPs for that host), and then not try that IP
> again until it has exhausted its supply of IPs corresponding to this name.
>
> Have I perhaps missed this setting, or am misunderstanding something that
> would make this not work?
>
> --
> Tim Connors

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Sat Feb 23 2008 - 17:40:00 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST