Skip to content

DNS prep checklist before a hosting migration

TTL lowering, zone snapshots, and authority handoff — the DNS work that has to land before cutover, not during it.

The migration is scheduled for Saturday night. On Friday afternoon someone asks who controls the DNS. The answer is “the registrar, probably” — and that is the moment the cutover starts slipping. DNS is the single piece of infrastructure that has to be in hand 48 hours before any traffic moves, because TTLs propagate at internet speed, which is not your speed.

What’s happening

A zone’s records cache at every recursive resolver between your visitors and your nameservers, for the duration of each record’s TTL. If example.com A has a 3600-second TTL on Friday, then on Saturday at cutover, half the world is still resolving to the old IP and will keep resolving there for up to an hour after you flip the record. Mail follows MX TTLs separately. SPF and DKIM TXT records have their own clocks. Glue records at the registrar bypass the zone entirely. A migration that ignores any one of these will have inflight transactions hitting two servers at once.

How to verify

Inventory the actual authoritative zone before you touch anything:

dig +short NS example.com @1.1.1.1
dig example.com SOA +noall +answer
dig example.com ANY +noall +answer @<authoritative-ns>
dig +short MX example.com
dig +short TXT example.com
dig +short TXT _dmarc.example.com
dig +short TXT default._domainkey.example.com

Confirm who can edit each record — registrar, hosting nameservers, or a third party like Cloudflare. Identify every subdomain that points at the old infrastructure, including mail, webmail, cpanel, ftp, vpn, monitoring, anything CNAMEd to a vendor. Record the current TTL of each.

The fix

Forty-eight hours before cutover, lower TTLs on every record that will move to 300 seconds. Do not lower NS-record TTLs at the registrar unless you are also changing nameservers; otherwise you gain nothing and risk a glue mismatch. Snapshot the full zone with dig AXFR if your provider permits, or export from the control panel. Pre-stage the destination zone identically — same MX, SPF, DKIM, DMARC, plus any verification TXT records — so DNS is the only variable that changes at cutover. Keep both sources of truth in sync until the new TTLs have expired everywhere. After cutover, raise TTLs back to 3600 once the new state is verified across multiple resolvers (1.1.1.1, 8.8.8.8, 9.9.9.9).

This DNS preflight is non-negotiable in every cutover we run as part of Migration — request a migration review.