MX lookup for a domain's mail servers, SPF and DMARC

Enter a domain and this MX lookup lists its mail servers sorted by priority, with their IP addresses. It also shows the domain's SPF and DMARC records, and tells you when a domain has a null MX or no MX at all.

  • Free
  • No sign-up
  • Checked on our server

Loading the tool…

Checked on our server: the address or domain you enter is sent over HTTPS to run the check. We don't keep it or the results.

How to use MX Lookup

  1. Type the domain part of an email address, for example example.com.
  2. Press the lookup button to query the public resolvers.
  3. Read the MX records in priority order. The lowest number is tried first.
  4. Check the SPF and DMARC records shown below the servers, and note any message about a null MX or an implicit MX.

Features

  • MX records sorted by priority, where a lower number is preferred
  • IPv4 and IPv6 addresses of each mail server, for the first 10 servers
  • Detects a null MX (RFC 7505), which means the domain accepts no email
  • Explains the implicit MX fallback when a domain has no MX record
  • Shows the SPF record (TXT starting with v=spf1) and the DMARC record (TXT at _dmarc starting with v=DMARC1)
  • Answers come from Cloudflare 1.1.1.1, Google 8.8.8.8 and Quad9 9.9.9.9
  • The domain is sent to the OneVixa server, which asks the resolvers. It is not logged or stored

Examples

InputResult
MX records 10 mail1.example.com and 20 mail2.example.comMail is tried at mail1.example.com first because 10 is lower than 20. mail2.example.com is the backup.
A single MX record with priority 0 and the host name .Null MX. The domain states that it does not accept email.
No MX record, but the domain has an A recordImplicit MX. Senders deliver to the domain's own A or AAAA address, as RFC 5321 describes.

Limitations

  • It does not open SMTP connections, test ports or check blocklists. It only reads DNS.
  • Mail servers are resolved for the first 10 MX records.
  • Answers come from public resolvers and can be cached until the TTL expires, so a recent change may not show yet.
  • SPF and DMARC records are shown as text. The tool does not evaluate whether a message would pass them.
  • Limit of 30 checks per minute per visitor.

Learn more

When someone sends an email to name@example.com, the sending server asks DNS for the MX records of example.com. Each record names a mail server and a priority number. The sender tries the server with the lowest number first and moves to the next one if it cannot connect. Equal numbers share the load.

Two special cases exist. A null MX, defined in RFC 7505, is a single record with priority 0 and a dot as host name, used by domains that never receive email. If a domain has no MX record at all, RFC 5321 says senders fall back to an implicit MX: they try the domain's own A or AAAA address.

Two TXT records often sit next to the MX records. SPF lists the servers allowed to send mail for the domain, and DMARC tells receivers what to do when a message fails authentication. Seeing all three at once makes it easier to spot configuration gaps after a mail provider change.

Frequently asked questions

What is an MX record?

An MX record names a server that accepts email for a domain, together with a priority number. Senders try the lowest number first.

What does the priority number mean?

It ranks the servers. Mail goes to the lowest number first, and higher numbers are used as backups when the first server cannot be reached.

What is a null MX?

It is a single MX record with a priority of 0 and a dot as the host name. It says the domain does not accept email (RFC 7505).

What happens if a domain has no MX record?

Senders use an implicit MX. They deliver to the address of the domain itself, taken from its A or AAAA record.

Why are SPF and DMARC shown?

Both are TXT records that affect email delivery, and they are often checked together with the MX records when mail goes missing or lands in spam.

Sources

Last reviewed: October 1, 2026