Web Catalog · established 2011 Full Information About Any website
Straight to the entry
Reference

Nameservers and Delegation Explained: How Authority Descends the Tree, and Why NXDOMAIN Does Not Mean Available

A registered domain can resolve to nothing at all, and most availability checkers report that state exactly as they report a name nobody ever bought.

Resolution layer6 sectionsReviewed 2026-08-26
A tall root form handing a glowing token down a chain to two paired server monoliths standing side by side.

The delegation chain

DNS is a tree, and no single server knows all of it. Resolution works by asking a series of servers which server to ask next. A query for a name under a generic top-level domain begins at the root, which answers with the nameservers for that top-level domain; those answer with the nameservers for the domain; and those finally answer with the record you asked for. Each of those hand-offs is a delegation, and each is expressed as a set of NS records in the zone above.

The important property of this design is that authority is always granted from above. A zone cannot claim authority over itself in any way that a resolver will honour. Whatever a domain's own nameservers assert, the parent's delegation is what sends traffic to them in the first place, and if the parent points somewhere else then that is where everything goes.

Parent and child copies

Because NS records exist both in the parent zone and inside the delegated zone, there are always two copies, and they can disagree. The distinction is worth stating plainly:

Two copies, one authority

CopySet byEffect
Parent delegationThe registry, via the registrarDecides which servers resolvers contact. This is the one that matters.Visible in the whois record and in an RDAP response as the nameserver list.
In-zone NS setWhoever operates the zoneInformational. Should match the parent; when it does not, the parent wins and the mismatch is a latent fault.A stale in-zone set is a common leftover after a provider migration, and it can survive for years without visible symptoms.

The practical rule is to read the delegation from the registry side. A registrar's control panel can show an intended configuration that was never published; a zone can advertise servers it no longer uses. The registry's answer is the only one that describes what is happening.

The undelegated state

Here is the state that causes the most expensive mistakes. A domain can be registered, fully paid, locked against transfer, and have no nameservers whatsoever. Nothing is wrong with the registration. There is simply nothing in the parent zone pointing anywhere, so a resolver asking about the name receives an authoritative answer that the name does not exist.

That answer is NXDOMAIN, and it is identical to the answer for a name nobody has ever registered. Every consequence follows from that identity. Availability checkers that work by resolution report the name as free. Certificate issuance fails, because the challenge cannot be served. Mail bounces permanently rather than deferring. Monitoring reports the host as down rather than misconfigured. And a domain in this state is invisible to anything that does not read the registry directly.

The check that settles it

Resolution answers a different question from registration, so ask both. A registry query, whois or RDAP, tells you whether the name is registered and to whom it is delegated. A DNS query tells you whether that delegation resolves. When the first says "registered, no nameservers" and the second says NXDOMAIN, nothing is broken and nothing is available.

Glue records and the circular problem

If the nameservers for example.com are themselves named ns1.example.com and ns2.example.com, a resolver has a problem: to find the servers it must resolve a name that only those servers can answer for. The parent zone breaks the circle by publishing the servers' addresses alongside the delegation. Those additional address records are glue.

Glue is only ever needed for in-domain nameservers, which is why it has largely disappeared from everyday practice: most domains now delegate to a third-party provider whose nameservers live under the provider's own domain and resolve independently. Where glue does exist it needs to be maintained: a nameserver that moves address and leaves stale glue behind produces intermittent, partially-cached failures that are very hard to diagnose from the outside.

What happens during a change

Changing delegation has two clocks running on it, and conflating them is why "DNS propagation" is usually described so vaguely. The registry clock is short: an update submitted through a registrar typically appears in the parent zone within minutes. The caching clock is long: resolvers that already hold the old delegation are entitled to keep using it until its TTL expires, and the TTL on a top-level domain's delegation is commonly measured in days rather than hours.

There is a second, subtler cache. If the name previously returned NXDOMAIN, that negative answer was also cached, for a period the previous SOA record specified. A newly delegated domain can therefore resolve for some users and not for others, for a while, with nothing at all wrong with the new configuration. Waiting is the fix, and lowering TTLs before a planned move is the way to shorten the wait next time.

Reading a delegation

Three questions, in order. Is the name registered: from the registry, not from resolution. What does the parent delegate it to: from the registry's nameserver list. Does that delegation answer, tested with a DNS query against those specific servers rather than a general lookup. If the first answer is yes and the second is empty, the third question does not apply and NXDOMAIN is the correct result rather than a fault.

For what happens to delegation when a registration lapses, and it is withdrawn well before the name is released, see the domain lifecycle. For the record types the delegation points at, see DNS record types.

Two unlit paired server monoliths with the connecting path severed and fading into nothing.
The undelegated state: registration intact, delegation absent, and every resolver in the world correctly answering that the name does not exist.

Frequently asked questions

What does NXDOMAIN actually mean?

It means the authoritative server for that part of the tree says the name does not exist. It does not mean the domain is unregistered. A registered domain with no nameservers delegated to it produces NXDOMAIN, because there is nothing in the parent zone pointing anywhere, and a resolver has no way to distinguish that from a name nobody ever bought.

Why do the nameservers in the whois record differ from the ones answering?

Because they are two different copies. The parent zone holds the delegation, and the zone itself holds its own NS records. Resolvers follow the parent. A registrar interface, a whois record and a zone can therefore all report something slightly different, and only the parent delegation decides what actually happens.

How long does a nameserver change take?

Two independent delays. The registry usually publishes the new delegation within minutes. The old delegation, however, may be cached at the parent for as long as its TTL allows, commonly a day or two for top-level domains, and cached negative answers persist for as long as the previous SOA permitted. The registry side is fast; the propagation side is not.

Is a glue record still necessary?

Only when the nameservers are inside the domain they serve. If ns1.example.com is authoritative for example.com, a resolver cannot look up the nameserver without first resolving the name it is trying to resolve. The parent breaks that circle by publishing the address alongside the delegation. Using a third-party DNS provider avoids the problem entirely.