Email and Cyber Security · #18

Online MX Record Lookup

Shows which servers receive mail for a domain, in which order, and their addresses.

  • Live DNS query (Cloudflare DNS over HTTPS)

Tool

The query goes directly from your browser to a fixed public resolver (Cloudflare 1.1.1.1, DNS over HTTPS); only the domain name and record type are sent. Eretek servers do not relay or log the query.

What does this tool do?

When mail cannot be delivered, the first question is which MX the sending server sees for your domain. The tool lists MX records by priority, resolves each target's IPv4 and IPv6 address and flags targets without an address. A Null MX (0 .), meaning 'this domain accepts no mail', is shown separately from having no MX at all.

How to use it

  1. Enter the domain and press Run.

Fields

Domain

Worked example

InputValue
Domaincontoso.com

Expected result: Two MX: 10 mx1.contoso.com (203.0.113.25, 2001:db8::25) and 20 mx2.contoso.com — mx2 has no address (NXDOMAIN) and is flagged red.

Senders try mx1 (lowest preference) first and fall back to mx2. Because mx2 has no address, the backup path does not work and mail queues during an mx1 outage.

Method and assumptions

MX records are queried over DNS over HTTPS and sorted by preference; A and AAAA are queried for each target.

A single record 0 . is a Null MX under RFC 7505: the domain accepts no mail. With no MX at all (NODATA), RFC 5321 senders try the domain's A/AAAA address (implicit MX).

No SMTP connection is opened; port 25 reachability and STARTTLS are not tested.

Using the result and troubleshooting

Fix MX targets without addresses or written as IP addresses; an MX target must be a name and must not be a CNAME.

Equal preferences spread load; senders choose randomly.

Limits and common mistakes

  • Mail server reachability and TLS are not tested.
  • Whether an MX target is a CNAME is not checked separately; query the CNAME type with the DNS Lookup.

Frequently asked questions

When should I use a Null MX?

On domains that receive no mail (website-only or parked domains) to reduce bounce traffic from spoofed mail. Combine it with v=spf1 -all.

Related tools and service

  • SPF Record CheckerExpands an SPF record with its include and redirect chain, counts the DNS lookup budget and shows structural errors.
  • MTA-STS and TLS-RPT CheckerReads the DNS records for MTA-STS and TLS-RPT and checks a pasted policy text against the MX targets.
  • Microsoft 365 DNS CheckerReads the MX, SPF, Autodiscover, DMARC and DKIM records Microsoft 365 needs from live DNS and compares them with the expected values.

Related service: Email Security and Phishing Protection

Cybersecurity online tools · See all online tools