Squid: The Definitive Guide
| < Day Day Up > |
| negative_dns_ttl |
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 time-specification |
| Default | negative_dns_ttl 5 minutes |
| Example | negative_dns_ttl 1 minute |
| Related | positive_dns_ttl |
| < Day Day Up > |