MX Lookup
See where email for a domain is delivered: every MX host in priority order, resolved to its IP addresses, with simple configuration checks.
Domain
Mail servers
How to use MX Lookup
- Enter the email domainType the part after the @, for example gmail.com or yourcompany.com.
- Look up MX recordsWe query the MX records, then the A and AAAA records of each mail server.
- Review the checksLower priority numbers are tried first. Warnings flag a null MX, CNAME targets and hosts without addresses.
Limits and how it works
- This checks DNS only. It does not connect to the mail servers on port 25 (Cloudflare does not allow outbound port 25), so it cannot test whether they accept mail.
- At most 10 MX hosts are resolved to addresses.
- Each IP address can run about 20 lookups per minute and 200 per hour. The limit is counted separately in each Cloudflare data center, so it is approximate.
- What you type (a domain, URL or IP address) is sent to our Cloudflare function and from there to the public services named on this page. We do not store it in a database or log it on purpose; Cloudflare keeps its standard short-lived request logs.
Verify mail routing before you switch providers
MX (mail exchanger) records tell sending servers where to deliver email for a domain. When you move to Google Workspace, Microsoft 365 or another provider, the MX records are what you change, and a typo here means lost mail.
This tool lists every MX host sorted by priority and resolves each to its IPv4 and IPv6 addresses. It also points out a “null MX” (the domain accepts no email), MX targets that are CNAMEs (not allowed by RFC 2181) and hosts that do not resolve.
Frequently asked questions
What does MX priority mean?
Senders try the host with the lowest number first and fall back to higher numbers if it is unavailable. Equal numbers share the load.
The domain has no MX records. Can it still receive email?
Under RFC 5321, senders then try the domain’s own A/AAAA address. Most modern domains should publish MX records explicitly.
What is a null MX?
A single MX record with priority 0 pointing to “.” (RFC 7505). It declares that the domain accepts no email at all.
Can an MX record point to a CNAME?
It should not. RFC 2181 requires MX targets to be host names with A or AAAA records; some senders refuse CNAME targets.
Related tools
All toolsTXT Record Lookup
List TXT records and spot SPF, DMARC, DKIM and verification tokens.
DNS Lookup
Query A, AAAA, MX, NS, TXT, CNAME, SOA and CAA records instantly.
DNS Propagation Checker
Compare a DNS record across 12 public DNS resolvers at once.
Whois Lookup (RDAP)
Look up a domain's registrar, key dates, status and name servers.