Definition
What it is
An MX record (Mail Exchange) is a type of DNS record that specifies the mail servers responsible for accepting messages for a domain [1]. Each MX record has a priority: the lower the number, the higher the server’s preference. A domain can have multiple MX records for redundancy.
Why it matters
The MX is essential for any domain that sends or receives email. An error in the MX can cause emails not to arrive or to be rejected. For this reason, email providers (Google Workspace, Microsoft 365, Zoho) provide their own MX records that must be configured correctly.
How it works in practice
The MX is defined in the DNS zone. For example, example.com. IN MX 10 mail.example.com.. Priority 10 indicates preference. The hostname mail.example.com must in turn have an A or AAAA record resolving to the mail server’s IP [1]. If there are multiple MX records, the sending server tries the lowest priority first.
Connections
- dns — the system containing the record
- txt-record — the record containing SPF, DKIM, and DMARC
- nameserver — the server that stores the MX
- spf — the email authentication policy
- dmarc — the email alignment policy
Common mistakes
- MX to an IP. The MX must point to a hostname, not an IP.
- Misconfigured priority. An incorrect priority can send email to a secondary server unnecessarily.
- Host without an A record. If
mail.example.comhas no A record, the MX does not resolve.
Evidence
Etymology
Origin: acronym
Mail Exchange — mail exchange
M(root): MailX(root): Exchange
Morphology
Variants
Typographical errors
MX recordmx-record
Plurals
MX records
Semantic network
● broader ● narrower ● related
Sources
ManageEngine (2026). DNS record management. https://www.manageengine.com/products/oputils/tech-topics/dns-record-management.html
Cloudflare (2026). DNS record types. https://developers.cloudflare.com/dns/manage-dns-records/reference/dns-record-types/
NexDNS (2026). DNS Records. https://nexdns.tech/dns-records/