---
title: "MX Record: Definition and What It Actually Controls"
description: "What an MX record does, why it only governs inbound mail routing, and how it differs from the SPF record that governs sending."
canonical: "https://leadlinepartners.co/glossary/mx-record"
category: "GTM Toolkit"
published: "2026-07-26"
modified: "2026-11-05"
publisher: "Lead Line Partners"
---

# 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

- [Sending domain](https://leadlinepartners.co/glossary/sending-domain): A sending domain is a separate domain bought specifically for cold outbound, kept apart from a company's primary domain, so bounces and spam complaints from an unproven sender never touch the domain a business actually depends on.
- [Catch-all domain](https://leadlinepartners.co/glossary/catch-all-domain): A catch-all domain is configured to accept mail sent to any address at that domain, valid or not, so a verification check can't confirm a specific address is real just because the receiving server accepted it.
- [DNS record](https://leadlinepartners.co/glossary/dns-record): A DNS record is an entry published in a domain's DNS settings that tells other servers how to route or verify mail for that domain. SPF, DKIM, DMARC, and MX are all types of DNS record, each answering a different question about that domain's mail.
- [SPF](https://leadlinepartners.co/glossary/spf): SPF (Sender Policy Framework) is a DNS record that lists which mail servers are allowed to send email for a domain, letting a receiving server flag messages that claim the domain but didn't come from an approved source.

Updated November 5, 2026.

---

Read this on the web: https://leadlinepartners.co/glossary/mx-record
Glossary: https://leadlinepartners.co/glossary
Lead Line Partners, https://leadlinepartners.co
