Protect new mailboxesFresh mailboxes burn fast on a dirty list

Verify every lead before the first send and keep bounces low from day one.

Verify 25 emails free →
Product Bulk verificationReal-time APISignup form widget Catch-all detectionRole and disposable flagsFree email checker
Solutions Cold email agenciesSales teams and SDRsDevelopers and SaaS InstantlySmartleadApollolemlistClayHubSpotMailchimpWoodpeckerReply.ioSaleshandyZapierMaken8n All integrations
Mailboxes Google Workspace mailboxesOutlook mailboxesNew cold domain checklist
Compare vs ZeroBouncevs NeverBouncevs Emailable Pricing comparedCredit expiry comparedAll comparisons
Resources GuidesBounce rate benchmarksHow many bounces burn a domain?MX records MX lookupDomain health reportEmail list cleanerAll MX Tools
Pricing
Home / MX records / History

A short history of the MX record

The MX record is almost 41 years old and still routes every email on the internet. Here is where it came from, what it replaced and how the rules changed, RFC by RFC.

Updated 2026-11-24

Before 1986, a mail server delivering to user@host mostly just connected to the host named after the @. The MX record changed that: it let a domain say "send my mail over there instead", with a ranked list of servers. Every rule your mail server follows today, from priority numbers to the fallback when no MX exists, traces back to two short memos published in January 1986.

TL;DR

  • January 1986: RFC 973 (Paul Mockapetris) replaced the MD and MF mail records with one new type, MX, type code 15. RFC 974 (Craig Partridge) explained how mailers should route with it.
  • The format never changed: a 16-bit preference number and a host name. Lower numbers are tried first, from 1986 to RFC 5321 today.
  • Later additions: the "must not be an alias" rule (RFC 2181, 1997), randomizing equal priorities (RFC 1123, 1989, made a MUST in RFC 5321, 2008), AAAA hosts for IPv6, and the null MX for domains that take no mail (RFC 7505, June 2015).

The timeline at a glance

DateDocumentWhat changed for mail routing
Mar 1982RFC 810The DoD Internet host table: one file, HOSTS.TXT, kept by the SRI Network Information Center
Aug 1982RFC 821SMTP, by Jonathan Postel. No MX yet: the sender connects to the destination host
Nov 1983RFC 882, RFC 883The Domain Name System, with two mail records: MD (mail destination) and MF (mail forwarder)
Jan 1986RFC 973, RFC 974MX replaces MD and MF; routing rules for mailers
Nov 1987RFC 1035The DNS standard still in force. MX is type 15, "mail exchange"; MD and MF marked obsolete
Oct 1989RFC 1123Every sending SMTP server MUST support MX; equal priorities SHOULD be picked at random
Jul 1997RFC 2181The MX target "must not be an alias" (no CNAME)
Apr 2001RFC 2821SMTP rewritten; obsoletes RFC 821 and RFC 974. Implicit MX via the A record
Oct 2003RFC 3596AAAA records for IPv6 addresses (first defined in RFC 1886, Dec 1995)
Oct 2008RFC 5321Current SMTP standard. Randomizing equal priorities becomes a MUST; implicit MX covers any address record
Jun 2015RFC 7505, RFC 7504Null MX (MX 0 .) and the 556 reply code
From a single host table in 1982 to the null MX in 2015. The record format set in January 1986, a 16-bit preference and a host name, has not changed since.

Before MX: host tables and direct delivery

In the early 1980s the ARPA Internet named its machines in a single text file. RFC 810 (March 1982) describes it: the official host table, published as <NETINFO>HOSTS.TXT on the SRI-NIC host, which every site downloaded. If you knew a host's name, the table gave you its address.

Mail followed the same model. RFC 821, Jonathan Postel's Simple Mail Transfer Protocol (August 1982), assumes the sender talks to the destination host. As Craig Partridge later put it in RFC 974, mail for a mailbox at LOKI.BBN.COM usually meant opening an SMTP connection to LOKI.BBN.COM, with off-Internet hosts handled as special cases in each mailer's configuration.

That didn't scale. When Paul Mockapetris proposed the Domain Name System in RFC 882 (November 1983), he wrote that the size of the host table, and especially how often it changed, were "near the limit of manageability", and that the problem for computer mail was "more severe": mailers had grown an irregular collection of routes, forwarders and address tricks.

1983: the MD and MF records

The first DNS specification, RFC 883, handled mail with two record types. An MD (mail delivery) record named a host expected to have the mailbox; an MF (mail forwarding) record named an intermediary willing to accept the mail and pass it on. A mailer asked for both at once with a special query type called MAILA.

It looked sensible on paper and failed in practice. As RFC 973 explains, a resolver's cache might hold the answer to an MD query but not an MF query, or the reverse, and the presence of one said nothing about the other. Mailers either had to go to the authoritative server every time or act on partial information. Mockapetris said that neither option was "really acceptable".

January 1986: RFC 973 and RFC 974

The fix arrived in two memos published the same month.

RFC 973, "Domain System Changes and Observations", by Paul Mockapetris (ISI), replaced MD and MF "with a new type of RR called MX", assigned type code 15. Its format was a 16-bit preference value followed by a domain name, and a domain could have several, including several with the same preference. The memo's own example turns two MD records and one MF record into this:

MAIL-ORG   MX   10 HOST1
           MX   10 HOST2
           MX   20 HOST3

Mockapetris was explicit that the numbers only rank: "The values 10 and 20 have no significance other than 10<20." That is still true. Priority 10 and 20 behave exactly like 1 and 2 (MX priority explained).

RFC 974, "Mail Routing and the Domain System", by Craig Partridge (CSNET CIC, BBN Laboratories), told mailers what to do with the new record. Most of its rules survive in today's SMTP standard:

  • Ask DNS every time. Mailers were "strongly urged" to query MX records on every delivery attempt, so an administrator could re-route in-transit mail just by changing DNS.
  • Lowest number first. The mailer must try the lowest-valued MX, and should work through the rest in order. All MXs at one value are tried before any at a higher value.
  • No MX? Give it the benefit of the doubt. An empty answer should be treated as one MX with preference 0 pointing at the domain itself. This is the origin of the implicit MX (what happens with no MX record).
  • No loops. A mailer that is itself listed as an MX may only pass mail to an MX with a lower preference than its own.
  • No aliases in the data. Partridge noted his loop check breaks if an MX points at an alias, which "can be avoided if aliases are never used in the data section of MX RRs". Eleven years later that became a rule (MX and CNAME).
  • No chains. The lookup is done once, for the destination. You can't build routing by making MX hosts point at further MX records.
Two record types and a special query became one record with a preference number. HOST1 and HOST2 share the load at 10; HOST3 at 20 is tried only if both fail.

1987 to 1997: the rules settle

RFC 1035 (November 1987), still the core DNS standard, lists the record as "MX 15 mail exchange" and marks MD and MF "Obsolete - use MX". It defines the EXCHANGE field as a host "willing to act as a mail exchange for the owner name" and says MX answers trigger additional processing for A records, so a resolver can hand back the server's address in the same response. That phrase, mail exchange, is where our own name comes from (why we're called Mail Exchange).

RFC 1123 (October 1989), the host requirements for applications, made support mandatory: "a sender-SMTP MUST support the MX record scheme." It also added load sharing: when several MX records share a preference and nothing favours one, the sender SHOULD pick one at random.

RFC 2181 (July 1997), by Robert Elz and Randy Bush, closed the alias question. The value of an MX record "must not be an alias", partly because DNS servers don't add the address of a CNAME's target to the answer, which means extra queries on every lookup.

2001 and 2008: SMTP absorbs the MX rules

When John Klensin rewrote SMTP as RFC 2821 (April 2001), it obsoleted both RFC 821 and RFC 974: MX routing moved into the mail standard itself. RFC 2821 keeps Partridge's fallback in a narrower form: if no MX records are found "but an A RR is found", that A record is treated as an implicit MX with preference 0.

RFC 5321 (October 2008), the SMTP standard in force today, tightened three things:

  • Senders "MUST randomize" servers that share a preference, where RFC 1123 had said SHOULD.
  • The implicit MX applies whenever the MX list is empty, pointing at the domain's address records in general rather than only an A record. That matters for IPv6.
  • If MX records exist, a sender "MUST NOT" fall back to the domain's own address records, and MX records that are all unusable are an error.

It also sets the retry rhythm for a dead MX: at least 30 minutes between attempts, for at least 4 to 5 days (section 4.5.4.1).

IPv6 and MX

The MX record itself didn't need to change for IPv6, because it holds a host name, not an address. What changed is the lookup after it: an MX host can now have A records (IPv4), AAAA records (IPv6) or both. AAAA records were first defined in RFC 1886 (December 1995) and are now specified by RFC 3596 (October 2003).

RFC 3974 (January 2005) recorded early experience, such as publishing both A and AAAA records for dual-stack MX hosts. RFC 5321 section 5.2 judged it "not comprehensive enough to justify standardization" and leaves the details to local circumstances.

On 24 November 2026, lookups through Cloudflare's public resolver showed both camps. The MX hosts for Google (smtp.google.com), Microsoft (microsoft-com.mail.protection.outlook.com) and Facebook returned AAAA records as well as A records. The MX hosts for iCloud Mail, Proton Mail and Fastmail returned A records only, so mail to those domains arrives over IPv4.

2015: the null MX

Partridge's "benefit of the doubt" had a cost. A domain with only a web server still got mail aimed at its A record, and senders kept retrying for days. In June 2015 John Levine and Mark Delany published RFC 7505, the "null MX": a single MX record with preference 0 and a target of just .. Its abstract says it "formalizes the existing mechanism" by which a domain announces it accepts no mail. Its companion, RFC 7504, defined the 556 reply code for "domain does not accept mail".

You can see one in the wild: example.com, example.org and example.net, the domains reserved for documentation, all answered MX 0 . on 24 November 2026. The full story is on our null MX page.

What MX records look like today

Forty years on, a live MX answer reads exactly like the 1986 example. These are real answers from Cloudflare's resolver on 24 November 2026:

google.com.      MX  10 smtp.google.com.
microsoft.com.   MX  10 microsoft-com.mail.protection.outlook.com.
gmail.com.       MX   5 gmail-smtp-in.l.google.com.
gmail.com.       MX  10 alt1.gmail-smtp-in.l.google.com.
                 (plus alt2, alt3, alt4 at 20, 30, 40)
ietf.org.        MX   0 mx.ietf.org.
example.com.     MX   0 .

Two of those carry a little history. Mail for ietf.org, home of the standards above, goes to mx.ietf.org, which on the same day was itself a CNAME, the very pattern RFC 2181 forbids (what really happens with an MX CNAME). And example.com uses the newest rule, the null MX. Look up any domain yourself with our free MX lookup, which shows priorities, the provider behind each host and its IPv4 and IPv6 addresses.

The MX record is also the first real test in email verification: a domain with no usable MX can't receive the message. If you send to lists, Mail Exchange checks every address's MX, mailbox and catch-all status without sending an email. You can try it free with 25 checks (free trial), and plans start at $49 a month for 10,000 verifications and daily checks on 10 sending domains.

Common questions

When was the MX record invented?

In January 1986. RFC 973, by Paul Mockapetris, replaced the MD and MF records of the original 1983 DNS with a single record type called MX, type code 15. RFC 974, by Craig Partridge, published the same month, described how mail servers should route messages with it.

Who created the MX record?

Paul Mockapetris, the designer of DNS, defined the MX record type in RFC 973. Craig Partridge, then at the CSNET CIC at BBN Laboratories, wrote RFC 974, the companion memo on how mailers should use MX records to route mail.

What did the MD and MF records do?

They were the mail records in the first DNS specification (RFC 882 and RFC 883, November 1983). MD named a host that delivers mail for the domain and MF named a host that forwards it. Caching problems led RFC 973 to replace both with MX, and RFC 1035 marked them obsolete in 1987.

Is RFC 974 still in force?

No. RFC 2821 (April 2001) obsoleted RFC 974 and moved its MX routing rules into the SMTP standard. Today they live in section 5 of RFC 5321 (October 2008), which keeps the same basics: lower preference first, and an implicit MX when a domain has none.

When was the null MX introduced?

In June 2015, in RFC 7505 by John Levine and Mark Delany. A null MX is a single MX record with preference 0 and a target of "." and it tells senders the domain accepts no mail, so they can fail at once instead of retrying for days.

Start your free trial →