MX Record Lookup
Look up a domain's mail servers, see their priorities, and identify the email provider behind any domain.
What is an MX record?
An MX (Mail Exchange) record tells the internet which servers accept email for your domain. Each record holds a hostname (like aspmx.l.google.com) and a priority number (like 10); when someone sends you a message, their server looks up your MX records and delivers to the lowest-numbered one first.
Every domain that receives email needs at least one MX record - without one, mail bounces. Unlike SPF, which allows only a single record, a domain can and usually should have several MX records for redundancy. This tool shows all of them, sorted by priority, and identifies the provider behind the hostnames.
How MX records work
Delivery is a short negotiation between the sending server and your published mail servers:
How MX priorities work
Each MX record has a priority number, and lower numbers are tried first - a record at priority 1 is preferred over priority 10. Typical ranges are 1 to 5 for the highest priority, 10 for a standard primary, 20 for a secondary or backup, and 30 or higher for overflow.
Multiple records at the same priority share load, chosen at random - simple round-robin balancing. Backup mail servers use higher numbers so they only receive mail when the primary is unreachable. When you read your results, every hostname should resolve to a valid IP, priorities should be staggered rather than all equal, and the hostnames should match your current provider.
MX records by provider
The hostnames in your MX records reveal (and are set by) your mail provider. These are the standard values.
| Provider | Records (priority hostname) |
|---|---|
| Google Workspace | 1 aspmx.l.google.com, plus 4 alt hosts at priority 5 and 10 |
| Microsoft 365 | 0 yourdomain-com.mail.protection.outlook.com (per tenant; dots become hyphens) |
| Zoho Mail | 10 mx.zoho.com, 20 mx2.zoho.com, 50 mx3.zoho.com |
| Custom server | 10 mail.yourdomain.com, 20 mail2.yourdomain.com |
How to set up MX records
Switching mail providers means replacing your MX records. Do it carefully - mail is live traffic.
Frequently asked questions
What is an MX record?
An MX record is a DNS record that points to the mail servers that accept email for a domain. Sending servers use it to route messages to the right destination. Without at least one MX record, a domain cannot receive email.
How do I find my MX records?
Enter your domain in the lookup above, or run nslookup -type=mx yourdomain.com (Windows) or dig mx yourdomain.com (Mac/Linux) in a terminal. Both return the hostnames and priorities.
What does MX priority mean?
Priority sets the order mail servers are tried - lower numbers first. A backup server gets a higher number so it only receives mail when the primary is down. Equal priorities share load randomly.
Can a domain have multiple MX records?
Yes, and most do. Multiple records provide redundancy and load balancing across mail servers. Google Workspace uses five; Microsoft 365 uses one.
Can an MX record point to a CNAME?
No. An MX hostname must resolve directly to an A record. Pointing it at a CNAME violates RFC 2181 and RFC 5321 and can cause delivery failures.
How do I find my email provider?
Run an MX lookup - the hostnames reveal the provider. google.com hosts point to Google Workspace, protection.outlook.com to Microsoft 365, zoho.com to Zoho, and so on.
Next steps
Stop configuring DNS by hand
Cladiant provisions real Google Workspace, Microsoft 365, and Azure Entra mailboxes with SPF, DKIM, and DMARC written and verified on every domain before a single message sends. No DNS headaches, no authentication gaps, one invoice.