What is an MX record?
An MX (mail exchanger) record is the DNS entry that tells the rest of the internet where to deliver email for a domain. When someone sends a message to name@example.com, their mail server looks up the MX records of example.com and connects to the server listed there. Without working MX records, a domain cannot reliably receive email.
How to use this MX lookup
Type a domain such as example.com, paste a full email address, or paste a website URL — the tool extracts the domain for you. Press Look up MX. The result URL can be shared, and it re-runs the lookup when opened.
How to read the result
- Priority — lower numbers are tried first; higher numbers are backups.
- Mail server — the hostname that accepts mail. If it is an alias (CNAME) the tool shows where it points.
- IPv4 / IPv6 — the A and AAAA addresses of each server. A server with no address cannot receive mail.
- Checks — problems such as no MX, a null MX, an MX that is an IP address or a CNAME, or a host that does not resolve.
Common fixes
MX records must point to a hostname, never to an IP address. A typical setup for Google Workspace looks like this:
example.com. 3600 IN MX 1 smtp.google.com.
If a domain should never receive email (for example a domain used only for a website), publish a null MX so senders bounce messages straight away:
example.com. 3600 IN MX 0 .
After fixing MX, also check your SPF record and DMARC policy so the mail you send is trusted.
FAQ
What does the MX priority number mean?
Lower numbers are tried first. Senders deliver to the lowest-priority server and only fall back to higher numbers if it is unreachable. Servers with the same number share the load.
What happens if a domain has no MX record?
Senders fall back to the domain's own A or AAAA address. That only works if a mail server runs there, so a domain that should receive email needs MX records.
What is a null MX record?
A single MX record of "0 ." (RFC 7505). It tells senders the domain never accepts email, so they bounce messages immediately instead of retrying.
How long do MX changes take to show up?
Up to the record's TTL, often between 5 minutes and a few hours. This tool queries Cloudflare's public resolver and results are cached for 5 minutes.