Skip to content
AdminKit
Free tool Updated

MX lookup: find a domain's mail servers

How does this check work, and what does the result tell you?

AdminKit looks up a domain's mail exchanger (MX) records and their priorities, then makes a second round of A/AAAA lookups for up to 5 of the listed mail hosts, so you can see at a glance whether a host that is correctly listed can actually receive mail, not just whether it appears.

Part of the DNS cluster — more tools, guides and terms on dns.

AI explanation Run a check below, then sign in to ask AI to explain the result in plain language.

What the result means

No MX records does not always mean a domain cannot receive mail — some mail software falls back to the A/AAAA record, though this is unreliable and most domains that send or receive mail should publish MX explicitly.

Next step

Run a full mail setup check with SPF and DMARC.

Keep this result

Copy a link to this check so you can share it or run it again later. Want a heads-up when this result changes? Talk to our team and we'll set it up for you.

How it works and limits

This tool queries the same DNS-over-HTTPS proxy as the general DNS lookup tool, filtered to the MX type, then makes a second round of A and AAAA lookups for each mail host so you can see at a glance whether they actually resolve — a host with no A/AAAA record cannot receive mail even if it is correctly listed.

How to read the results

Each MX record has a priority number and a hostname, defined by RFC 1035’s MX RDATA format (§3.3.9) as a plain ranking where lower values are preferred. Sending servers try the lowest-priority (most preferred) host first and fall back to higher numbers if it is unreachable. Several MX records with the same priority are tried in any order, as a load-balancing group — see what MX record priority actually does for ties, missing records and other edge cases. A domain with no MX record at all can sometimes still receive mail via the fallback-to-A/AAAA convention in RFC 5321, though not every sending server honors it. A domain that should never receive mail can say so explicitly with a “null MX” record — a single MX with preference 0 and the host . — defined in RFC 7505. MX itself is DNS record type 15 in IANA’s DNS parameters registry. Mail providers publish the exact MX values to enter: Google’s guide to MX records for Google Workspace lists a single record, priority 1, pointing to smtp.google.com, and notes that some registrars require a trailing period on the host name. When moving mail to a new provider, Microsoft’s guide to adding DNS records for Microsoft 365 says to either remove the MX records that point to the previous provider or give them a lower priority than the new one, so the old host does not keep receiving mail. Once mail is routed to the right host, check that it is also authenticated correctly — see SPF, DKIM and DMARC explained. For a full walkthrough of this result’s priority column and host-resolution check together, see how to read an MX lookup result. See best free MX record lookup tools for how this tool’s priority-plus-host-resolution lookup compares to MxToolbox, DNSChecker, Google Admin Toolbox and intoDNS’s own free lookups.

The result has two tables:

  • Name — the domain the MX records belong to, without the trailing dot.
  • Type — MX for each mail exchanger row.
  • TTL — how many seconds a resolver may cache the record. Cloudflare’s resolver reports the time left in its own cache, so the number can be lower than the TTL set in the zone.
  • Data — the record as the resolver returns it: priority host., for example 10 mail.example.com.. Rows are sorted by priority, lowest (most preferred) first.
  • Do the mail hosts resolve? — a second table with one row per mail host (up to 5, without the trailing dot): Host, IPv4 (A) and IPv6 (AAAA), each listing the addresses found, comma-separated, or none. A host with none in both columns has no address, so mail cannot reach it. none is also shown if that follow-up lookup itself failed, so re-run the lookup before acting on it. If a mail host is a CNAME, the IPv4/IPv6 cells can list the alias target before the address — see when an MX record points to a CNAME.
  • “No records of this type were found for this name.” — the lookup worked but the domain publishes no MX record (or the name does not exist). Any other message, such as “name must be a valid hostname” or “Too many DNS lookups, slow down and try again in a moment.”, means the lookup itself did not run.
  • AI explanation — an optional “Explain this result with AI” button. To prepare it, the domain is also sent to AdminKit’s check API as a DNS MX check; the button only appears if that check returned a result.

Examples

DomainData (MX rows)Do the mail hosts resolve?What it means
example.com10 mail.example.com., 20 mail2.example.net.mail.example.com: 192.0.2.25 / 2001:db8::25; mail2.example.net: 198.51.100.7 / noneMail goes to the priority-10 host first; the backup is reachable over IPv4 only.
example.net10 mx.example.net.mx.example.net: none / noneThe record is listed but the host has no address, so mail to this domain cannot be delivered.
example.org0 .Table not shownA null MX: the domain says it accepts no mail.
mail-less.example.comNo records of this type were found for this name.Table not shownNo MX record; some senders may fall back to the A/AAAA record, others will not.

The answers above use documentation addresses (RFC 5737, RFC 3849) and reserved example domains to show the format; a live lookup returns whatever the domain really publishes.

Limits

  • This checks whether the mail hosts resolve in DNS, not whether they actually accept mail on port 25 — that needs a live SMTP connection, which this tool does not make.
  • Up to 5 mail hosts are resolved per lookup to keep the result fast.
  • The DNS proxy keeps no query log; the domain is also sent to AdminKit’s check API to prepare the AI explanation (see above). See /legal/privacy/.

Reference: MX record.

Frequently asked questions

What does MX priority mean?

Lower numbers are tried first: RFC 1035 defines the MX preference field as a plain ranking where "lower values are preferred" (RFC 1035 §3.3.9), so a domain can list several MX hosts as fallbacks, most-preferred to least.

A domain has no MX record — can it still receive mail?

Sometimes, but it's not guaranteed: some mail software falls back to treating the domain's own A/AAAA record as an implicit mail host, a convention from the original SMTP specs (RFC 5321), but not every sending server honors that fallback. A domain that actually sends or receives mail should publish MX records explicitly rather than rely on it.

What happens if two MX records share the same priority?

Two (or more) MX records sharing one preference value are treated as a single equally-ranked group: per RFC 1035's MX preference field (§3.3.9), sending servers may try either host, in either order, as a simple form of load balancing — neither is preferred over the other.

Does a resolving MX host mean mail will actually be delivered?

No — this confirms the host has an A/AAAA record, not that it accepts mail on port 25, has a working mail server, or isn't rejecting messages. That needs a live SMTP test, which this tool does not perform.

Why does the result show "0 ." and no mail host table?

That single record is a null MX (RFC 7505): preference 0 and the host ".", the domain's explicit statement that it accepts no mail. There is no hostname to resolve, so the "Do the mail hosts resolve?" table is not shown. Senders should bounce mail to that domain at once instead of retrying.