How to identify an email host from MX records
MX (Mail Exchange) records tell the internet where to deliver email for a domain. Each MX record points to a server that handles incoming email, and many of these server names can reveal the hosting provider. If you know how to read them, you can figure out who’s running the mail system.
Why you might need to identify an email host from MX records
- Troubleshooting email delivery issues: Find the right provider to contact when emails bounce or get delayed.
- Migrating to a new email service: Update MX records to switch email hosting.
- Pointing your website to a new hosting without moving your domain or email from current provider: Updating only the necessary DNS records and retaining the MX records
- Auditing or securing a domain: Confirm mail is routed through trusted servers.
- Investigating spoofing or phishing: Verify if messages are truly from the claimed domain.
- Competitive research or IT tracking: Identify what services other companies are using.
How to check MX records
- Online lookup tools: Use MXToolbox and enter the domain name.
- Command line:
- Windows:
nslookup -type=mx example.com - macOS/Linux:
dig mx example.com
- Windows:
- Note the hostnames: Each MX record shows a priority and a server address.
How to interpret MX record results
- Exact matches: Match the hostname against known provider patterns.
- Generic hostnames: Use reverse IP lookup if it’s something like
mail.example.com. - Third-party filters: Some MX records point to spam filters like Proofpoint or Barracuda.
MX record identification cheat sheet
| Provider | Common MX record patterns |
|---|---|
| Google Workspace | aspmx.l.google.com, alt1.aspmx.l.google.com, alt2.aspmx.l.google.com, alt3.aspmx.l.google.com, alt4.aspmx.l.google.com |
| Microsoft 365 / Exchange Online | *.mail.protection.outlook.com |
| Zoho Mail | mx.zoho.com, mx2.zoho.com, mx3.zoho.com |
| GoDaddy Workspace Email | smtp.secureserver.net, mailstore1.secureserver.net |
| Bluehost | mail.<domain>, boxXXX.bluehost.com |
| HostGator | mail.<domain>, gatorXXXX.hostgator.com |
| InMotion Hosting | mail.<domain>, ecbizXXX.inmotionhosting.com |
| SiteGround | mx10.mailspamprotection.com, mx20.mailspamprotection.com, mx30.mailspamprotection.com, mxX.siteground.biz |
Tips for confirming the provider
Check also other DNS and Zone records by using other DNS checker tools like https://dnschecker.org/ which can help you verify other ownership and DNS records in relation to your webmail and hosting in general.
- Run reverse DNS lookups on the MX hostnames.
- Check WHOIS for the IP to see the ASN owner.
- Look at SPF/DKIM records for provider clues.
- Watch for spam filter intermediaries.