Summary

  • RFC 8020 states plainly what the DNS had been mumbling for years: when a resolver receives NXDOMAIN, the queried name does not exist and neither does anything beneath it.
  • Published in October 2016 by Stéphane Bortzmeyer and Mark Huque, it clarifies RFC 1034 and updates RFC 2308, closing the argument over how far a negative answer reaches.
  • The consequence is a power worth noticing: one cached NXDOMAIN answers for an entire subtree, for the length of the TTL, without asking anyone again.

Positive answers are retail. Negative answers are wholesale: one response, one branch, one price, no appeals.

That is the entire content of RFC 8020, published in October 2016 by Stéphane Bortzmeyer and Mark Huque under a title that gives away the ending: NXDOMAIN: There Really Is Nothing Underneath. When a resolver gets NXDOMAIN for a name, the name does not exist and nothing below it exists either. Not "probably not." Not "not as far as this server is concerned." Nothing underneath, full stop.

A question the DNS left open for three decades

RFC 1034, the 1987 document that taught the Internet how to think about domain names, described the resolution algorithm in detail and left one thing vague: how far a negative answer reaches. RFC 2308, a decade later, set out to nail down negative caching and left enough room for interpretation that implementations went their separate ways. Some resolvers treated NXDOMAIN as a statement about one name. Others treated it as a statement about a branch. Both behaved reasonably. Both were in production.

RFC 8020 picks the branch. The NXDOMAIN cut is total: deny the parent and you have denied everything under it. The document clarifies RFC 1034 and updates RFC 2308 to say so without the hedge.

Why resolvers care: the best deal in the protocol

Caching a negative answer is the cheapest work a resolver ever does. One NXDOMAIN, held for the negative TTL, and every subsequent query for every name underneath is answered locally. No upstream lookup, no latency, no load. The branch is not merely missing; it is missing in advance, for everyone, until the clock runs out.

That asymmetry is the point. A positive answer is a fact about one name. A negative answer is a fact about an unbounded set of names, most of which nobody has asked about yet and some of which may not have been invented. The zone operator writes it once. The resolver stores it. Every client underneath inherits the absence whether or not it asked, whether or not it agrees, and whether or not the name it wanted was ever going to exist.

The operator even sets the duration. Under RFC 2308's negative-caching rules, the SOA minimum field decides how long the absence is allowed to sit in caches — which makes the SOA record the closest thing the DNS has to a sentence length.

The bill comes due in the zone file

Which is why RFC 8020 is really a document about consistency, and why its most attentive readers should be the people who run zones rather than the people who run resolvers. If a name does not exist, nothing under it can exist. A zone cannot have a hole with a house in it.

The classic trap is the empty non-terminal. A name with children exists, even if it owns no records of its own. example.com with only a.example.com defined is not a name that fails to exist; it is a name that exists and holds nothing, and the correct answer for it is NODATA, not NXDOMAIN. Get that wrong and you have just told the world that a.example.com is gone too — and the world will believe you, for the length of the TTL, in every resolver that heard you.

Signed zones had already been paying this bill. An NSEC record that proves a name absent also proves the space beneath it empty, because in DNSSEC's canonical ordering every descendant sorts immediately after its parent. The signed world had been enforcing the cut for years while the unsigned world argued about it. RFC 8020 made the argument moot.

The smallest act of authority on the Internet

Strip the protocol away and the shape is familiar. Somebody upstream makes a declaration of absence. The declaration is cheap to issue, cheap to copy, and expensive to get wrong. It binds everyone downstream automatically. It arrives without being requested. It expires, which is the one mercy the design allows.

Registries spend a great deal of energy insisting that a record describes reality rather than creates it. The negative answer is the exception that shows how much the rest of the system depends on the rule. Here the record does create reality — for a subtree, for a TTL, for anyone who asks — and the only thing standing between a provisioning bug and a vanished branch is the operator's willingness to keep the tree honest.

RFC 8020 did not invent that power. It wrote down how far it reaches, which is the least a bookkeeper can do.