MX Records: The Untold Story of Email

25/03/2025

MX Records: The Untold Story of Email
Designed by Freepik

By Alejandro Acosta, R+D Coordinator at LACNIC

Advances occur across the world of technology, and DNS and email are no exceptions. In this blog post, we’ll go back in time and explore the history behind certain DNS records, we’ll briefly examine how email systems worked before 1983, and we’ll acknowledge the powerful MX record, which revolutionized how email is handled on the Internet. It should be noted that we won’t use the concepts of MTA (Mail Transfer Agent) or MUA (Mail User Agent), as these mnemonics were introduced years after the MX record itself.

Email was very different back then from what we know today.

1. Early email systems appeared in the 1960s and 1970s, developed at universities and research centers. One of the first was MIT’s ‘CTSS Mail’ program, which allowed users to send messages to others, but *only* on the same server.

2. Formats and Protocols (1971-1982). At this time, there was no standardized protocol for email. Instead, each system used its own format and methods for sending and receiving messages. This meant that messages sent from one system to another might not be compatible.

3. Ray Tomlinson’s work in 1971 made history by implementing the first email system capable of sending messages between different computers on the ARPANET. Tomlinson introduced the use of the ‘@’ symbol to separate the username from the hostname, a format still in use today. Fun fact: There are many stories about why the ‘@’ symbol was chosen to separate the username and hostname. Part of the reason is because ‘@’ is read as ‘at,’ meaning that luisalfonso@lacnic.net is read as Luis Alfonso at lacnic.net

4. In 1983, the introduction of SMTP (Simple Mail Transfer Protocol) established a standard that allowed more efficient and universal communication between different email systems, ushering in a new era in digital messaging.

Which DNS records were used before MX?

Before MX records were introduced, MD (Mail Delivery) and MF (Mail Forwarding) records were used to connect mail agents in the Domain Name System (DNS). The original specification used these MD and MF records to connect mail agents.

(Free access, no subscription required)

Key aspects of MD and MF records:

  • MAILA queries requested both MD and MF records.
  • MD records identified hosts that were expected to have the recipient’s mailbox.
  • MF records identified hosts that were expected to act as intermediaries and forward mail to the final destination.

The problem with using separate MD and MF records was that a mail agent performing a MAILA query couldn’t effectively use the cache, as this could only store results for either an MD or an MF query, but not both. The solution was to replace MD and MF with a new type of record —the MX record— which combines information from MD and MF records into a single type.

           F.ISI.ARPA      A        IN     10.2.0.52

           F.ISI.ARPA      MD       IN     F.ISI.ARPA

           XXXX.ARPA       CNAME    IN     F.ISI.ARPA

           XXXX.ARPA       MF       IN     A.ISI.ARPA

Example configuration excerpt taken from RFC 882.

The views expressed by the authors of this blog are their own and do not necessarily reflect the views of LACNIC.

Subscribe
Notify of

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments