Sign up and contact support in the bottom-right corner to get 20 free checks.Sign up free
Free email toolkit

MX lookup

Find the servers that receive email for a domain. Look up MX hosts and their priorities, distinguish a missing record from Null MX, and use the published route to investigate delivery problems or a provider migration.

No account required

Loading tool…

The five DNS tools share limits: 5 queries per IP and 20 per network per rolling minute; 40 per IP and 100 per network per UTC day. Daily allowances reset at 00:00 UTC.

What is an MX record, and how does mail find your domain?

MX means Mail Exchange. When someone sends to [email protected], the sending system looks up the receiving route for example.com. The record points to a server hostname and gives it a preference number; it does not contain Alice’s mailbox, password or website address. A website and its email can therefore be hosted by different providers.

Lower preference numbers are attempted first. A secondary host is useful only if it is configured to accept mail for the domain. MX describes incoming delivery, whereas SPF authorizes outgoing senders and DKIM publishes a signing key. A successful MX lookup checks the route in DNS, not whether a particular recipient exists or the server is reachable.

How to use this tool

  1. Enter only the recipient’s domain, such as example.com. Remove the email username, https:// prefix and any page path. Compare the exact domain if you use a separate mail subdomain.
  2. Read every returned hostname and preference. Compare them with your mail provider’s current setup instructions; a familiar provider name is a clue, not proof of who owns the mailbox.
  3. After a change, query again once earlier cached answers can expire. Then send a message to a mailbox you control and inspect delivery logs if it fails.
A worked example
example.com.  MX  10 mx1.example.com.
example.com.  MX  20 mx2.example.com.

In this example, mx1 is preferred over mx2 because 10 is lower than 20. The values are relative priorities, not seconds or percentages. Both hostnames must resolve and be configured for the domain. These documentation hosts are illustrative and must not be copied into production DNS.

Illustrative data, not a live result or a ready-to-publish configuration.

Mistakes to avoid

  • Do not confuse missing MX with Null MX. An MX value of 0 . explicitly declares that a domain does not accept mail. Missing MX is a different case; SMTP has address-record fallback rules, but this lookup does not test that delivery path.
  • An old provider’s MX left alongside a new provider can create an unintended delivery route. Confirm the migration plan before deleting records; changing DNS alone does not migrate stored messages.

Protocol referenceRFC 5321

What can an MX lookup tell you?

MX records show which servers receive mail for a domain and which routes senders prefer. Review returned hosts and priorities to check a new domain or identify old routes left after a migration.

Lower numbers are preferred; equal numbers do not define a fixed order. Missing MX and Null MX are different: Null MX explicitly declines mail. Provider names are hostname-based hints about routing.

Which providers can MX hosts indicate?

Common hostname suffixes can identify providers. Gateways, forwarding and custom routes may hide the final mailbox system; an unknown provider is not itself a configuration error.

Google Workspace

You may see smtp.google.com or legacy aspmx.l.google.com and backup hosts. Configurations differ; compare with the values in Google Admin rather than judging by host count.

smtp.google.com / aspmx.l.google.com

Microsoft 365

Hosts commonly end in .mail.protection.outlook.com, with a tenant-specific prefix. Compare the target with Microsoft 365 Admin; do not copy another domain’s host.

*.mail.protection.outlook.com

Self-hosted, custom or gateway routes

Custom servers, smaller providers and filtering gateways may appear as hostnames or multiple provider hints. Compare with your receiving architecture; MX does not prove mailbox ownership.

mail.example.com

Read your results

A result is a starting point. Here is what to check next.

MX records found

Compare every host and its priority with your provider’s setup instructions. Published records describe routing; they do not prove that a server is reachable or a recipient exists. Also check for unused backup hosts; finding records does not complete the investigation.

No MX record

Confirm the domain spelling and its DNS configuration. SMTP can fall back to A or AAAA records when MX is absent, so a missing MX alone is not proof that mail is impossible. Retry timeouts or lookup failures later; a temporary error is not a confirmed missing record.

Null MX (no email accepted)

Record example: MX 0 . — 0 is the priority, and the dot indicates no mail exchanger. The domain explicitly declares that it accepts no email. This can be intentional for a web-only domain. Do not treat the dot as an ordinary mail server. If mail should be accepted, confirm the administrator’s intent before changing the records.

Unexpected or old hosts

Check for leftover records after migration. Recursive DNS caches can still return old answers until their TTL expires; compare the answer with your DNS provider’s published configuration. Compare every target, priority and previous TTL; resolvers may temporarily return different answers.

When should you run an MX lookup?

Start with domain-level routing before troubleshooting or configuration changes to narrow the investigation before checking individual addresses.

Mail suddenly stops arriving

Review MX hosts and priorities for missing entries, old hosts or Null MX. If routing looks correct, continue with bounce errors, mailbox status and provider logs.

Before and after a provider migration

Record old hosts and TTL before switching; compare published targets with the new provider. Recursive caches may retain old answers until their TTL expires.

Before preparing a campaign list

Check routing by domain to spot configuration issues affecting multiple addresses. Verify individual mailboxes separately; MX does not establish consent to contact anyone.

When taking over or auditing a domain

Compare hosts with the expected setup, including backup routes, gateways and retired providers. Provider hints help explain architecture, not prove ownership.

What this tool cannot tell you

MX checks public domain routing. The following questions require additional evidence or tools.

Does not prove a mailbox exists

MX applies to a domain, not whether a recipient account exists, is disabled or is full. This tool does not perform SMTP recipient probing; use mailbox verification for a specific address.

Does not authenticate a message

SPF, DKIM and DMARC require other records and message information. Normal MX does not imply authentication success; check the relevant tools and raw headers separately.

Does not predict inbox delivery

A valid route does not guarantee server acceptance or inbox placement. Reputation, content, recipient policies and actual SMTP responses can all affect delivery.

Does not represent your local resolver

Queries use the server’s configured DNS resolution path, not your device or ISP cache. Recursive resolvers may differ while TTLs remain valid; published records do not prove a server is online.

MX lookup questions

Does a missing MX always mean email cannot arrive?

No. SMTP can fall back to address records in some cases. This lookup reports MX configuration, not a complete delivery test.

Why do two lookups show different records?

Different recursive resolvers may hold different cached answers. Check the hostname, query time and TTL before concluding that the configuration is wrong.

Does the provider label identify the mailbox operator?

It is a hint based on the public MX hostname. Filtering gateways, custom hosts and multiple routes may hide the final mailbox provider.

Do normal MX records guarantee inbox delivery?

No. Recipient availability, server policy, authentication, reputation and message content are separate checks. Use SPF and DMARC tools for configuration and email verification for a specific address.