MX Record Lookup
Check mail exchange records, verify email server configuration, and analyze routing priorities for any domain.
What is an MX Record?
An MX (Mail Exchange) record is a DNS resource record that specifies the mail servers responsible for accepting email messages on behalf of a domain [^44^][^50^]. Think of it as a postal sorting system for the internet—when someone sends an email to your domain, MX records tell sending servers exactly where to deliver that message.
MX records are essential for email routing via SMTP (Simple Mail Transfer Protocol). Without properly configured MX records, email servers wouldn't know where to deliver messages, resulting in bounced emails or delivery failures [^49^][^51^].
Priority System
Lower numbers indicate higher priority. A server with priority 10 is tried before priority 20 [^45^][^52^].
Failover & Load Balancing
Multiple MX records provide redundancy. If the primary server is down, email automatically routes to the next priority server [^44^][^47^].
Common Email Provider Setups
Google Workspace (Gmail)
| Priority | Mail Server |
|---|---|
| 10 | aspmx.l.google.com |
| 20 | alt1.aspmx.l.google.com |
| 30 | alt2.aspmx.l.google.com |
| 40 | alt3.aspmx.l.google.com |
| 50 | alt4.aspmx.l.google.com |
Microsoft 365 (Outlook)
| Priority | Mail Server |
|---|---|
| 0 | yourdomain-com.mail.protection.outlook.com |
* Replace "yourdomain-com" with your actual domain (hyphens instead of dots)
MX Record Essentials
!Critical Requirements
- •MX records must point to hostnames (A/AAAA records), never IP addresses [^45^][^55^]
- •Cannot point to CNAME records (RFC violation) [^44^][^49^]
- •Target host must resolve via A or AAAA record [^55^]
?Troubleshooting Tips
- •Priority 0 is highest priority (tried first) [^46^]
- •Multiple servers with same priority = load balancing [^51^]
- •TTL values affect how quickly changes propagate [^56^]
Frequently Asked Questions
What is an MX record?
How do MX record priorities work?
What happens if there is no MX record for a domain?
Can MX records point to an IP address?
What are common MX record configurations for email providers?
Ad Space - horizontal