Set up business email on your domain: MX, SPF, DKIM and DMARC
· 6 min read
An address like you@yourbrand.com looks professional, but it only works well when four DNS records are right. Whichever email provider you use, these are the records it will ask you to add.
MX: where your email is delivered
MX records name the servers that receive mail for your domain, each with a priority (lower is tried first). Your email provider gives you these values. Remove MX records of a service you no longer use, or some mail will go there.
SPF: who may send as your domain
SPF is a TXT record on @ that lists the servers allowed to send mail for your domain, for example "v=spf1 include:_spf.example.com ~all". A domain must have only one SPF record: if you use two services, combine them in one record.
DKIM: a signature on every message
DKIM lets receiving servers check a signature on each message. Your provider gives you a TXT record with a long public key, on a name like "selector._domainkey".
DMARC: what to do with mail that fails
DMARC is a TXT record on "_dmarc" that tells other servers what to do with mail that fails SPF and DKIM checks. Start with "v=DMARC1; p=none" to only observe, then move to quarantine or reject once everything legitimate passes.
| Name | Type | Example |
|---|---|---|
| @ | MX | 10 mail.provider.com |
| @ | TXT | v=spf1 include:_spf.provider.com ~all |
| selector._domainkey | TXT | v=DKIM1; k=rsa; p=… (from your provider) |
| _dmarc | TXT | v=DMARC1; p=none |
