Glossary
What Is an MX Record? The DNS Switch Behind Cutover
What is an MX record, how priorities and TTLs work, and why flipping the MX record is the moment mail actually moves to your new provider.
Alex Kerr
Lead Migration Engineer, Mailbox Taxi
The MX record is the single DNS entry that decides where mail for your domain ends up. During a migration, you can copy every byte of every mailbox to the new tenant, but until you change the MX record, new mail keeps landing on the old server. This page explains what an MX record is, how priorities and TTLs work in practice, and the specific mistakes that turn a clean cutover into a 3am incident call.
Skip the manual setup — let Mailbox Taxi handle it
One desktop app, every IMAP provider, zero data leaving your machine.
What an MX record is
MX stands for Mail Exchanger. It is a type of DNS record that, when queried for a domain, returns a list of hostnames that are willing to receive mail for that domain. The sending mail server then opens an SMTP connection to one of those hostnames and delivers the message.
A typical MX record set looks like this:
example.com. 3600 IN MX 10 mail1.provider.net.example.com. 3600 IN MX 20 mail2.provider.net.
The 3600 is the TTL in seconds. The 10 and 20 are priorities. The trailing dot on the hostname marks it as fully qualified.
How priorities work
Senders sort MX records by priority, lowest first, and try them in that order. If the priority-10 host responds, mail goes there. If it times out or refuses, the sender falls back to priority 20, then 30, and so on.
Equal priorities are load-balanced. If you have two records at priority 10, the sender picks randomly, which gives you a basic form of redundancy across two relay hosts at the same provider.
You almost never use priorities to split mail across providers. Mail will land at whichever host responds first, and the result is a mailbox that is half on one tenant and half on another. Use a single provider's MX list, in the order they document, and let them handle failover internally.
TTL planning before a cutover
The TTL is how long resolvers across the internet are allowed to cache the current MX record. If your TTL is 86400 (24 hours), then up to 24 hours after you change the record, some senders will still be delivering to the old host.
The standard playbook is:
- A week before cutover, drop the TTL on the existing MX record to 300 seconds.
- Wait for the old TTL to expire so resolvers learn the new short TTL.
- On cutover day, change the MX value. New lookups now expire within 5 minutes.
- After cutover stabilises, raise the TTL back to 3600 or 86400.
Tip
If your registrar's UI hides the TTL field, lower it via the API. A 24-hour TTL on cutover day means you are still seeing tail-end deliveries to the old server the next morning.
What "flipping MX" actually means
When people say they're flipping MX, they mean editing the MX record at the authoritative DNS host to point at the new provider's mail hostnames. That single change is the moment mail starts arriving at the new mailbox. Everything else in a migration — IMAP sync, SPF, DKIM, Autodiscover — is preparation for that one DNS edit.
For the full sequence from waitlist sign-up through to post-cutover validation, see the complete email migration guide. For dual-MX failover designs and the cases where they actually make sense, Autodiscover and the provider's own redundancy documentation are usually the better reference.
Common MX mistakes
These are the issues that show up most often during cutovers.
- Forgetting the trailing dot.
mail1.provider.netwithout a dot becomesmail1.provider.net.example.com., which does not exist. Mail bounces withHost not found. - Leaving the old MX in place. Some panels add the new record alongside the old one. Now you have two providers receiving mail at random.
- Mixing CNAMEs and MX targets. RFC 2181 forbids an MX target from being a CNAME. Some resolvers tolerate it, some don't.
- High TTL on cutover day. A 24-hour cache means a 24-hour tail of stragglers landing in the old mailbox.
- Missing SPF and DKIM at the destination. The MX change works, mail arrives, then receivers reject your outbound because SPF and DKIM and DMARC are not aligned with the new sending IPs.
Heads up
Always do a final dig MX example.com +trace from an external resolver before you tell the customer the migration is done. The provider's own admin centre is not a reliable source of truth for what the rest of the internet sees.
Verifying the change
Three quick checks will catch most of the failure modes above.
dig MX example.com @8.8.8.8to see what a public resolver returns now.- Send a test message from an external Gmail or Outlook account and confirm it arrives in the new mailbox, not the old one.
- Check the sending side. Reply to that test message and view the original. SPF and DKIM should both show pass against the new provider.
If anything looks off, the playbook in fix MX record propagation covers the next steps.
Migrate your mailbox the easy way
Join the waitlist for early access and lock in launch pricing.
Related reading
glossary
What Is SPF? Sender Policy Framework Explained
What is SPF, how the include mechanism works, why the 10-DNS-lookup limit matters, and how to update SPF cleanly when you switch email providers.
glossary
What Is DKIM? Signing Email So Receivers Trust You
What is DKIM, how the public key in DNS proves a message is genuine, what selectors are, and how to set up DKIM at the new provider before cutover.
glossary
What Is DMARC? A Plain-English Guide for Migrations
What is DMARC, how policy modes (none, quarantine, reject) work, and what changes during an email migration so your DKIM stays aligned.
glossary
What Is Autodiscover? Outlook's Setup Mechanism Explained
What is Autodiscover? A practical guide to how Outlook finds Exchange and Microsoft 365 settings, the DNS records involved, and why it breaks during migrations.
blog
The Complete Email Migration Guide for 2026
Plan, execute and validate an email migration without losing folders, flags, or sleep. A pillar guide that walks the full process end to end.
troubleshooting
Fixing MX Record Propagation Delays During Cutover
MX record propagation stuck after cutover? Here's how to diagnose TTL caching, registrar delays, and dual-MX confusion so mail flows to the right server fast.
Migrate your mailbox the easy way
Join the waitlist for early access and lock in launch pricing.