RFC 974: Mail Routing and the Domain System

2026-06-11

RFC: RFC 974

Published: January 1986

Authors: Craig Partridge

Every time you send email to [email protected], the machinery defined in this fourteen-page RFC kicks into gear. Craig Partridge's RFC 974 introduced the MX (Mail Exchanger) record — the indirection layer that decoupled email delivery from the host that "owns" a domain name.

The problem in 1986. The DNS had just been deployed (RFCs 1034/1035 were not yet a year old). Before MX records, an SMTP sender resolving [email protected] would look up the A record for bbn.com and try to open a TCP connection to port 25 on that host. This was awful for several reasons:

The design. RFC 974 defines a new DNS record type: MX, carrying a 16-bit preference and a hostname. To deliver mail to foo.example, a sender queries for MX records, sorts them by preference (lowest number wins), and tries them in order. Equal-preference records are tried in any order — the seed of today's load balancing across mail farms. The lower-is-better convention is counterintuitive and still trips up admins forty years later.

The clever bits. Several rules in this RFC are still load-bearing:

Why it still matters. RFC 974 was obsoleted by RFC 2821 and then RFC 5321, but the on-the-wire behavior is unchanged. Every spam filter, every dig MX gmail.com, every "mail loops back to myself" error message you have ever seen traces back to this document. The pattern it pioneered — service-specific DNS records with priority and weight — was later generalized as SRV (RFC 2782) and is now how SIP, XMPP, Minecraft servers, and Kubernetes headless services are discovered.

A historical footnote. Partridge was 24 when he wrote this. The same year he also co-authored RFC 950 (subnetting). The implicit-MX rule he included as a politeness to the existing installed base ended up being the longest-lived piece — a reminder that "temporary" compatibility shims tend to outlive their authors' careers.

Why it matters: RFC 974 invented the priority-weighted service-indirection record, letting domain ownership and mail delivery diverge — the model every modern service-discovery system silently copies.

All newsletters