SPF, DKIM and DMARC for cold email domains
Short answer
SPF lists the servers allowed to send for your domain. DKIM signs each email so receivers can check it wasn't changed. DMARC tells receivers what to do when those checks fail. Every outreach domain needs all three. We add them for you when we set up a domain.
Why they matter
Since February 2024, Google's email sender guidelines require SPF or DKIM on all mail sent to Gmail, and SPF, DKIM and DMARC for anyone sending more than 5,000 emails a day to Gmail accounts. Mail without them is far more likely to be rejected or filtered.
What the records look like
All three are TXT records in your domain's DNS. These are examples, not values to copy:
| Record | Host | Type | Value |
|---|---|---|---|
| SPF | example.com | TXT | v=spf1 include:_spf.your-mail-host.example ~all |
| DKIM | selector._domainkey.example.com | TXT | v=DKIM1; k=rsa; p=MIIBIjANBgkqh… |
| DMARC | _dmarc.example.com | TXT | v=DMARC1; p=none; rua=mailto:[email protected] |
SPF
One TXT record on the domain itself, starting v=spf1. It names the servers (directly or through include:) that may send mail for the domain, and ends with what to do about everyone else.
DKIM
Your mail server signs every email with a private key. The matching public key sits in DNS under a selector name, at selector._domainkey. Receivers fetch it and check the signature.
DMARC
One TXT record at _dmarc. The policy p= can be none (just report), quarantine (send to spam) or reject. rua= is where daily reports go.
Mistakes that stop mail arriving
- Two SPF records on one domain. SPF allows only one. With two, the check fails outright (RFC 7208). Merge them into one record.
- Too many lookups in SPF. SPF allows at most 10 DNS lookups, counting every
include:and the includes inside them. Past 10, the check fails. - DKIM key published but not used. The key is in DNS but the mail server isn't signing yet, or signs with a different selector.
- No DMARC record at all. Starting with
p=noneis fine. Having nothing is not. - Records added at the wrong host. Some DNS providers add your domain to the host name automatically, so typing the full name gives
_dmarc.example.com.example.com.
Do I have to do this myself?
Not with us. When we buy a domain for you, we add all three records. If you bring a domain you already own, the app shows each record to add and checks them for you. Then the mailboxes warm up.