DNS tool

MX Record Checker - Check Mail Servers

Check MX records worldwide, compare mail server hostnames and priorities, and diagnose email delivery or migration issues across global DNS resolvers.

Record type

Worked example

Reading mail priority without confusing it with weight

Illustrative output using documentation names and addresses, not a live measurement. Replace the values with your own zone to repeat the check.

$ dig @1.1.1.1 example.com MX +noall +answer

example.com.  300  IN  MX  10 mail1.example.net.
example.com.  300  IN  MX  20 mail2.example.net.

The smaller preference, 10, is tried before 20. The second host is a fallback, not a promise that half the messages will go there. A visible MX record is only the first step in checking inbound mail.

Next check

Resolve both MX targets to A/AAAA addresses and verify that the intended provider accepts mail for your domain. Keep the previous mail service available during a migration while older MX answers may be cached.

This DNS lookup does not connect to SMTP, test a mailbox or establish SPF, DKIM or DMARC alignment.

Technical reference: RFC 5321

What this check shows

MX records tell sending mail systems which servers accept email for a domain. Each record includes a hostname and a priority; lower numbers are normally attempted first.

A global comparison is useful after changing email providers, adding a backup mail exchanger or diagnosing why some senders still deliver to an old platform.

When to use it

  • Email provider migrations
  • Inbound mail delivery failures
  • Incorrect MX priorities
  • Removing obsolete mail servers

How to read the result

  • The MX target should be a hostname, not an IP address, and that hostname must resolve independently.
  • Different priority values are normal when a domain has primary and backup mail exchangers.
  • No MX answer does not always prevent delivery because some senders may fall back to the domain A record, but publishing explicit MX records is safer.

Command examples

Use these dig commands when you need to compare DNSRadar with a terminal check or collect evidence for a DNS provider.

Terminal
dig example.com MX +short
dig @1.1.1.1 example.com MX
dig mail.example.com A +short

Troubleshooting focus

Use this page when inbound email routing changes, messages still arrive at an old provider, or a mail platform asks you to verify MX propagation. MX results should be read together with target A or AAAA records and outbound authentication records.

Practical examples

  • After moving to a new mail provider, compare MX priorities and hostnames globally.
  • Before disabling the old provider, confirm that public resolvers no longer return the previous MX set.
  • When delivery is inconsistent, check whether affected senders may still be using cached MX data.
  • After MX changes, verify SPF, DKIM and DMARC TXT records separately.

Common mistakes

Pointing MX to an IP address

MX records should point to hostnames, and those hostnames should resolve separately.

Confusing MX with SPF

MX controls inbound delivery; SPF authorizes outbound senders.

Deleting backup MX without checking priority

Senders use preference values to decide which mail exchanger to try first.

Forgetting TXT records during DNS provider migration

Email authentication can break even when MX records look correct.

Questions

Does a lower MX number mean higher priority?

Yes. A sender normally attempts the lowest preference value first.

Can MX propagation affect only some senders?

Yes. Sending systems use different recursive resolvers, so cached MX answers can expire at different times.

Related DNS tools