TempMailGen Logo TempMailGen
← All Guides
DNS & Infrastructure • 5 min read

What Is an MX Record? How Mail Exchanger Priorities Route Email

Published 2026-11-24

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

You can inspect live MX priorities and TTL values for any domain right now using our MX Record Lookup tool.

Keep Reading & Try Our Free Tools

Privacy Guide • 6 min read

What Is Temporary Email and How Does a Disposable Inbox Protect You?

Learn what temporary email is, how disposable email addresses stop spam and data breaches, and when to use a 10-minute or 24-hour inbox.

Architecture • 7 min read

How Does Temp Mail Work? MX Records, MIME Parsing & Auto-Destruct

A technical deep dive into how temporary email services receive SMTP messages, parse MIME payloads, sanitize HTML, and auto-purge inboxes.

Live Inbox

Open Free Temporary Inbox →

Get an instant disposable email address with automatic OTP extraction.