MX Record
Mail Exchange Record
ELI5 — The Vibe Check
An MX record tells the internet where to deliver emails for your domain. When someone sends an email to you@yoursite.com, their mail server checks the MX record to find out which mail server should receive it. No MX record = no email.
Real Talk
An MX (Mail Exchange) DNS record specifies the mail server responsible for accepting email for a domain. MX records include a priority value — lower numbers have higher priority. If the primary mail server is down, lower-priority servers act as fallbacks.
Show Me The Code
# Check MX records
dig MX example.com
# Example MX record output
; Priority Mail server
10 mail1.example.com.
20 mail2.example.com.
# Google Workspace MX records example
1 aspmx.l.google.com.
When You'll Hear This
"Add the MX records from Google Workspace so email works." / "Why is email bouncing? Check if the MX record is correct."
Related Terms
A Record
An A Record is the most basic DNS record — it just says 'this domain name = this IP address.' It's the phonebook entry itself.
DNS (Domain Name System)
DNS is the internet's phonebook. You type 'google.
Domain Name
A domain name is the human-friendly name for a website, like 'google.com' instead of '142.250.80.46'.
SMTP (Simple Mail Transfer Protocol)
SMTP is the protocol email uses to leave your device and travel to the recipient's mail server.
TXT Record
A TXT record is a free-form DNS record where you can store any text.