serve-stale

term

networkingISP & telecom

Kept in this browser · My desk

A resolver behaviour, standardized in RFC 8767, of answering from expired cache data when the authoritative servers for a name cannot be reached.

It keeps names resolving through an outage of their authoritative servers, and it also keeps clients on the last answer they were given, healthy or not. RFC 8767 sets the TTL of a stale answer to a value greater than 0, recommending 30 seconds, and suggests keeping expired records for between 1 and 3 days.

Timers. RFC 8767 (March 2020, Proposed Standard) adds a client response timer, after which a resolver still waiting on the authoritative servers may answer from stale data, with 1.8 seconds recommended as just under a common client timeout of 2 seconds, and a maximum stale timer that caps how long expired records are kept. TTL cap. The same RFC amends the definition of the TTL to recommend a cap of 604,800 seconds, 7 days, instead of the 68 years that RFC 2181 allows. Interaction with failover. A global load balancer whose own name servers fail leaves resolvers that serve stale sending clients to whatever site the last answer named. Negative answers. RFC 2308 caches the absence of a name for the smaller of the SOA MINIMUM field and the SOA TTL, so a global load balancer that answers NXDOMAIN during a failure has that answer remembered too.

Also known as: serve stale, serving stale data, stale answers, respostas vencidas

← Back to S Back to the glossary