GTM Toolkit

MX record

An MX (Mail Exchanger) record is a DNS entry that tells other mail servers which server accepts incoming email for a domain. It controls inbound routing only, not who is allowed to send mail on that domain's behalf.

An MX record answers one question for a sending server: where do I deliver mail for this domain? The sender looks up the domain's MX records in DNS, gets back one or more hostnames, each with a preference number, and tries the host with the lowest number first (RFC 5321, section 5.1). If that host can't be reached, it tries the next.

Here's a made-up example of what the records look like. example.com MX 10 mail1.provider.com, and example.com MX 20 mail2.provider.com. Mail goes to mail1 first. Equal numbers get shuffled, which spreads the load between servers. A higher number is tried only after the lower ones fail, so it works as a backup. The number is a 16-bit integer (RFC 1035), and it means nothing except order.

Why a cold sender cares

Two reasons. First, replies depend on MX. A mailbox receives mail through the domain's MX records, and if a domain has none, senders fall back to the domain's own address record, which often points at the website host (RFC 5321, section 5.1). A new sending domain can have a mailbox that sends fine while replies fail or land on the wrong server, often because the records were never added. Mailbox providers publish the values to use for their service.

Second, MX has nothing to do with trust. SPF, DKIM and DMARC handle authentication, and they're separate DNS entries. A correct MX tells you mail can arrive. It says nothing about whether your outgoing mail will be believed.

In practice

When a program sets up sending domains, MX sits on the checklist beside SPF, DKIM and DMARC. The mailbox provider issues the values, someone pastes them into DNS, and a lookup confirms they've propagated before the mailbox goes near a sequence. When a sending domain redirects to the main website, the MX still has to point at the mailbox provider, not the web host. A wrong MX is one cause of a mailbox that sends but never receives.

What people get wrong

People assume MX records control who can send email as a domain. They don't. MX handles inbound routing only. Permission to send lives in SPF, signing in DKIM, and policy in DMARC. Editing MX to fix a deliverability problem is a dead end, and changing it by accident can cut off every reply you were hoping for.

Related terms
Updated November 5, 2026

Ready to engineer your GTM motion?

Tell us how your motion runs today. We'll show you what we'd engineer.

Contact us