[squid-dev] [PATCH] Retry cache peer DNS failures more frequently

Nathan Hoad nathan at getoffmalawn.com
Tue May 10 02:41:35 UTC 2016


Hello,

Attached is a patch which makes Squid attempt to resolve failed DNS lookups
for cache peers more frequently than an hour. It's user configurable, with
a default of one minute.

As the patch preamble states, this is necessary for setups where all
traffic is forwarded to a cache peer, as a failed DNS lookup will result in
users being unable to access the web until it is resolved successfully.

I'm not convinced the configuration option (cache_peer_negative_dns_ttl) is
the best name, so I'm happy to take suggestions here.

Thank you,

Nathan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160510/0f3da975/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: retry-failed-peers.patch
Type: text/x-patch
Size: 2800 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160510/0f3da975/attachment.bin>


More information about the squid-dev mailing list