What are MX Records?
MX (Mail Exchange) records are DNS resource records that specify the mail server responsible for
accepting email messages on behalf of a domain. Without correct MX records, email sent to
user@yourdomain.com would have no way to reach its destination. MX records also carry a
priority value (an integer from 0 to 65535) — lower numbers indicate higher preference,
allowing organizations to configure primary and backup mail servers.
How Email Routing Works
When someone sends an email to alice@example.com, the sending server performs a DNS lookup
for example.com's MX records. The sending SMTP server then connects directly to the mail
server hostname returned by the highest-priority (lowest number) MX record. If that server is
unavailable, the sending server falls back to the next priority, and so on.
Common MX Record Configurations & Providers
| Provider | Example MX Hostname | Priority |
|---|---|---|
| Google Workspace | aspmx.l.google.com | 1 |
| Microsoft 365 | [tenant].mail.protection.outlook.com | 0 |
| Proofpoint | [domain]-com.mail.protection.outlook.com | 10 |
| Mimecast | eu-smtp-inbound-1.mimecast.com | 10 |
Use Cases for Bulk MX Record Extraction
- Deliverability Auditing: Validate that all your company's sending domains point to the correct mail server and haven't been silently changed (a common vector in DNS hijacking attacks).
- Lead Scoring & Prospecting: Agencies and sales teams use MX data to qualify leads: companies with Google Workspace or Microsoft 365 MX records are generally well-funded businesses, while free email providers indicate individual users or small operations.
- Security Research: Identify which email gateway or anti-spam filter (Proofpoint, Mimecast, Barracuda) a target organization uses, informing security assessment approach.



