MX record lookup
Enter a domain to see where its email is delivered. The lookup lists the MX records in priority order and, for each mail server, its IPv4 and IPv6 addresses, the reverse DNS name of each address and whether that name resolves back to the same address. It flags the setups that make mail bounce or land in spam: an MX pointing to a CNAME or a raw IP address, a mail server with no address, private addresses, missing reverse DNS, and domains with no MX at all, where senders fall back to the A record.
Lookups go from your browser straight to Cloudflare’s public DNS resolver (1.1.1.1) over HTTPS. Our server never sees the domain.
How to use the MX Lookup
- 1
Enter a domain
Type the part after the @ in an email address, such as example.com.
- 2
Read the mail servers
Lower preference numbers are tried first; equal numbers share the load.
- 3
Check each address
A ✓ means the reverse DNS name points back to the same address.
- 4
Fix any warnings
Each finding explains what is wrong and why it matters.
How mail servers are chosen
A sending server looks up the domain's MX records and tries the hosts in order of preference, lowest first (RFC 5321 §5.1). If a domain has no MX record at all, it delivers to the domain's own A or AAAA address instead. An MX of '0 .' is a null MX (RFC 7505), meaning the domain accepts no mail.
Forward-confirmed reverse DNS means the address's PTR name resolves back to the same address. Receivers check it on servers that connect to them, so it matters most when your MX hosts also send mail.
When to use it
- Check email is set up correctly after moving to Google Workspace or Microsoft 365.
- Find out which provider handles a company's email.
- Troubleshoot bounced or missing email.
Limits
- The lookup uses DNS only; it doesn't connect to the mail servers. Use the SMTP Server Tester to check a server answers.
- At most 10 MX hosts and 8 addresses per host are checked.
Privacy
DNS queries go from your browser to Cloudflare's public resolver over HTTPS. Toolstome doesn't see the domains you look up.
Frequently asked questions
What is an MX record?
A DNS record that names the mail server for a domain, with a preference number. Senders deliver to the lowest number first and try the others if it doesn't respond.
Can an MX record point to a CNAME?
No. RFC 2181 §10.3 says MX targets must have their own address records, not be aliases. Many servers still cope, but some will refuse to deliver.
Can an MX record contain an IP address?
No. The target must be a host name. An IP literal in an MX record is invalid and most senders will fail to deliver.
What happens if a domain has no MX record?
Senders fall back to the domain's A or AAAA record and try to deliver there (RFC 5321 §5.1). If that server doesn't accept mail, delivery fails after retries.
Why does reverse DNS matter for email?
Receiving servers often reject or penalise connections from addresses without a PTR record, or whose PTR doesn't resolve back. It matters for any server that sends mail.
What do equal MX priorities mean?
Servers with the same preference share incoming mail roughly equally. Different preferences mean primary and backup servers.
What is a null MX?
The record '0 .' (RFC 7505). It says the domain doesn't receive email, so senders fail immediately instead of retrying for days.
Related tools
- SPF Record CheckerValidates a domain’s SPF record, follows every include and counts DNS lookups against the limit of 10.
- DMARC Record CheckerFinds and validates a domain’s DMARC policy, report addresses and alignment settings.
- DNS LookupA, AAAA, MX, TXT, NS, CNAME, SOA, CAA and more for any domain, with TTLs and DNSSEC status.
People also use
- Internet Speed TestMeasure your download and upload speed, ping and jitter in a few seconds, with no app or sign-up.
- What Is My IP AddressSee the public IP address your connection uses, with IPv4, IPv6, approximate location and internet provider.
- Ping TestMeasure latency, jitter and packet loss over a run, with a live chart and a verdict for games and calls.
- WHOIS Lookup (RDAP)See who a domain is registered with, when it was created and expires, its name servers and abuse contact.
Last updated November 29, 2026 · How we build and test our tools