Skip to content

MX Lookup

Find the mail servers published for a domain and the order in which senders should try them. Enter a domain such as example.com, or an email address to check its domain's MX records.

How to read MX priority

Lower priority numbers are tried before higher ones. For example, a server with priority 10 is preferred to one with priority 20. Equal numbers share the same preference level.

Priority describes delivery order, not speed or uptime. The server names identify the incoming-mail destinations published in DNS.

No MX records and null MX are different

An empty list means no MX records were found. SMTP can fall back to a domain's address record, so an empty MX list alone does not establish that the domain rejects every message.

A null MX record has priority 0 and a single dot as its server name. It explicitly declares that the domain accepts no email.

Use it in your app.

Get a domain’s published mail servers and priorities.

Request

import { parseAPI } from '@parseapi/sdk';

const parse = parseAPI("YOUR_API_KEY");
const result = await parse.mx("example.com");
console.log(result);

MX API documentation

What is an MX record?

An MX record tells sending mail systems which host receives email for a domain. Look up the part after @, or paste an email address and this tool extracts its domain.

Is a lower MX priority better?

A lower number is preferred for delivery order. It is not a speed or reliability score. Equal priority numbers share the same preference level.

What does a null MX record mean?

A single record with priority 0 and host . explicitly declares that the domain accepts no email. It is different from finding no MX records.

Can a domain receive email with no MX records?

SMTP can fall back to the domain’s address record when no MX records exist. An empty MX list alone is therefore not proof that every message will be rejected.

Does an MX lookup check an individual mailbox?

It checks routing for the domain, not whether a specific address exists. Email format and mailbox verification are separate checks.

Why are old records still showing after a change?

DNS answers can be cached until their TTL expires. Use the DNS API when you also need record TTLs.