A hosting migration rarely fails in the file copy. The new server is ready, the site works on its temporary address, and then someone edits DNS from memory: one record is changed that should not have been, one that mattered is forgotten, and mail stops while the website looks fine. The failures are almost never technical; they are inventory failures.
Preparation is the discipline of knowing, in writing, every record your domain carries before you change a single one. This guide walks through building that inventory and its change list, using the free DNS Record Formatter and Explainer on Ovatly to read each record properly. The tool works in your browser and never queries live DNS.
Contents
- Quick answer
- Why migrations break at the DNS step
- Build the inventory first
- Sort records into change and do-not-change
- Lower TTL before the switch
- How to prepare your change list, step by step
- Worked example: line one of the inventory
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Before a hosting migration, export the full current zone, paste each record into the DNS Record Formatter and Explainer to understand what it does, and write a change list: the A and AAAA values the new host replaces, the CNAMEs that follow hostnames on their own, the MX and TXT records that must not change, and the records whose TTL you will lower so the switch propagates quickly. The formatter explains the records you paste and validates their values; it never queries live DNS and never applies a change, so applying and verifying the edits are separate steps at your provider.
Why migrations break at the DNS step
DNS is a set of small, independent records, and a domain that has been live for a while accumulates them: the website's address records, mail routing, verification tokens, an SPF line, perhaps records for a subdomain someone set up two years ago. Few owners can list them from memory, and a provider panel shows them as terse lines that are easy to misread under time pressure.
A migration touches only some of those records. The risk is not the edit itself; it is editing blind. An inventory turns the move into a checklist, and a checklist is what survives contact with a busy migration day.
Build the inventory first
Start by exporting or copying the complete current zone from your DNS provider, or collect the records from dig output. Then work through them with the formatter. It recognizes ten types: A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA and PTR, and it accepts both dig order and zone-file order, so you can paste lines as they come.
For each record, note four things in plain words: what it is for, what value it holds, whether the migration changes it, and what breaks if it goes wrong. The formatter's field-by-field explanation and value validation do the reading for you, which matters most for the records you did not set up yourself.
Sort records into change and do-not-change
The change list falls out of the inventory in four groups.
A and AAAA records hold your website's addresses, so these are the values the new host replaces. CNAME records point at hostnames rather than addresses; a CNAME aimed at your host's hostname follows their infrastructure on its own, while one aimed at the old setup needs a decision. MX records route your email and TXT records carry verification tokens and SPF; a website move gives you no reason to touch either, and they belong on the do-not-change list so mail and verifications survive the move intact. Everything else, NS, SOA, SRV, CAA, PTR, gets read and understood, and changed only if the move genuinely requires it.
Lower TTL before the switch
TTL is the field that says how long, in seconds, resolvers may cache a record. It is also your migration throttle. If the address records that are about to change carry a long TTL, visitors keep being sent to the old host for hours after your edit, because their resolvers are still holding the cached answer.
So the first change of the migration is not the address; it is lowering the TTL on the records that will change, done at least a full old-TTL period before the switch. Raise it again once the move has settled.
How to prepare your change list, step by step
- Export the full current zone from your DNS provider and save an untouched copy as your rollback reference.
- Paste each record into the DNS Record Formatter and Explainer and write down what it does, in plain words, next to the line.
- Mark each record: changes in this move, stays untouched, or needs a decision. Pay special attention to MX and TXT records, which default to untouched.
- List the TTL reductions first, with a date at least one old-TTL period before migration day.
- Write the final change list as exact edits: record, old value, new value, in the order you will make them at the provider.
Worked example: line one of the inventory
The first line of a typical inventory is the shop's address record:
shop.example.com. 300 IN A 203.0.113.10
Pasted into the formatter, it reads field by field: the name is shop.example.com., the TTL is 300 seconds, the class is IN, the type is A, and the value is the IPv4 address 203.0.113.10. On the change list this line gets marked as one the migration replaces: the address becomes the new host's address, while the name and type stay the same. Its TTL is already short at 300, so no advance reduction is needed; a sibling record carrying 86400 would need lowering a day before the switch. Every other line of the zone gets the same treatment, one paste, one plain-words note, one mark, until the inventory is complete and the move holds no surprises.
Limitations and honest tradeoffs
The formatter explains the records you paste and validates their values. It never queries live DNS, so it cannot confirm that your exported zone matches what the internet currently sees, and it cannot watch a change propagate. Verify live behaviour separately afterwards, with ordinary lookups.
It also never applies a change. Every edit happens in your provider's panel, by hand, which is exactly why the written change list matters. Finally, a type outside the ten the tool recognizes is reported as unrecognized rather than explained; rare record types need a manual note in your inventory instead.
Common mistakes
- Editing from memory. The zone always contains a record you forgot. Export it, every time.
- Changing MX during a website move. Mail routing is not part of a hosting change. Touching it breaks email while the site looks healthy.
- Deleting TXT records as clutter. Verification tokens and SPF live there, and both break quietly when a line is removed by someone who did not know what it carried.
- Lowering TTL on migration morning. The reduction only helps once the old, longer TTL has expired from caches. Do it at least one full old-TTL period ahead.
- No rollback copy. Keep the untouched zone export. If the move goes wrong, restoring known values beats reconstructing them.
FAQs
What is the first step before changing DNS for a migration? Export or copy the complete current zone and read every record in it. You need a written inventory of what exists now, A and AAAA values, CNAMEs, MX, TXT and the rest, before you can say which lines the move changes and which it must leave alone.
Which records should usually not change during a hosting move? MX records, which route your email, and TXT records, which carry verification tokens and SPF. A website host change gives no reason to touch either, and changing them by accident is how migrations break mail while the site itself looks fine.
Why lower the TTL before switching hosts? TTL is how long resolvers cache a record. Lowering it a day or more before the move means cached copies of the old address expire quickly, so visitors reach the new host sooner after you change the record instead of waiting out a long cache.
Does the formatter apply the DNS changes for me? No. The DNS Record Formatter and Explainer explains the records you paste and validates their values. Applying changes happens in your DNS provider's panel, and verifying them afterwards is a separate step. The tool prepares you to make the right edits, it does not make them.
Can the formatter check what my domain currently serves? No. It never queries live DNS and reads only what you paste. Paste the records from your current zone export or dig output and it explains those; checking what is live on the internet is a different step with a different tool.
Conclusion
A calm migration is an inventory, a change list and a TTL reduction made early, in that order. The DNS Record Formatter and Explainer turns terse zone lines into plain-words records you can sort and mark with confidence. If you want the background on the record type migrations most often break by accident, start with our guide on what a TXT record is used for. For more guides in this series, see our Website and Webmaster Tools guides.
References
- Cloudflare Learning Center, on DNS records and how they fit together: https://www.cloudflare.com/learning/dns/dns-records/
- IANA, the official DNS parameters and record type registry: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml