MX Lookup

Find which mail servers receive a domain's email, and check them.
More Tools

MX records tell the internet which servers receive email for a domain. Each has a priority number: senders try the lowest number first and fall back to the next if it doesn't answer. This MX checker shows each mail server's IPv4 and IPv6 addresses.

What Is an MX Record?

An MX (mail exchanger) record names a mail server for a domain, with a priority: 10 mx1.example.com.

Diagram: a sending server delivers to mx1.example.com with priority 10 first and uses mx2.example.com with priority 20 only if mx1 fails
The lowest priority number is tried first; higher numbers are backups.
PartMeaningExample
PriorityOrder of preference, lowest first (0–65535)10
Mail serverA hostname with its own A/AAAA record, never an IP or a CNAMEmx1.example.com
TTLHow long resolvers may cache the record3600 s (1 hour)

A domain with no MX record can still receive mail at its A record's address (RFC 5321 fallback), but most setups publish MX records. A single MX of . ("null MX", RFC 7505) means the domain accepts no email at all. Our result traces each server to its IP addresses and reverse DNS and links a blacklist check for each address.

How MX Priority Works

Lower number = tried first; equal numbers share the load.

RecordsWhat senders do
10 mx1 · 20 mx2Always try mx1; use mx2 only if mx1 doesn't answer (backup)
10 mx1 · 10 mx2Pick one at random each time (load sharing)
1 smtp.google.comA single record: the provider handles redundancy behind one name

Only the order matters, not the size of the numbers: 10/20 behaves exactly like 1/2.

Gmail, Google Workspace and Microsoft 365 MX Records

Google Workspace uses smtp.google.com (priority 1) for new setups; Microsoft 365 uses yourdomain-com.mail.protection.outlook.com (priority 0), or a mx.microsoft name for domains added during 2026 (Microsoft is rolling it out in the second half of 2026).

ProviderMX recordPriority
Google Workspace (since April 2023)smtp.google.com1
Google Workspace (older setups, still valid)aspmx.l.google.com · alt1/alt2.aspmx.l.google.com · alt3/alt4.aspmx.l.google.com1 · 5 · 10
Gmail (gmail.com itself)gmail-smtp-in.l.google.com and alternates5 to 40
Microsoft 365yourdomain-com.mail.protection.outlook.com, or …mx.microsoft for new domains (DNSSEC-ready)0

Always copy the exact value from your admin console: Microsoft's hostname is unique to your domain. Official guides: Google Workspace MX records · Microsoft 365 DNS records. Last checked 10 November 2026.

Why Email Isn't Arriving: MX Checks

Most delivery problems come from missing or wrong MX records, a blacklisted mail server or a missing SPF record.

  1. MX records exist and name your current provider (the verdict line says who handles the mail).
  2. Each mail server has an address: a server marked "No A/AAAA record" can't receive anything.
  3. Reverse DNS is set on the mail servers' IPs: many receivers distrust servers without it.
  4. No blacklist listing: use the "blacklists →" link next to each IP.
  5. SPF is present and single (see the SPF line under the table, or the SPF lookup).
  6. A recent change has propagated: click "Compare all DNS servers" to see whether every resolver already returns the new records.

To see the path a message actually took, paste its headers into the email header analyzer.

Do it yourself

How to Check MX Records With nslookup or dig

Run nslookup -type=mx example.com or dig example.com mx +short.

Windows Command Prompt

nslookup -type=mx example.com

Windows PowerShell

Resolve-DnsName example.com -Type MX

Mac / Linux Terminal

dig example.com mx +short
dig @1.1.1.1 example.com mx

Add a server (@1.1.1.1, or nslookup -type=mx example.com 8.8.8.8) to ask a specific resolver, as the form above does.

How This MX Lookup Works

QueryLive DNS query (no cache) to the server you pick: Google, Cloudflare, Quad9, OpenDNS, DNS4EU, AdGuard, Control D, Yandex, or the domain's own authoritative servers; or all of them with "Compare"
Mail serversEach MX host is resolved to its IPv4 and IPv6 addresses, and each address to its reverse DNS name, in parallel
ProviderRecognised from the MX hostnames (Google Workspace, Microsoft 365, Zoho, Proton, Mimecast…); no match, no label
SPFThe domain's TXT records, checked for one v=spf1 record
Runs onOur server in the US (AWS, N. Virginia)
What we keepLookups are not saved. Our server and Cloudflare keep standard access logs.

Frequently Asked Questions

What is an MX record?
It's a DNS record that names a mail server for a domain, with a priority number. Without MX records, other servers don't know where to deliver the domain's email.
How do I find the MX records of a domain?
Type the domain above and click the button: you'll see each mail server, its priority, its IP addresses and reverse DNS, and the mail provider. In a terminal, run nslookup -type=mx example.com or dig example.com mx +short.
What does MX priority mean?
It's the order senders try the servers: the lowest number first. Servers with the same number share the load, and higher numbers are backups used only when the first ones don't answer.
What are Gmail's MX records?
For Google Workspace, new setups use one record: smtp.google.com with priority 1. Setups from before April 2023 often use aspmx.l.google.com (priority 1) and four alternates, which still work. The consumer domain gmail.com itself uses gmail-smtp-in.l.google.com. Use the value your Google Admin console shows.
Can an MX record point to an IP address or a CNAME?
No. It must point to a hostname that has its own A or AAAA record (RFC 2181, RFC 5321). An IP address isn't a valid MX target, and a CNAME breaks delivery with some senders. The result above flags mail servers without an address.
Why does a domain have several MX records?
For backup and load sharing: if the first server doesn't answer, senders try the next priority, and servers with equal priority split the mail between them.

Next steps

Related Tools

SPF Record Checker
Validate which servers may send email for a domain.
TXT Record Lookup
DMARC, DKIM and verification records, decoded.
IP Blacklist Checker
Is a mail server's IP on spam blacklists?
Email Header Analyzer
Trace the route a message took and its SPF/DKIM results.