A DNS MX (Mail Exchange) record tells the internet where to deliver email for a domain.
It contains two key pieces of information:
- Mail server domain name â the server that handles incoming mail
- Priority value â a number that indicates which server to try first (lower numbers = higher priority)
For example, an MX record might look like:
10 mail.example.com.
This means email for example.com should go to mail.example.com with priority 10.