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.
negative_dns_ttl 5 minutes
negative_dns_ttl 1 minute