MX Lookup.
List a domain's mail servers in priority order with their IP addresses.
Uses serverAbout MX Lookup
MX Lookup shows which servers receive email for a domain. Sending servers read the domain's MX (mail exchanger) records, try the one with the lowest priority number first and move on to the next if it does not answer. The tool lists every MX record sorted by priority, resolves each mail server to its IPv4 and IPv6 addresses, and shows the TTL, so you can see how long resolvers will keep the answer. For example, a Google Workspace domain returns smtp.google.com, while an older setup lists aspmx.l.google.com at priority 1 and four alternates at 5 and 10. A domain with no MX records is not necessarily broken: senders then deliver to its A or AAAA address, which the summary points out. A single record "0 ." is a null MX (RFC 7505), meaning the domain never accepts mail. Common mistakes are pointing an MX record at a CNAME (not allowed and rejected by some senders), at an IP address instead of a host name, or at a host that does not resolve at all, which this tool flags. Another is forgetting to lower the TTL before moving mail providers, so old MX records linger for hours. The lookup runs on our server because browsers cannot query DNS directly, and answers are cached for five minutes.
How to Use
- Enter the domain part of an email address, such as example.com.
- Run the lookup.
- Check the mail servers in priority order and the addresses each one resolves to.
Frequently Asked Questions
What does the priority number mean?
Lower numbers are tried first. Records with the same priority share the load. Higher numbers are backups used when the preferred servers do not answer.
The domain has no MX records. Can it still receive mail?
Yes, if it has an A or AAAA record. Senders fall back to that address, although many providers recommend publishing an explicit MX record.
Why does a mail server show "not a public host name"?
The MX record points to a name that is internal, reserved or malformed, so we do not resolve it. Senders on the internet cannot reach it either.
How fresh are the results?
Answers are cached on our server for five minutes. Resolvers elsewhere may hold older answers until the TTL shown in the table runs out.
Related Tools
Look up A, AAAA, CNAME, MX, NS, TXT, SOA, CAA and SRV records.
Check an email address's syntax and whether its domain can receive mail (MX, null MX, A fallback).
Check a domain's SPF, DKIM and DMARC records, lookup limits, key sizes and policies.
Find the host name behind an IPv4 or IPv6 address and check that it resolves back.
Compare one DNS record across Google, Cloudflare, AdGuard, AliDNS and our own resolver.
Trace the delivery path of an email, measure hop delays and read SPF, DKIM and DMARC results.