Email DNS Check

DNS OPERATIONS GUIDE

No MX record found

Start with the DNS response code. An empty MX answer, a name that does not exist and a resolver error point to different fixes.

Reviewed by Mira John Updated

Identify what the resolver returned

NOERROR with no MX answer means the name exists but the resolver has no MX record to return. SMTP can try the domain’s A or AAAA address in this case. If the domain should receive mail through a provider, publish the exact exchange hosts and preferences from that provider.

A single 0 . answer is null MX. It tells senders that this domain does not accept email. Keep it for a domain intended to receive none. For a receiving domain, replace it with the provider’s MX set.

NXDOMAIN means the name does not exist. Check the spelling and the domain after @. SERVFAIL is a resolution failure. Compare another resolver and check delegation and DNSSEC before changing MX.

dig @1.1.1.1 example.com MX
dig @8.8.8.8 example.com MX

Query the zone directly

Find the delegated nameservers with a trace or your registrar. Query each one for MX at the mail domain. Check the aa flag to confirm that the reply is authoritative.

If the authoritative answer is empty, verify that the MX was added to the active zone and correct owner name. In a zone editor the apex may be written as @. When you are checking mail for a subdomain, the MX owner must be that subdomain.

If the authoritative answer is correct but a recursive resolver still returns an empty answer, look at the SOA in the recursive reply. A resolver can cache a negative answer. Its remaining TTL is a better recheck signal than repeatedly editing the zone.

dig +trace example.com MX
dig @ns1.example.net example.com MX +norecurse

# PowerShell
Resolve-DnsName -Name example.com -Type MX -Server 1.1.1.1

Confirm the route after the fix

Check MX again from both resolvers. Verify the preference numbers and confirm each exchange resolves to an address. Send a test email from an independent mailbox and confirm it arrives at the intended system.

Save the corrected record set as a baseline. On a later check you can compare the exact exchange values against it.

References

Related guides

MX record monitoring

Check mail exchanger targets and priorities, compare MX records across public DNS resolvers, and set a baseline for mail routing changes.

Email DNS monitoring

Check MX, SPF, DKIM and DMARC at the right DNS names. Capture a baseline and isolate changes during email migrations and deliverability incidents.

Nameserver monitoring

Compare NS answers, verify the parent delegation against the zone apex, and check mail DNS and DNSSEC during a nameserver migration.

Email DNS troubleshooting

Fix missing or incorrect SPF, DKIM and DMARC records. Trace conflicting DNS answers and check MTA-STS, TLS reporting and BIMI.