Prompt
How do I check MX records for an email domain?
Latest observation
Nov 20, 2026
OpenAI APIWeb search: off
To check MX records for a domain, use one of these methods:
Command line
-
macOS/Linux:
dig MX example.comor:
nslookup -type=mx example.com -
Windows (Command Prompt):
nslookup -type=mx example.com
What to look for
MX records show the mail servers responsible for receiving email for the domain. The response will usually include:
- the mail server hostname
- a priority number
Lower priority numbers are preferred first.
Example:
example.com. 3600 IN MX 10 mail.example.com.
Online tools
You can also use DNS lookup tools like:
- MXToolbox
- Google Admin Toolbox CheckMX
- DNSChecker
If you want, I can also show you how to interpret MX record results.