What is an MX lookup?
MX (mail exchanger) records tell the rest of the internet where to deliver email for a domain. When someone sends a
message to [email protected], their mail server looks up the MX records of example.com,
picks the server with the best priority and connects to it. If those records are missing or wrong, email bounces,
gets delayed or ends up at a server that is no longer yours.
This MX lookup goes further than listing the records. For every mail server it resolves the IPv4 and IPv6 addresses, shows where they are and which network owns them, checks the reverse DNS (PTR) and whether it is forward-confirmed, and recognizes the email provider behind the names: Google Workspace, Microsoft 365, Zoho, Proton, Fastmail and many more, including security gateways like Mimecast or Proofpoint.
How to use the MX lookup tool
- Type a domain, an email address's domain part, or paste a URL.
https://www.example.combecomesexample.comautomatically. - Press Enter. The servers are listed by priority, lowest number first.
- Read the summary at the top: it lists every problem found, most serious first, and the provider that handles the domain's email.
- Click an IP to see its full details in the IP Lookup, or continue with the SPF and DMARC checks linked under the results.
How to read the results
Priority
The number before each host is its priority (also called preference). Sending servers try the lowest number first and
only move to higher numbers when the preferred server does not answer. Two records with the same number share the
load. The actual values do not matter, only their order: 10 and 20 behave exactly like
1 and 5.
IP address and location
Each mail server name must resolve to at least one IP address with an A (IPv4) or AAAA (IPv6) record. We show the country and the network (ASN) of each address. This helps you confirm that email really goes to the provider you expect, or spot a forgotten server at an old hosting company.
Reverse DNS (PTR) and FCrDNS
The PTR record turns an IP back into a name. FCrDNS (forward-confirmed reverse DNS) means that name also resolves back to the same IP. For receiving email this is a good practice rather than a requirement, but for servers that also send email it is essential: Gmail, Outlook and most spam filters distrust senders without matching forward and reverse DNS.
Email provider
We recognize the provider from the MX host names. For example, aspmx.l.google.com means Google
Workspace, *.mail.protection.outlook.com means Microsoft 365 and *.mx.cloudflare.net means
Cloudflare Email Routing. If you see a security gateway (Mimecast, Proofpoint, Barracuda…), email is filtered there
first and then forwarded to the real mailbox provider.
Common MX record errors
- No MX records: senders fall back to the A record of the domain itself, which is usually a web server that does not accept email. Add the MX records your email provider gives you.
- MX pointing to an IP address: not allowed. MX records must contain a host name. Create
mail.example.comwith an A record and point the MX to it. - MX host does not exist (NXDOMAIN): usually a typo, or a record left behind after changing providers. Mail to that server fails.
- MX pointing to a CNAME: RFC 2181 forbids it. Most large senders tolerate it, but some reject the mail. Point the MX directly to a name with A/AAAA records.
- Private IP address: a mail server that resolves to
10.x,192.168.xor similar is only reachable inside a local network. Publish its public IP instead. - Missing trailing dot: in some DNS panels, entering
mail.example.comwithout a final dot createsmail.example.com.example.com. If you see that, add the dot or enter onlymail.
Null MX: domains that never receive email
Many domains exist only for a website or for redirects. If a domain should never receive email, publish a
null MX record (RFC 7505): a single MX with priority 0 and the host .
(a single dot). Senders then bounce mail immediately instead of retrying for days, and spammers cannot use the
domain as a believable reply address. Combine it with v=spf1 -all and a DMARC policy of
p=reject to fully lock the domain.
MX records of popular email providers
| Provider | Typical MX records |
|---|---|
| Google Workspace | 1 smtp.google.com (new setups) or aspmx.l.google.com plus alt1–alt4 |
| Microsoft 365 | 0 yourdomain-com.mail.protection.outlook.com |
| Zoho Mail | 10 mx.zoho.com, 20 mx2.zoho.com, 50 mx3.zoho.com (or the .eu/.in versions) |
| 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, route2 and route3.mx.cloudflare.net |
Always copy the exact values from your provider's admin console: some generate a unique host name per domain.
Changing email provider without losing mail
- A day before, lower the TTL of your MX records to 300 seconds (5 minutes) and wait for the old TTL to expire.
- Create the mailboxes at the new provider and verify the domain there.
- Replace the MX records with the new ones. Remove all the old ones: mixing providers splits your mail.
- Update SPF to include the new provider, publish its DKIM key and keep your DMARC record. Check them with the SPF Checker and DMARC Checker.
- Keep the old mailboxes for a few days: some senders cache the old MX until their TTL runs out.
MX, SPF, DKIM and DMARC: who does what
MX records only control incoming email. Whether your outgoing email is trusted depends on SPF (which servers may send for you), DKIM (a signature that proves the message was not altered) and DMARC (what receivers should do when those checks fail). A domain can receive mail perfectly and still have all its newsletters land in spam. After checking MX, run the other checks, and look at the full zone with the DNS Lookup.