Delegation Consistency: Nameserver Typos and Takeover

What This Check Does

Every domain has its nameservers listed in two places. The registry for your top-level domain holds the delegation: the NS records that tell the rest of the internet where to send queries for your domain. Your own zone, at your DNS host, holds a second copy of the same list. They are edited in different places, by different people, often years apart.

The Delegation Consistency check reads the delegation directly from the parent zone and compares it with the NS records in your zone. It then looks at every nameserver on either side and asks two more questions: is the domain that nameserver sits on actually registered, and is it a near miss of another nameserver domain in the same set?

The Scenario: A One-Letter Typo at the Registry

In 2026, security researchers found a US local government domain whose delegation at the .gov registry looked like this:

$ dig @a.ns.gov example.gov NS +norecurse +noall +authority
example.gov.   10800   IN   NS   ns41.domancontrol.com.
example.gov.   10800   IN   NS   ns42.domaincontrol.com.

The second nameserver is on domaincontrol.com, which belongs to a large DNS host. The first is on domancontrol.com, which is missing an "i". Someone typed the nameserver by hand into a registrar form and nobody caught it.

At the time, the misspelled domain was not registered. Anyone could have bought it for the price of a .com, pointed ns41 at a server of their own, and started answering DNS queries for a government domain.

Why Nobody Notices

  • Nothing breaks. Resolvers that get no answer from the bad nameserver quietly retry the good one. Lookups are a little slower and still succeed.

  • The zone looks correct. The DNS host shows its own NS records, which are right. The typo lives at the registrar, on a screen most teams open once when the domain is set up.

  • Ordinary DNS lookups hide it. Ask a resolver for a domain's NS records and it answers from the zone, not from the registry. Most monitoring tools do the same, so they report the correct list while the internet is being sent to the wrong one.

  • There is no outage, so there is no ticket and no owner.

What an Attacker Gains

A nameserver in your delegation is trusted to answer for the whole domain. Whoever controls one can return any record they like for the share of queries that reach it: a different web server, a different mail server, a TXT record that passes a certificate authority's domain validation. Long TTLs on those answers keep them in resolver caches well after the real nameserver would have answered.

If the working nameserver is ever removed, for example because the zone is deleted at the DNS host, the typo nameserver is the only one left and the share becomes all of it.

This is the nameserver form of dangling DNS. A dangling CNAME gives away one hostname. A dangling nameserver gives away the domain.

How to Check It Yourself

Ask a nameserver of the parent zone, with recursion off, so that you see the referral and not the zone's own answer. For a .com domain:

dig @a.gtld-servers.net yourdomain.com NS +norecurse +noall +authority

Then ask the zone itself:

dig @ns1.your-dns-host.com yourdomain.com NS +norecurse +noall +answer

The two lists should be identical. Read every name letter by letter. Then check that the domain each nameserver sits on is registered, and that it is registered to your DNS provider and not to a stranger.

What the Check Flags

  • Critical: a nameserver sits on a domain the registry does not know. It is unregistered, expired or suspended, and may be open for anyone to register.

  • High: two nameserver domains differ by a character or two, such as domancontrol.com beside domaincontrol.com, or a nameserver that appears on one side only does not resolve. A typo domain that is already registered is flagged too, because you cannot tell from outside who registered it.

  • Medium: the two lists differ but every nameserver works. This is usually a migration that was finished at the DNS host and never at the registrar, or the other way round.

How to Fix It

  1. Decide which list is right. It is almost always the one your DNS provider shows in its setup instructions.

  2. Correct the delegation at your registrar. The registrar is the only place the parent zone can be changed.

  3. Make the NS records in your zone match it exactly.

  4. If a nameserver domain turned out to be unregistered or held by someone else, treat it as an incident. Review what could have been answered on your behalf, and check certificate transparency logs for certificates you did not request.

  5. Wait out the old TTL. Registry delegations are commonly cached for up to two days.

How DNS Spy Monitors This

DNS Spy's enterprise monitoring reads the delegation from the parent zone's own servers every few hours and compares it with the NS records it scans from your zone. If the parent cannot be reached, it falls back to the nameservers on your latest WHOIS record. Each nameserver domain is then checked against its own registry, and the set is checked for near-miss spellings. The delegation is judged even when the zone itself is not answering, which is exactly when a typo nameserver matters most.

You are alerted when a delegation that used to be sound stops being so, and the result names the nameserver, the domain it sits on and what is wrong with it.

Check This on Your Own Domain

DNS Spy's free scan reads your live DNS, nameservers, SSL and email-authentication records and reports what it finds. No account required. Scan a domain →

If you want the same checks to keep running: DNS Spy re-resolves every monitored domain at least every ten minutes and alerts you when a record changes. See how monitoring works →