Beep beep... Loading...
Learn how MX records direct email delivery and ensure reliable email communication
An MX (Mail Exchange) record tells email servers where to deliver email for your domain. It's like having a map that shows mail carriers which post office handles your mail.
Format:
domain.com. IN MX priority mail-server.domain.com.
Examples:
# Google Workspace MX records example.com. IN MX 1 aspmx.l.google.com. example.com. IN MX 5 alt1.aspmx.l.google.com. example.com. IN MX 10 alt2.aspmx.l.google.com. # Microsoft 365 MX records example.com. IN MX 0 example-com.mail.protection.outlook.com.
Think of MX records like a postal service for your domain:
Lower numbers have higher priority. Mail servers try the lowest number first.
The fully qualified domain name of the mail server that handles email.
1 aspmx.l.google.com 5 alt1.aspmx.l.google.com 5 alt2.aspmx.l.google.com 10 alt3.aspmx.l.google.com 10 alt4.aspmx.l.google.com
0 domain-com.mail.protection.outlook.com
Having only one MX record creates a single point of failure for email delivery.
Using wrong priority numbers can cause email routing issues and delays.
Forgetting the trailing dot in mail server hostnames can cause resolution problems.
Configure multiple MX records with different priorities for redundancy.
Use the exact MX record configuration recommended by your email provider.
Periodically verify your MX records are correctly configured and resolving.
Ensure your SPF record includes all mail servers listed in MX records.
Verify your mail servers support encryption for secure email transmission.
Consider implementing DNSSEC to protect MX records from tampering.