Email1 min readUpdated

DNS for email: MX, SPF, DKIM and DMARC

What each record does, examples, and the mistakes that send order emails to spam.

Four DNS records decide whether your email arrives and stays out of spam.

RecordTypeWhat it does
MXMXWhere email for the domain is delivered.
SPFTXT on the domainWhich servers may send email for the domain.
DKIMTXT on <selector>._domainkeyA signature that proves the email was not changed and comes from you.
DMARCTXT on _dmarcWhat receivers do when SPF or DKIM fail, and where they report.

Examples

example.com.          MX   10 c12345.shopwhizzyhosts.com.
example.com.          TXT  "v=spf1 a mx ip4:203.0.113.10 ~all"
_dmarc.example.com.   TXT  "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"

Copy the exact DKIM record from the Email tab: it is long and unique to your domain.

Only one SPF record per domain. If you also send through Google Workspace, Microsoft 365 or a newsletter tool, merge them into one record: v=spf1 a mx ip4:203.0.113.10 include:_spf.google.com ~all.

Did this solve it? If not, tell us what you see and we look at your server.

Open a ticket

Still stuck? Ask a person.

Tickets go straight to the engineers who run ShopWhizzy servers. Tell us the store, what you see and when it started, and we take it from there.