One NXDOMAIN response does not deny a name. It denies a branch. That is the entire content of RFC 8020, “NXDOMAIN: There Really Is Nothing Underneath,” published by the IETF in June 2016 — a rule the DNS tree had been implying since 1987 and nobody had bothered to write down. One denial retires every name beneath it. For a resolver’s negative cache, that is a windfall. For anything living under the denied name, it is a guillotine.

DNS is a tree, and trees obey one brutal rule: cut the trunk and the branch goes with it. RFC 8020 simply told the resolver it was allowed to notice.

What RFC 8020 Actually Says About NXDOMAIN

The document is short. The claim is not. When a resolver receives an NXDOMAIN response for a name, that name does not exist — and neither does any name beneath it. Written by Stéphane Bortzmeyer, Shumon Huque, David Lawrence and Paul Vixie, RFC 8020 clarifies RFC 1034, the 1987 specification that described the domain name tree, and updates RFC 2308, the 1998 specification for negative caching.

Why it needed saying: RFC 1034 described a hierarchy, and RFC 2308 described how to cache a “no” — but neither spelled out whether a “no” at one node was a “no” for the whole subtree. Implementations disagreed. Some resolvers inferred the subtree and stopped asking; others kept querying names that could not possibly exist. RFC 8020 ended the argument by picking the interpretation the tree structure already forced.

Empty Non-Terminals: The One Name That Survives

There is a single, sharp exception, and it is why the rule has to be stated precisely. A name with no records of its own but with descendants that do have records is an empty non-terminal. It exists. It must answer NODATA, not NXDOMAIN.

Under RFC 8020 that distinction stops being pedantry and becomes load-bearing. Return NXDOMAIN for an empty non-terminal and you have not merely mislabelled one quiet name — you have declared the entire subtree beneath it empty, and a resolver that believes you will never come back to check.

Negative Caching Gets Teeth — and RFC 8198 Extends Its Reach

Read conservatively, a negative cache entry used to buy you one name. RFC 8020 made the aggressive reading the correct one: the entry buys the whole branch. The timer is the negative TTL, derived from the zone’s SOA MINIMUM, and for the life of that timer the resolver can answer every query below the denied name from memory, without touching the wire.

The arithmetic is the point. One response retires an unbounded number of future questions. A resolver that once spent its day asking about names that were never going to exist now answers them locally, instantly, for free.

Then RFC 8198, “Aggressive Use of DNSSEC-Validated Cache,” pushed further in 2017. With signed denial-of-existence records — NSEC and NSEC3 — a validating resolver can synthesise NXDOMAIN for names it was never asked about, because the cryptographic proof covers the gap. RFC 8020 established that the branch is empty. RFC 8198 lets the resolver say so before anyone knocks.

The NXDOMAIN Cut: How One Denial Severs a Live Zone

Every efficiency has a bill, and this one is paid by whoever lives below the cut.

The classic failure is a broken delegation. A parent zone is supposed to carry NS records — and, where required, glue — pointing at the child zone’s nameservers. Get that wrong, or lose it in a migration, and the parent answers NXDOMAIN for a name that is in fact delegated. The resolver believes it. Under RFC 8020 it believes it about everything underneath. The child zone — its web servers, its mail exchangers, its API endpoints, its entire namespace — goes dark, and the resolver has no reason to look further, because it has already been told there is nothing there.

Operators call this an NXDOMAIN cut: a single denial that severs the tree at that point and hides everything below it.

QNAME minimisation makes the cut sharper. A resolver walking the tree one label at a time — the practice standardised in RFC 9156 — hits the break earlier and stops sooner. Efficient when the answer is right. Total when it is wrong.

DNSSEC does not rescue you. It notarises the mistake. NSEC and NSEC3 turn “this name is absent” into a signed, cryptographically provable statement, and when the signer is wrong the proof of absence is wrong with a seal on it. A wrong denial is expensive. A wrong denial with a signature is a fact.

Who Carries the Cost of a Wrong Denial

Follow the asymmetry. The resolver saves work. The parent zone never learns it was wrong. The owner of the deeper name loses reachability. The evidence for any of it is a single response that nobody kept.

This is the quiet structural point beneath the protocol argument. A DNS zone is a registry, and a denial is a record about absence. As Lu Heng puts it in his Note on uniqueness coordination: “A registry record describes reality. It does not create it.” An NXDOMAIN is supposed to describe an empty branch. When it is wrong, the record wins anyway — because the resolver never asks again, and the branch stays dark until the negative TTL runs out and somebody, somewhere, tries once more.

What Operators Should Check Before Saying NXDOMAIN

Audit the delegation, not just the zone

Most NXDOMAIN cuts are born in the parent. Verify that every zone cut has working NS records and, where required, glue. A child zone that resolves perfectly from inside its own authoritative servers proves nothing about what the rest of the world can see.

Never return NXDOMAIN for an empty non-terminal

If a name has descendants, it exists. Answer NODATA. The RFC 8020 inference is only safe because this rule holds.

Treat the negative TTL as a blast radius

The SOA MINIMUM governs how long a wrong denial survives in caches you do not control. A long negative TTL is a long outage if the answer was wrong.

Be careful with online signing

Minimally covering NSEC records (RFC 4470) let an authoritative server answer without leaking the zone’s real contents. They are safe only if the operator is certain nothing exists below the name being denied — because the denial, once signed, covers the subtree too.

Do not rewrite NXDOMAIN into a search page

Middleboxes that turn NXDOMAIN into advertising break the inference, break DNSSEC validation, and teach users that a “no” is negotiable. It is not.

The Verdict

RFC 8020 did not invent a rule. It noticed that the tree already had one, and it made resolvers act on it. The result is a namespace that is faster, quieter and considerably less forgiving: one answer, one branch, one verdict, cached until the timer runs out.

Which is why the most dangerous phrase in DNS is not “server failure.” It is “does not exist” — spoken once, believed everywhere, and covering everything underneath.