DNS

MX Record Lookup

Free MX record lookup tool. Check the mail exchanger records, priorities, and email routing for any domain in seconds.

Query MX records

Resolve mail routing records with priority and exchange details.

Results come from deterministic DNS APIs or HTTPS RDAP endpoints.

Results

Run a lookup to see structured results here.

Practical guide

How to check MX records

Use this MX lookup tool to confirm which mail servers accept email for a domain, verify priorities match your provider's setup instructions, and diagnose delivery problems.

What this tool checks

MX (Mail Exchanger) records tell sending mail servers where to deliver messages for a domain. Each record has an exchange hostname and a priority number. Lower priority numbers are tried first, so a record with priority 10 is preferred over a record with priority 20. This tool runs a live MX-type DNS query through a public resolver and returns every record the domain publishes, sorted by priority.

When to use it

Run an MX lookup when moving email providers, setting up Google Workspace or Microsoft 365, troubleshooting bounced mail, confirming a domain can receive email, or verifying that a recent DNS change has actually propagated. The result should exactly match the hostnames and priorities from your mail provider's setup documentation. For the bigger picture of how a message finds your servers, see the guide on MX records and email routing.

How to read the result

A normal setup has one or more MX records, each pointing to a hostname (not a raw IP). Priority is shown as a small integer — lower wins. If multiple records share the same priority, senders pick between them at random for basic load distribution. If there are no MX records at all, some senders fall back to the domain's A or AAAA record ("implicit MX"), but modern hosted mail should always publish explicit MX records.

How MX priorities work

Priorities decide the order, not redundancy by themselves. Hosted providers typically publish a primary at priority 1 and several alternates at priority 5 or 10 — sending servers always try the primary first, then walk down the list. A setup with five records at priority 10 is also valid: senders just pick randomly between them, which is how cloud providers spread inbound load across multiple ingress hosts.

Common errors and what they mean

NXDOMAIN means the domain itself does not exist in DNS. A successful response with zero MX records means the domain exists but has not published any mail-routing records — mail to it will usually bounce or fall back to the A record. An MX record pointing to a hostname that does not resolve is worse than no MX at all: senders will get a temporary failure and queue retries. If the resolver returns SERVFAIL, the domain's authoritative nameservers are unreachable or DNSSEC validation is failing. Mail that routes correctly but still lands in spam is usually an authentication problem — see SPF, DKIM, and DMARC explained.

Example MX lookup for a Google Workspace domain

Example input
example.com MX
Example result
priority: 1   exchange: aspmx.l.google.com.
priority: 5   exchange: alt1.aspmx.l.google.com.
priority: 5   exchange: alt2.aspmx.l.google.com.
priority: 10  exchange: alt3.aspmx.l.google.com.
priority: 10  exchange: alt4.aspmx.l.google.com.

Senders try aspmx.l.google.com first. If it is unreachable, they fall back to the priority-5 alternates (picking one at random), then the priority-10 alternates. This is the standard fan-out for Google Workspace.

Related tools

Related guides

FAQ

What is an MX lookup?
An MX lookup is a DNS query for the MX record type on a domain. The response lists the mail exchanger hostnames responsible for receiving email for that domain, each with a priority number. It is the standard way to verify which servers accept inbound mail for a domain.
How do I check MX records for a domain?
Enter the domain (for example example.com) above and submit. The tool sends an MX-type DNS query through a public resolver and returns each MX record's priority and exchange hostname. You can also run dig example.com MX or nslookup -type=MX example.com from a terminal to do the same lookup locally.
Do MX records point to IP addresses?
No. MX records must point to hostnames, not raw IP addresses (RFC 5321). Those hostnames then need their own A or AAAA records so sending servers can connect. If you see an IP literal in an MX record, the record is invalid and most senders will reject the destination.
Is a lower or higher MX priority better?
Lower numbers have higher priority. A record with priority 10 is tried before a record with priority 20. Senders walk the list in priority order, falling back to higher numbers only if a preferred host is unreachable. Records with the same priority are picked at random for basic load distribution.
Why does email still fail when MX records look correct?
MX is only one part of email delivery. Check TXT records for SPF, DKIM, and DMARC; confirm the mail exchanger hostname itself resolves to an A or AAAA record; verify the receiving provider has accepted the domain in its admin console; and check the PTR record on the sending IP for forward-confirmed reverse DNS. Any one of these can cause a working-looking MX setup to bounce mail.
How long do MX record changes take to propagate?
MX changes take roughly the length of the old record's TTL to roll out. Most resolvers will hold the previous answer until that timer expires. Plan a cutover by lowering the TTL to 300 seconds a day or two before the change, then raising it back to 3600 or higher once the new MX is verified.
Can a domain have multiple MX records?
Yes, and most production setups do. Hosted-mail providers like Google Workspace and Microsoft 365 publish five or more MX records at different priorities so mail can fail over between data centers. The tool shows all of them, sorted by priority.

Last reviewed: 2026-05-20.