Summary

  • RFC 9520 updates RFC 2308 so that caching of DNS resolution failures, previously optional, becomes required, covering SERVFAIL, REFUSED, timeouts, unreachable servers, delegation loops, alias loops, DNSSEC validation failures and FORMERR.
  • Resolvers MUST keep a failure cache and MUST NOT re-send a query covered by it; failures MUST be cached for at least 1 second and MUST NOT be cached for longer than 5 minutes.

The definition doing the work is "useful response": data, a referral, or a statement that nothing exists. Anything else is failure, and failure now has a lifetime.

One second is the floor because a broken name server should not be asked a thousand times in the same second, and five minutes is the ceiling because a fix should not wait longer than that to be believed.