Moving email providers looks simple from the outside: the new provider hands you a short list of MX records, you swap them in, mail flows to the new home. The failures happen in the gap between the records you were given and the records you already had. An old backup MX nobody remembered, a subdomain with its own mail routing, a preference order that made the wrong server primary: each is a line in your current zone, and each is easy to drop if the move starts from the new list instead of an inventory of the old one.
This guide is the inventory step. Before anything changes, copy your current MX lines, read them properly with the free DNS Record Formatter and Explainer on Ovatly, and build the comparison.
Contents
- Quick answer
- What an MX record actually says
- Preference numbers: the order mail is tried
- The records people forget they have
- How to check your MX records, step by step
- Worked example: reading two MX records in preference order
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Before moving email, copy your current MX record lines from your DNS panel or dig output and paste them into the DNS Record Formatter and Explainer. Read each record field by field and write down two things: the mail hostnames and their preference numbers, where lower is tried first. Then lay the new provider's required records beside that inventory and compare line by line, so nothing the old setup carried, a backup MX, a subdomain's mail, is silently dropped. The formatter reads only what you paste and never queries live DNS; the actual change happens at your DNS provider, and testing mail flow afterwards is a separate step.
What an MX record actually says
An MX record names the servers that accept mail for a domain, and in which order they should be tried. Like every DNS record it is a row of fields: a name (the domain the mail is for), a TTL, the class IN, the type MX, and then the record's payload, which for MX is two parts: a preference number and a mail hostname.
That hostname is not an address. A sending server takes the hostname from the MX record and then looks up its A or AAAA record to find somewhere to connect to. So a healthy MX setup is a small chain: MX records that name hosts, and address records that resolve those hosts. The chain matters when something later does not deliver.
Preference numbers: the order mail is tried
The preference is a number from 0 to 65535, and lower wins. A mail host with preference 10 is tried first; if it does not answer, the sender tries preference 20, and so on down the list. Equal preferences are tried in no fixed order, which is how two servers share load.
During a move, preference order is where subtle breakage hides. Copy the new provider's values exactly: if their primary should be preference 10 and their backup 20, a transposed digit can quietly promote the backup or demote the primary, and mail still arrives through the wrong door, which makes the fault hard to notice. Reading the numbers field by field in the formatter is the cheap defence.
The records people forget they have
Three entries recur in moves that go wrong. The first is a backup MX added years ago, often pointing at an old provider or a colleague's server. If the new record set replaces only the primary and leaves the stale backup in place, some mail will still route to the old destination whenever the backup is tried.
The second is subdomain mail. Addresses at a subdomain follow that subdomain's own MX records. A shop, a support desk or a legacy system on a subdomain may have mail routing of its own, and it breaks silently when the zone is rebuilt from the main domain's records alone.
The third is a mismatch in the supporting records: the new provider's MX hostnames are in place, but nobody checked the setup around them, such as the address records behind your own mail hostname if you run one. Your inventory from the paste makes all three visible, because each is a line that either appears in the comparison or conspicuously does not.
How to check your MX records, step by step
- Open your DNS provider's records panel, a zone file export, or dig output for your domain, and copy every MX line, including subdomains.
- Paste the lines into the DNS Record Formatter and Explainer. It accepts dig order and zone-file order, explains each record field by field, and validates the values.
- Write down the inventory: for each MX record, the name it serves, the mail hostname, and the preference number, lowest first.
- Place the new provider's required records beside the inventory and compare line by line. Every old line should be carried over deliberately or removed deliberately; nothing should simply vanish.
- Check the forgettable entries specifically: backup MX records, subdomain MX records, and the address records behind any mail hostname you control.
- Make the change at your DNS provider, then test mail flow separately once the change propagates.
Worked example: reading two MX records in preference order
Suppose your paste contains two lines:
example.com. 300 IN MX 10 mail.example.com.
example.com. 300 IN MX 20 mail-backup.example.com.
Read the first field by field: name example.com, TTL 300 seconds, class IN, type MX, preference 10, hostname mail.example.com. The second line is identical except preference 20 and the hostname mail-backup.example.com. Together they say: deliver to mail.example.com first, and only if it does not answer, try mail-backup.example.com.
The field order is the same one you see in the formatter's reference A record, shop.example.com. 300 IN A 203.0.113.10: name, TTL, class, type, then the value. And the example shows what a careless move loses: rebuild the zone with only the new provider's single MX line, and the preference 20 backup is either dropped without a decision or left pointing at a provider you no longer use.
Limitations and honest tradeoffs
The formatter reads what you paste and never queries live DNS. If your paste is incomplete, the inventory is incomplete: it cannot warn you about an MX record you did not copy. Paste from the authoritative source, the provider panel or a fresh dig output, and include subdomains.
It also validates and explains; it does not act. It will not make the change at your provider, confirm that a change has propagated, or test whether mail actually flows. Those are separate steps. It recognizes ten record types (A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA and PTR) and reports anything else as unrecognized, so an exotic record in your zone will need reading elsewhere.
Common mistakes
- Starting from the new provider's list. The move should start from an inventory of what you have.
- Copying hostnames but not preferences. The numbers are the delivery order; a transposed pair changes which server is primary.
- Forgetting the backup MX. A stale backup keeps receiving mail whenever it is tried, long after the move.
- Ignoring subdomains. Their MX records are separate lines, and they break quietly.
- Declaring success at the panel. Records saved is not mail flowing; test delivery as its own step.
FAQs
Where do I get my current MX records to check? From the same places your DNS lives: the records panel at your DNS provider, a zone file export, or dig output for your domain's MX type. Copy the lines exactly as they appear and paste them into the formatter.
What does the MX preference number mean? It is the order in which sending servers try your mail hosts. Preference runs from 0 to 65535 and lower wins: a server with preference 10 is tried before one with preference 20, which acts as the backup when the first does not answer.
Does the formatter query live DNS or make the change for me? Neither. It reads only the lines you paste, explains them field by field and validates the values. The change itself happens in your DNS provider's panel, and checking mail flow afterwards is a separate step.
Why would a subdomain's MX records matter in a move? Because they are easy to forget. Mail for addresses at a subdomain follows that subdomain's own MX records, not the main domain's. If the old setup had them and the new record set omits them, that mail breaks while the main domain's mail works.
Is the data I paste uploaded anywhere? No. The tool runs fully locally in your browser. Your records never leave your device, which matters because a zone file is a map of your infrastructure.
Conclusion
A calm email move is an inventory, a comparison, and only then an edit. The inventory is your current MX records read properly: hostnames, preference numbers, backups and subdomains, all of which the DNS Record Formatter and Explainer helps you extract from pasted lines in minutes. For the wider set of record failures that can take a whole site down, not just its mail, see our guide to DNS mistakes that take a website offline. For more guides in this series, see our Website and Webmaster Tools guides.
References
- Cloudflare Learning Center, on how DNS works and what MX records do: https://www.cloudflare.com/learning/dns/what-is-dns/
- IANA, the DNS root zone database and record type registry: https://www.iana.org/domains/root/db