Nameservers and DNS delegation
Want this checked on your own domain?
Join the waitlistUpdated
Message for whoever manages your DNS
Hi, could you check our domain’s nameservers?
- Does the list at our registrar match the nameservers our DNS host tells us to use?
- Does every nameserver on that list answer for our domain?
- Are there at least two, on separate networks?
- Are any nameservers left over from a previous DNS host?
Thank you.
Want this checked on your own domain? Join the waitlist.
Check yours
Run the full report (join the waitlist for access). It asks each of your nameservers directly, because a normal lookup hides a broken one as long as another answers. You can also look yourself with dig; replace example.com with your domain and ns1.example.net with one of your nameservers. The first command lists the nameservers in your zone; the second asks one of them directly, and aa in its flags line means it answers with authority:
dig +short NS example.com
dig +norec SOA example.com @ns1.example.net
Fix it
The nameserver list is set at your registrar, the company you pay for the domain. The records (website address, email servers, and so on) live at your DNS host, which may be the same company or a different one. Your DNS host tells you which nameservers to use. The zone at the DNS host also contains its own list of nameservers, the NS records; the two lists should match.
The domain has no nameservers
What it means. The registry shows the status inactive: no nameservers are associated with the domain (RFC 5731 §2.3). ICANN’s description is blunt: the domain “is not activated in the DNS and will not resolve”.
Fix.
- In your DNS host’s account, find the nameservers it assigned to the domain.
- In the registrar account, open the domain’s nameserver settings and enter every one of them.
- If the registrar says the registration is waiting for documents, which some endings require, provide them. ICANN notes this as a cause when the status lasts for days.
Confirm. dig +short NS example.com lists your nameservers, and the report no longer shows this item.
No nameserver answers for this domain
What it means. Every listed nameserver failed: its name has no address, it didn’t reply, it replied with an error, or it replied without authority because it isn’t set up to serve your domain. Your website and email can’t be found.
Possible causes. The nameservers were changed at the registrar before the domain was added at the new DNS host; the DNS host account or zone was closed; or a nameserver name was mistyped.
Fix.
- Compare the nameservers set at the registrar with the ones your DNS host tells you to use. Correct any typo.
- Check that the DNS host has the domain set up. A DNS host answers only for domains set up in an account there.
- If you recently moved DNS hosts and the new one isn’t ready, either finish setting up the domain there, or point the registrar back to the old nameservers while the old host still has your records.
Confirm. For each nameserver, dig +norec SOA example.com @<nameserver> returns an answer with aa in its flags.
Some nameservers are not answering
What it means. One or more of the listed nameservers fail, while the others work. Resolvers choose among the listed servers (RFC 2182 §3), so lookups that go to a broken one are slow or fail: the classic “sometimes it works” problem. People often call this a lame delegation; RFC 9499 §7 notes the term has drifted and now covers several faults, from servers that don’t answer to servers that answer without authority.
Fix.
- List the nameservers at the registrar and in the zone (see Technical reference for the commands).
- Remove any nameserver that your current DNS host doesn’t use, both at the registrar and from the zone’s NS records. Look especially for leftovers from a previous host.
- If every server on the list should be yours, send your DNS host the name of the failing server and the output of
dig +norec SOA example.com @<that server>.
Confirm. Every nameserver answers with aa, and the report shows “Nameservers answer correctly”.
Only one nameserver
What it means. The domain lists a single nameserver. If it is down or unreachable, the domain disappears for everyone.
Why it matters. The DNS standard requires every zone to be available on at least two servers (RFC 1034 §4.1). RFC 2182 §5 goes further and recommends three for most organizations’ zones, with at least one well removed from the others.
Fix.
- Ask your DNS host for its other nameservers. If it offers only one, move to a host that offers more, or add a secondary DNS service that copies your zone.
- Add every nameserver at the registrar.
- Make sure the zone’s NS records list the same set.
Confirm. dig +short NS example.com lists at least two names, and each answers with aa.
All nameservers share one address
What it means. The domain lists more than one nameserver, but they all resolve to the same IP address. They are one server with several names, so one outage takes down the domain.
Why it matters. RFC 2182 §3.1 says secondary servers must be placed at both topologically and geographically dispersed locations, so no single failure disables all of them; §3.2 calls servers on the same network segment an unsuitable configuration.
Fix. Ask your DNS host for nameservers on separate addresses and networks, or add a secondary DNS service from another provider. Then update the list at the registrar and the zone’s NS records.
Confirm. dig +short A <nameserver> returns different addresses for different nameservers. The report only compares addresses, so check yourself that they are on separate networks, for example run by different providers.
Nameserver lists don’t match
What it means. The nameservers the registry delegates to (the parent list, set at your registrar) differ from the NS records inside your zone (the child list, set at your DNS host).
Why it matters. The standard expects both sides to stay consistent (RFC 1034 §4.2.2). Resolvers find your servers through the registry’s list, then treat your zone’s own NS records as more trustworthy once they see them (RFC 2181 §5.4.1), so different resolvers can end up using different lists. That is harmless while every server on both lists answers. It breaks when a server on either list no longer serves your domain, for example after a move.
Fix.
- Take the list your DNS host tells you to use as the correct one.
- Set exactly that list at the registrar.
- Make the zone’s NS records match, if your DNS host lets you edit them.
Confirm. The two commands under Technical reference return the same names.
Nameservers may be out of sync
What it means. The nameservers report different serial numbers in the zone’s SOA record. The serial is the version number of the zone (RFC 1035 §3.3.13). Secondary servers copy the zone from the primary when the serial goes up (RFC 2182 §7), so a difference for a few minutes after an edit is normal. A difference that lasts means a server has stopped updating and is serving old records.
One exception. Serials only have to match when the servers copy one primary zone. If you deliberately use two DNS providers that each keep their own copy, their serials can differ permanently. In that case, compare the records themselves.
Fix.
- Wait an hour and check again.
- If the serials still differ, send your DNS host the serial each server reports and ask why one is behind.
- If you run the primary yourself, never lower the serial: secondaries ignore a smaller number and keep the old zone (RFC 2182 §7).
Confirm. dig +norec +short SOA example.com @<nameserver> returns the same third field (the serial) from every nameserver.
Changing DNS hosts safely
A move to a new DNS host can cause every problem above. This order avoids an outage:
- Copy every record. Export the zone from the old host if it offers that, or copy every record from its settings by hand, including email records (MX, SPF, DKIM, DMARC) and verification records. Lookups only return the names you ask about, so a list built from lookups can miss records.
- Set up the domain at the new host and enter the records.
- Test the new host before switching. Ask its nameservers directly, for example
dig +norec MX example.com @<new nameserver>, and compare with the old answers. - If DNSSEC is on, deal with it first. Follow moving DNS hosts with DNSSEC on; skipping this step takes the domain offline for validating resolvers.
- Shorten TTLs a day ahead if you can. Short TTLs on the records involved make changes take effect sooner (RFC 6781 §4.3.5.2).
- Change the nameservers at the registrar to the full list the new host gives you.
- Leave the old host running unchanged until the old nameserver list has expired from resolvers’ caches. That takes at least as long as the longer of two TTLs: the one on the registry’s NS records for your domain, and the one on the NS records in your old zone. The commands under Technical reference show both.
- Confirm with the report: every nameserver answering, and both lists the same.
Technical reference
Terms
| Term | Meaning | Source |
|---|---|---|
| Delegation | The NS records the parent zone (the registry) adds for your domain, creating your zone | RFC 9499 §7 |
| Authoritative server | A server that answers for a zone from its own data, with the AA flag set | RFC 9499 §6 |
| Referral | A non-authoritative reply pointing the resolver to the servers for a zone | RFC 9499 §4 |
| Glue | Address records the parent publishes for nameservers whose names are inside the delegated zone | RFC 9499 §7, RFC 1034 §4.2.1 |
| Lame delegation | Historic, imprecise term for listed servers that don’t answer, can’t be reached, or answer without authority | RFC 9499 §7 |
| SOA serial | 32-bit version number of the zone; compared with serial-number arithmetic | RFC 1035 §3.3.13, RFC 1982 |
Rules
- Every zone must be available on at least two servers (RFC 1034 §4.1); three, with one well removed, is recommended for most organizations’ zones (RFC 2182 §5).
- Servers must be topologically and geographically dispersed (RFC 2182 §3.1).
- The NS records at the delegation point and in the zone should be consistent (RFC 1034 §4.2.2). The NS records at a zone cut belong to the child zone (RFC 2181 §6.1).
- The value of an NS record must not be an alias (CNAME) (RFC 2181 §10.3).
- Serials only increase; a decrease is ignored by secondaries until the old value is exceeded (RFC 2182 §7).
- Resolvers cache “no such name” answers for the shorter of the SOA record’s TTL and its MINIMUM field (RFC 2308 §3, §5), which is why a domain can stay missing for a while after a fix.
Commands
The child list, the NS records in your zone:
dig +short NS example.com
The parent list, asked of the registry’s servers directly. This example uses a .com server; dig +short NS com lists them, and the same works for other endings:
dig +norec +noall +authority NS example.com @a.gtld-servers.net
Each nameserver’s own answer, with its authority flag and serial:
dig +norec SOA example.com @ns1.example.net
In dig output, the number after the name is the TTL in seconds, and aa in the flags line marks an authoritative answer.
What the report checks
- It looks up the domain’s NS records through a resolver.
- For each nameserver, it looks up the first IPv4 address and asks that address for the domain’s SOA record directly, without recursion. A server passes if it answers NOERROR, with the AA flag and an SOA record. A missing address, a non-public address, a timeout, an error code such as REFUSED or SERVFAIL, or a non-authoritative reply counts as not answering. The report asks over IPv4 only, so a nameserver with only IPv6 addresses counts as not answering too.
- For a registered domain (not a subdomain), it asks one of the parent zone’s servers for the delegation and compares that list with the zone’s list, name for name.
- It compares the SOA serials of the servers that answered, among servers of the same DNS host, so a domain that uses two providers on purpose isn’t flagged.
| Observation | Result |
|---|---|
| Registry status inactive | The domain has no nameservers |
| No server passes | No nameserver answers for this domain |
| Some servers fail | Some nameservers are not answering |
| One nameserver listed | Only one nameserver |
| Several names, one address | All nameservers share one address |
| Parent and zone lists differ | Nameserver lists don’t match |
| Different SOA serials | Nameservers may be out of sync |
| None of the above | Nameservers answer correctly |
The report doesn’t judge whether different addresses sit on different networks, and it doesn’t attempt zone transfers.
When the nameservers can’t be listed
If the NS lookup itself fails, for example because the resolver times out or the registry has no delegation, the report says the nameservers couldn’t be listed instead of guessing. Run it again; if it persists, check the registration in the domain registration guide.
Sources
- RFC 1034, Domain Names, Concepts and Facilities
- RFC 1035, Domain Names, Implementation and Specification
- RFC 1982, Serial Number Arithmetic
- RFC 2181, Clarifications to the DNS Specification
- RFC 2182, Selection and Operation of Secondary DNS Servers
- RFC 2308, Negative Caching of DNS Queries
- RFC 5731, EPP Domain Name Mapping
- RFC 6781, DNSSEC Operational Practices, Version 2
- RFC 9499, DNS Terminology
- ICANN, EPP Status Codes: What Do They Mean, and Why Should I Know?
Want this checked on your own domain?
Join the waitlist