MX Record Lookup
See which mail servers accept email for a domain, in priority order.
Your input is used for this one lookup only. It is not logged or stored.
What is an MX record?
An MX record names a mail server that accepts email for a domain, and gives it a preference number. A sending server looks up the MX records for the part after the @, sorts them by preference, and tries them in order. If a domain has no MX record, mail delivery falls back to its A/AAAA record — or fails outright.
Fields in an MX record
| Field | Meaning |
|---|---|
| Preference | A number from 0–65535. Lower is tried first. Equal values are load-balanced. |
| Exchange | The hostname of the mail server. It must resolve to an address of its own. |
| TTL | Seconds a resolver may cache the record set. |
How to read the results
Rows are sorted by preference, so the first row is the server that receives your mail under normal conditions. Servers sharing a preference number split traffic between them; higher numbers are backups tried only when the lower ones do not answer. The preference number is a ranking, not a quality score — 10 is not "better" than 20 in any absolute sense.
Rules worth knowing
- Lower preference wins. A record with preference 10 is tried before one with 20.
- The exchange must be a hostname with A or AAAA records. Pointing an MX record at an IP address is invalid, and so is pointing it at a CNAME.
- A single MX record with an empty target (
.) is a "null MX" and explicitly declares that the domain accepts no mail at all (RFC 7505). - No MX record does not mean no mail: senders fall back to the domain’s A/AAAA record, which is rarely what you want.
Common problems
| What you see | Usual cause |
|---|---|
| No records | The domain publishes no MX record. Inbound mail will fall back to the A record or bounce. |
| Mail goes to the wrong provider | Records from an old provider are still present. Every MX record for the domain should point at the current provider. |
| Changes have not taken effect | The old record set is still cached. Check the TTL and compare resolvers with the DNS Propagation Checker. |
| Mail is rejected as spam | MX is only the delivery path. Sender authentication is separate — check SPF, DKIM and DMARC with the Email DNS Checker. |
Look up another record type
Each record type has its own page with the same explanation of its fields, or use the full DNS Lookup to query every common type at once.
Most often looked up alongside MX: TXT Record Lookup , A Record Lookup , SOA Record Lookup .
Data source: Public DNS-over-HTTPS resolvers. Queries go to the selected public resolver; results reflect that resolver’s cache. Learn about our data sources →