What this MX lookup shows
Enter a domain and the tool queries its MX records live over DNS-over-HTTPS, sorts them by preference, and then resolves every mail server to its IPv4 and IPv6 addresses. For the first IPs of each host it also looks up the reverse DNS (PTR) name and confirms that the name resolves back to the same address, which is the forward-confirmed reverse DNS test many receiving servers apply.
- Priority and host for each record, with the TTL so you know how long caches will hold it.
- IP addresses (A and AAAA) for every mail server.
- Reverse DNS and whether it is forward-confirmed.
- Provider detection for Google Workspace, Microsoft 365, Zoho, Proton, Fastmail, Cloudflare Email Routing, Amazon and common security gateways.
- Problems: missing MX, MX hosts that do not resolve, MX targets that are CNAMEs or IP addresses, a single MX with no backup, and null MX records.
How MX records work
When a server has mail for someone@example.com, it asks DNS for the MX records of example.com. Each answer has a preference number and a host name. The sender tries the host with the lowest number first; if that host is unreachable or returns a temporary error, it moves to the next. Hosts with equal numbers share the load. Once connected, the sender delivers over SMTP on port 25.
The MX record only controls incoming mail. It has nothing to do with which servers may send for your domain; that is the job of SPF. A common mistake after a migration is updating MX but forgetting SPF and DKIM for the new provider, or the reverse.
Typical MX records by provider
| Provider | MX records |
|---|---|
| Google Workspace | 1 smtp.google.com (new setups) or 1 aspmx.l.google.com plus alt1 to alt4 |
| Microsoft 365 | 0 yourdomain-com.mail.protection.outlook.com; newer tenants may get a host ending in mx.microsoft |
| Zoho Mail | 10 mx.zoho.com, 20 mx2.zoho.com, 50 mx3.zoho.com (or the .eu, .in regional names) |
| Proton Mail | 10 mail.protonmail.ch, 20 mailsec.protonmail.ch |
| Fastmail | 10 in1-smtp.messagingengine.com, 20 in2-smtp.messagingengine.com |
| Cloudflare Email Routing | route1.mx.cloudflare.net, route2, route3 |
Always copy the exact values from your provider's admin console: these are the published defaults, and some providers assign tenant-specific names.
Fixing common MX problems
- No MX records. Mail may still be attempted at the domain's A record, which is usually a web server that does not accept mail. Add the MX records your mailbox provider gives you.
- MX host does not resolve. The target name has no A or AAAA record, often because of a typo or a trailing-dot problem in the DNS editor (
mx.example.com.example.com). Check the host with the DNS lookup. - MX points to a CNAME. Many senders cope, but it is not allowed. Point MX at the canonical name instead.
- Old and new provider mixed. After a migration, remove the old provider's MX records, or mail will keep arriving in the old mailbox at random.
- Mail not arriving at all. Work through the not receiving emails guide, which starts with MX.
Related tools
Domain health check
All records, one score
Open tool →DNS lookup
A, AAAA, MX, NS, SOA, CAA…
Open tool →Reverse DNS lookup
PTR and FCrDNS check
Open tool →Domain health report
Shareable, printable report
Open tool →Get alerted when it changes
Free daily monitoring re-checks SPF, DKIM, DMARC, MX, BIMI and MTA-STS and emails you when something changes or fails.
Set up free monitoringFrequently asked questions
What is an MX record?
A Mail Exchanger record tells other mail servers which hosts accept email for a domain, and in what order to try them. It lives at the domain itself, for example example.com MX 10 mx1.example.com.
What does the MX priority number mean?
Lower numbers are tried first. Senders try the lowest-preference host, then the next, and spread load randomly across hosts that share the same number (RFC 5321 section 5.1). It is not a percentage or weight.
What happens if a domain has no MX record?
Senders fall back to the domain's A or AAAA record and try to deliver there (the implicit MX rule). If the domain should never receive mail, publish a null MX instead: a single record 0 . as defined in RFC 7505.
Can an MX record point to a CNAME or an IP address?
No. The target must be a host name with its own A or AAAA records. RFC 2181 forbids MX targets that are aliases, and an IP address in the MX field is treated as a host name, which usually fails.
How long do MX changes take to work?
Senders cache the old records for up to their TTL, commonly 300 to 3,600 seconds. Lower the TTL a day before a migration, and keep the old mailbox running until the old TTL has expired everywhere.