A migration runbook says “step 5: change the nameservers at the registrar.” The team clicks the change, sends an email to the customer, and goes home. Two days later half the world still resolves the domain to the old nameservers and the new MX hasn’t taken effect. Nameserver changes don’t propagate the way A record changes do — they pivot through the TLD’s NS records, with their own caching behaviour, and the failure mode when records don’t match is silent.
What’s happening
A nameserver change at the registrar updates the NS records in the TLD’s zone (e.g. the .com zone holds example.com. NS ns1.host.com.). Recursive resolvers cache this delegation for up to the TLD’s TTL (often 172800 — two days). Until the cache ages out, half the world queries the old nameservers and half queries the new ones. If the two sets of nameservers serve different zone content, users see whichever they get.
The classic failure: the team updates the new nameservers’ zone but forgets to update the old ones, so old-NS users see the pre-migration content while new-NS users see the post-migration content. The team gets reports that some users see the new site and others don’t, and blames “DNS propagation” — when in reality the answer depends on which set of nameservers the user’s resolver happens to query.
How to verify
Before the change, capture both:
dig +noall +answer NS example.com @1.1.1.1
dig +noall +answer NS example.com @ns1.old-provider.com
The first is the cached view; the second is the authoritative view from the old nameservers. They should match.
After the registrar change, query the TLD directly:
dig +noall +answer NS example.com @a.gtld-servers.net
That’s the source of truth — the TLD’s view of who’s authoritative. Until that changes, no recursive resolver will start using the new nameservers.
Then watch propagation:
for r in 1.1.1.1 8.8.8.8 9.9.9.9 208.67.222.222; do
echo -n "$r: "; dig @"$r" +short NS example.com
done
When all show the new nameservers, the delegation is fully propagated.
What to do
- Pre-stage the new nameservers with identical zone content to the old ones. Both authoritative servers should return the same A/MX/TXT until the cutover. This protects against the half-and-half failure mode.
- Lower the TTL on the records that will change at least 24 hours before the nameserver change (see the low-TTL runbook). Don’t lower TTLs after pointing to new nameservers — the old ones still answer for hours.
- Confirm registrar lock and any contact-verification email that the registrar requires for an NS change. Some TLDs (
.ca,.fr, several country codes) require WHOIS-listed admin contact confirmation before applying NS changes. - Update the registrar. Note the time. Most registrars push to the TLD within minutes; some take a couple of hours.
- Verify against the TLD directly with the
dig @a.gtld-servers.netquery above. Until the TLD reflects the change, recursive resolvers cannot start picking up the new delegation. - Watch the recursive resolvers propagate over the next 24 to 48 hours.
- Keep the old nameservers responding for at least 72 hours after the change. Decommissioning them early breaks lookups for anyone still cached on the old delegation.
For glue records (where the nameservers themselves are under the domain being changed), see the glue-records article. For a registrar that requires CSV upload or batch tooling for many domains, do a dry run on one zone before applying to the rest.
Stack Harbor coordinates registrar nameserver changes during migration as part of migration solutions.