Glossary
What is MX record
Also: mail exchanger, mail record, email DNS record
MX records tell the world which mail servers receive email for your domain. Google Workspace, Microsoft 365 or your host each give you their own MX values; wrong or missing MX = no incoming mail.
An MX record (mail exchanger) is the DNS entry that says where email for @graincoffee.com should be delivered. It names a mail server (aspmx.l.google.com, yourdomain-com.mail.protection.outlook.com…) and a priority number — the lower, the more preferred — so a backup server can take over. It's the «deliveries to the back entrance» sign for your address. Email providers publish exact MX values in their setup guides; you paste them into the DNS zoneThe DNS zone is the full list of records for your domain — where the website is, where email goes, verification codes. You edit it at whoever runs your nameservers.→ once, and they must survive any change of website provider.
- Changing Nameservers (NS)Nameservers are the servers that hold your domain's DNS records. Changing them (usually two addresses like ns1.example.net) hands the whole DNS setup to a new provider — the simplest way to connect a domain to a website.→ without re-creating MX records silently stops incoming email — the most common migration mistake.
- Pair MX with SPFSPF is a TXT record listing which services may send email from your domain (your mail provider, newsletter tool, website forms). Without it your emails land in spam more often.→, DKIMDKIM adds a digital signature to every email sent from your domain so receivers can check it wasn't forged or altered. Set up with one or two DNS records from your mail provider.→ and DMARCDMARC is a DNS rule that tells mail servers what to do with messages that fail SPF/DKIM checks (ignore, quarantine, reject) and where to send reports. Gmail requires at least a basic one for bulk senders.→ so your outgoing mail isn't marked as spam.
- Only one email provider per domain: mixed MX sets from two providers lose mail.