
A Beginner's Guide to Mail Exchanger (MX) Records
Learn what MX records are, how priority hierarchies work, and how to verify your domain's email delivery infrastructure is healthy.
The Post Office of the Internet
If an A record is the front door to your website, the MX (Mail Exchanger) record is your domain's private post office box.
When someone sends an email to `support@yourcompany.com`, the sender's mail server interrogates global DNS exactly like a phonebook. It specifically asks: *"Which servers are legally authorized to receive mail for `yourcompany.com`?"*
Your domain's MX records respond directly, providing the target hostnames of your email provider. If you lack them, email vanishes into the void.
How Priority Works in MX Records
Unlike an A record, MX records require a Priority Value attached to the hostname. When an IT administrator sets up Google Workspace, for example, they configure a hierarchy:
- Priority 1: `aspmx.l.google.com`
- Priority 5: `alt1.aspmx.l.google.com`
- Priority 5: `alt2.aspmx.l.google.com`
- Priority 10: `alt3.aspmx.l.google.com`
The lowest number equals the highest priority.
When an email is dispatched to your domain, the sender's server will always attempt to deliver it to the Priority 1 server. If that primary server is suffering a catastrophic outage or is completely overwhelmed by traffic, the sending server will simply drop down the list and attempt the Priority 5 servers.
This brilliant system is what guarantees "zero downtime" for enterprise email.
Common MX Record Mistakes
Most emails fail delivery not because of spam filters, but sheer configuration errors.
- Pointing an MX Record to an IP Address: An MX record must legally point to a fully qualified hostname (like `mail.example.com`), never to a raw IP address like `192.168.1.1`.
- Missing a Null MX Record for Parked Domains: If you buy a domain just to park it and protect your brand, attackers will try to send spam from it. You should publish a "Null MX record" (Priority 0 reading `.`) which explicitly signals to the internet that this domain does absolutely zero email business.
- Leaving Legacy Host Provider Mail Servers Active: When you migrate from HostGator webmail to Outlook 365, you must delete the old MX records. If you leave them active, confused mail servers across the internet will randomly dump your client emails into the old, abandoned host servers.
How to Verify Your Configuration
You shouldn't wait until a customer complains about an email bouncing. Check your live configuration today.
Navigate to our MX Record Lookup tool, type in your domain, and review the live routing tree. Ensure only the servers provided by your active email host are listed, and that their priority scaling perfectly matches the host's documentation.



