MX Lookup
Query Mail Exchange (MX) DNS records for any domain — see mail servers and their priority
Frequently Asked Questions
user@example.com, the sending mail server performs an MX lookup for example.com to find out where to deliver the message.google.com in the hostname means Google Workspace (Gmail), outlook.com or protection.outlook.com means Microsoft 365 / Exchange Online, mimecast.com means Mimecast, pphosted.com means Proofpoint. Self-hosted mail servers often use the domain itself as the MX record.aspmx.l.google.com and higher numbers (5, 10) for backups.
*.l.google.com. The primary record is aspmx.l.google.com (priority 1), followed by alt1.aspmx.l.google.com and alt2.aspmx.l.google.com (priority 5), then alt3.aspmx.l.google.com and alt4.aspmx.l.google.com (priority 10). If you're setting up Google Workspace for your own domain, your MX records should point to these same hostnames.
v=spf1 include:_spf.google.com ~all). The mx mechanism in SPF (v=spf1 mx ~all) tells receivers that the servers listed in your MX records are also authorised to send mail — useful when your mail servers handle both sending and receiving.
About This MX Lookup
This free MX Lookup tool queries DNS Mail Exchange records in real time for any domain. It returns all mail exchange servers sorted by priority (lowest number = highest priority) and resolves each server's hostname to its IP address for quick verification of your email routing configuration.
When to use this tool
- Verify that email is correctly configured for a domain
- Identify which email provider or hosting service a domain uses
- Troubleshoot email delivery issues by checking MX priority order
- Check MX record propagation after a DNS change or migration
MX Record Fields
| Field | Description |
|---|---|
| Priority | Preference value — lower number = higher priority server |
| Mail Server | Fully qualified domain name (FQDN) of the mail server |
| IP Address | Resolved IP address of the mail server hostname |
| TTL | Time to live — how long the record is cached (seconds) |
Standards & References
Related Internet Tools
Related Articles
View all articles
MX Record Priority and Failover: How Mail Servers Actually Choose Between Multiple MX Records
Multiple MX records don't load-balance by default — lower priority numbers are tried first, in strict order, with fallback only on connection failure (not on "recipient doesn't exist" responses). Here's how MX priority actually governs mail server selection, when equal priorities create real load distribution, the null MX convention for email-free domains, and practical MX configuration patterns.
Email Provider Migration: The Correct MX Record Sequence to Avoid Losing Email
Switching email providers is one of the most common causes of lost email. Here's the correct migration sequence (never update MX first), how Google Workspace, Microsoft 365, and Zoho Mail configure their MX records, and how to verify after migration.
MX Records and Email Delivery Failures: How to Diagnose and Fix Them
When email stops working, MX records are almost always part of the diagnosis. Here's how MX records control email delivery, how to debug bounces and delivery failures, common provider configurations, and the null MX for non-email domains.
MX Lookup — Check Any Domain's Mail Server Records Instantly
Learn how MX records work, what mail server priorities mean, how to read common configurations for Google Workspace and Microsoft 365, and how to use a free MX lookup tool to diagnose email routing.