Mail Exchanger Record
MX specifies which server accepts email for a domain. Has a priority — lower number = higher priority.
Syntax
domain TTL IN MX priority mail_server
Example
example.com. 300 IN MX 10 mail.example.com.
When to use
When: the domain should receive email. At least one MX record, target is a hostname (not an IP!).
Common mistakes
Common mistakes: MX target is an IP instead of a hostname. No A record for the MX target. Multiple MX with the same priority = round-robin.
Check MX records for any domain:
Open DNS Lookup →