Guide
What is an MX record?
An MX (mail exchanger) record tells the world which servers accept email for a domain. When someone sends a message to [email protected], their mail server looks up the MX records for example.com and delivers to the listed host with the lowest priority number first. If that server is unreachable it tries the next one. Records with equal priority share the load. This MX lookup shows you exactly what a sending server sees: every mail host, its priority, the IP addresses it resolves to and, where we recognise it, the email provider behind it.
How to use the MX lookup
- Type a domain such as
example.cominto the box. You can also paste a full email address like[email protected]; everything before the@is dropped and only the domain is checked. - Press Find MX.
- Read the status badge at the top of the result: the number of mail servers found, No MX records, Domain does not exist or Null MX – domain accepts no email.
- Check the table, then use the button under it to test the same domain's SPF, DKIM and DMARC records.
How to read MX lookup results
Each row in the table is one MX record. The columns are:
- Priority: lower is preferred.
10is tried before20. The numbers themselves mean nothing beyond their order, so1and5behave the same as10and50. - Mail server: the hostname that receives mail. It must be a name with an A or AAAA record. It must never be an IP address or a CNAME (RFC 2181 and RFC 5321).
- IP addresses: the IPv4 and IPv6 addresses that hostname resolves to right now. Click one to open it in the IP lookup and see its network owner and location. A red Does not resolve means senders cannot reach that host at all.
- Provider: we match the hostname against known platforms such as Google Workspace, Microsoft 365, Proofpoint, Mimecast, Zoho, Proton Mail, Fastmail, Amazon SES and Cloudflare Email Routing. A dash means we did not recognise it, not that something is wrong.
- TTL: how many seconds the resolver may keep this answer cached before it asks again.
Worked example. Suppose a lookup for example.org returns two rows: priority 10, host mx1.mail.example.net, IP 192.0.2.25; and priority 20, host mx2.mail.example.net, IP 198.51.100.25, both with a TTL of 3600. Senders deliver to mx1 first and only fall back to mx2 if mx1 refuses connections or times out. If you changed these records a moment ago, some resolvers may keep serving the old pair for up to an hour (3,600 seconds).
A Null MX is a single record of 0 . (RFC 7505). It means the domain deliberately accepts no email, which is good practice for domains that only host a website or are parked. If you see No MX records instead, RFC 5321 says senders fall back to the domain's A or AAAA record, so mail may still be attempted at the web server, which usually rejects it.
Common MX problems and what to do
- Mail stopped arriving after you moved DNS hosts. New DNS providers rarely copy MX records automatically. Look up the domain here; if the result says No MX records, copy the records from your email provider's setup guide into the new DNS zone.
- Some messages reach the old mailbox after switching provider. Old and new MX records are both still published, or caches still hold the old answer. Remove the old rows, then watch the change roll out with the DNS propagation checker set to MX.
- A mail server shows Does not resolve. The hostname has no A or AAAA record, often because of a typo or a deleted record. Fix the hostname or add the missing address; check it afterwards with a DNS lookup.
- Mail arrives, but your outgoing mail lands in spam. MX only covers incoming mail. Outgoing mail is judged on SPF, DKIM and DMARC. Test those with our SPF & DMARC checker and read SPF, DKIM and DMARC explained. If a mail server's IP is listed on spam blocklists, the blacklist checker will show it.
- You want to know who hosts a company's email. The Provider column and the sentence under the table (for example "handled by Microsoft 365") usually answer it. A security gateway such as Proofpoint or Mimecast often sits in front of the real mailbox provider, so the mailbox itself may be elsewhere.
Limits and accuracy
- We query one public resolver, Cloudflare (1.1.1.1), over DNS-over-HTTPS. Right after a change, other resolvers may still return the old answer until its TTL expires.
- The lookup shows what is published in DNS. It does not connect to the mail servers, so it cannot tell you whether they are online, accept your messages or support TLS.
- Provider names are guessed from hostnames. A company using its own hostnames (for example
mail.example.compointing at a hosted service) will show no provider even if a big platform runs it. - Only the domain you enter is checked. Subdomains such as
mail.example.comhave their own MX records, or none.
Privacy and data source
When you press Find MX, our server sends the MX query, and an A and AAAA query for each mail host, to Cloudflare's public DNS-over-HTTPS resolver. Answers are held in memory for about 30 seconds so repeated checks are fast. We do not save the domains you look up to a database, and no email is sent to the domain.
Frequently asked questions
How long do MX changes take?
As long as the old record's TTL, typically between five minutes and a few hours. Check the TTL column here, then follow the rollout with the propagation checker.
Can I look up MX records from the command line?
Yes: nslookup -type=mx example.com on Windows or dig mx example.com +short on macOS and Linux.
What does MX priority mean?
Priority sets the order in which senders try your mail servers: the lowest number is tried first, and equal numbers share the load. A backup server usually gets a higher number such as 20 or 30.
Why do I see two different providers?
The domain is either migrating between providers or uses a filtering service in front of its mailbox. If the move is finished, remove the old provider's records so no mail goes astray.
Does an MX lookup show whether an email address exists?
No. It only shows which servers receive mail for the domain. Whether a particular mailbox exists is decided by those servers, and many of them deliberately do not reveal it.
Updated
Comments
Share a tip, ask a question or tell others how the tool worked for you.