Email records cheat sheet
SPF, DKIM and DMARC on one page: what each record does, where it goes, a sample value and the mistakes that break email.
About this
This part of the page in plain words. How we write our pages- Your domain, checked and fixed.
Email records cheat sheet
SPF, DKIM and DMARC: what each one does, a sample record and the usual mistakes.
SPFWho may send
- Lists the services allowed to send email as your domain.
- Name:
@· Type: TXT v=spf1 include:_spf.google.com ~all- Mistake: two SPF records. Keep exactly one.
- Mistake: more than 10 lookups. Each
include:counts. - Mistake:
+all. It lets anyone send as you.
DKIMSigned mail
- Adds a signature to each email that proves it wasn't changed.
- Name:
selector._domainkey· Type: TXT or CNAME google._domainkey→v=DKIM1; k=rsa; p=MIIB…- Your email service makes the key. Copy it exactly.
- Mistake: the host adds your domain twice (
…_domainkey.you.com.you.com). - Mistake: record added, but signing never turned on.
DMARCWhat to do with fakes
- Tells inboxes what to do with email that fails SPF and DKIM for your domain, and where to send reports.
- Name:
_dmarc· Type: TXT v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com- Start at
p=none, thenquarantine, thenreject. - Mistake: putting it on
@instead of_dmarc. - Mistake: jumping to
p=rejectbefore reading reports.
One SPF, DKIM for every sender, one DMARC. Check all three free at dnsfix.comDNSFix™ cheat sheet
Questions
Short answers to what people ask most about this.- What we found:
- What is the difference between SPF, DKIM and DMARC?
- SPF lists who may send email as your domain, DKIM signs each email so changes…
- Can a domain have two SPF records?
- No: a domain must have exactly one SPF record.
Show the 2 details
What is the difference between SPF, DKIM and DMARC? SPF lists who may send email as your domain, DKIM signs each email so changes show, and DMARC tells inboxes what to do with email that fails both and sends you reports. Can a domain have two SPF records? No. A domain must have exactly one SPF record. Two records make SPF fail, so merge every include into one.
Read more
This part of the page in plain words. How we write our pagesFixing your records takes minutes. The check is free, and DNSFix™ Pro watches your domain for you (mail records every 5 minutes, everything else every 4 hours) and tells you if anything breaks, with the exact fix.
This is about our paid plan. The domain check and everything it finds stay free.