Name
negative_dns_ttl
Synopsis
This is similar to positive_dns_ttl, except that it applies only to failed DNS queries. That is, when Squid receives an error for a DNS lookup, it negatively caches the error for this amount of time. It doesn’t retry the query until the negative TTL expires. This applies to both internal and external DNS implementation choices.
Syntax | negative_dns_ttl |
Default | negative_dns_ttl 5 minutes |
Example | negative_dns_ttl 1 minute |
Related | positive_dns_ttl |
Get Squid: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.