An MX (Mail Exchanger) record is a DNS record type that tells the internet which mail servers are responsible for accepting incoming email for a domain.
How MX Priority Numbers Work
Every MX record pairs a hostname with a numeric priority (for example, 5 gmail-smtp-in.l.google.com and 10 alt1.gmail-smtp-in.l.google.com). Lower numbers mean higher priority. Sending servers always try the lowest priority value first and only fall back to higher-numbered backup servers if the primary server is unreachable.
Common MX Configuration Mistakes
- Pointing MX to a CNAME: RFC standards prohibit MX records from pointing to a CNAME alias; they must point to an A or AAAA record.
- Missing Trailing Dot or Wrong TTL: Misconfigured DNS zones can cause bounces during domain migrations.
- Forgetting MX on Subdomains: Sending or receiving on
mail.example.comrequires its own MX record.
You can inspect live MX priorities and TTL values for any domain right now using our MX Record Lookup tool.