MX Lookup

See which mail servers receive email for a domain, in the order senders try them, and which email provider runs them.

DKIM selector (optional)

Leave empty and we'll try the common selectors. Find yours in a sent email's header: DKIM-Signature: … s=selector.

Try an example

Live DNS lookups via Cloudflare DNS-over-HTTPS. Nothing is stored.

MX records for popular email providers

Use these to confirm your setup matches your provider. Always copy the exact values from your provider's admin console.

MX hostnames used by common email providers
Provider MX hostnames
Google Workspacesmtp.google.com (newer) or aspmx.l.google.com + alt1–alt4
Microsoft 365yourdomain-com.mail.protection.outlook.com
Zoho Mailmx.zoho.com, mx2.zoho.com, mx3.zoho.com
Proton Mailmail.protonmail.ch, mailsec.protonmail.ch
Fastmailin1-smtp.messagingengine.com, in2-smtp.messagingengine.com
iCloud Mail (custom domain)mx01.mail.icloud.com, mx02.mail.icloud.com
Cloudflare Email Routingroute1/2/3.mx.cloudflare.net
Null MX (no email)0 .

Not receiving email? Check these in order

  1. MX records exist and point to your current provider. Leftover MX from an old provider is the most common cause of missing mail after a migration.
  2. Every MX host resolves. The table above shows the IPs. A host without an IP can't receive anything.
  3. The change has propagated. Just switched? Check the MX type in the DNS Propagation Checker.
  4. The mail server accepts connections on port 25. Test it with the Port Checker (only relevant if you run your own server).
  5. The domain is registered at your provider. Google and Microsoft reject mail for domains not verified in your admin console, even with correct MX.

MX record questions

What does MX priority mean?

Senders try the MX with the lowest number first. If it doesn't answer, they try the next one. Servers with the same number share the load randomly. The numbers themselves don't matter — 1, 5, 10 behaves exactly like 10, 20, 30 — only their order does.

I switched email providers. How long until mail arrives at the new one?

As long as the old MX record's TTL — often 1 hour, sometimes 24 hours. During that window some senders still deliver to the old provider, so keep the old mailboxes open for a day or two. Use the DNS Propagation Checker with the MX type to see which resolvers already have the new servers.

Can an MX record point to an IP address or a CNAME?

No to both. An MX must point to a hostname that has its own A or AAAA record. An IP address in an MX is invalid and many senders refuse to deliver. A CNAME target is forbidden by RFC 2181 and RFC 5321 — most large senders tolerate it, but some reject it.

What happens if a domain has no MX record?

Senders fall back to the domain's A record (the 'implicit MX') and try to deliver to that IP — usually a web server that doesn't accept mail, so messages bounce or time out. If the domain should never receive email, publish a null MX ("0 .") so senders fail immediately and cleanly.

How can I tell which email provider a company uses?

The MX hostnames give it away: *.google.com or googlemail.com means Google Workspace, *.mail.protection.outlook.com means Microsoft 365, mx.zoho.com is Zoho. Security gateways like Mimecast or Proofpoint often sit in front of the real provider; the SPF record usually reveals what's behind them.

Do I need a backup MX?

Usually not. Senders queue and retry for several days if your mail server is down, so mail isn't lost. Google Workspace and Microsoft 365 already run redundant servers behind their MX names. A badly configured backup MX is a common spam entry point because it often has weaker filtering.

More email & DNS tools

More Network Tools

Free tools for network engineers — no signup, no rate-limit walls.

Browse all tools by job →