45 guides · updated 10 Nov 2026
SPF, DKIM and DMARC: setup guides and errors explained
Short, specific answers: the exact records each email provider needs, what to type at each DNS host, and what each SPF, DKIM, DMARC or bounce error means and how to fix it. Every page cites the provider's or standard's own documentation (checked 10 Nov 2026).
Want to see where a domain stands first? Run the free SPF, DKIM, DMARC and MX check: DNS lookups only, no sign-up.
Set up SPF, DKIM and DMARC by email provider
The exact records each sending service asks for, where to find them in its console, and how to make DMARC align.
- How to set up SPF, DKIM and DMARC for Google Workspace
- How to set up SPF, DKIM and DMARC for Microsoft 365
- How to set up SPF, DKIM and DMARC for Zoho Mail
- How to set up SPF, DKIM and DMARC for Amazon SES
- How to set up SPF, DKIM and DMARC for SendGrid
- How to set up SPF, DKIM and DMARC for Mailgun
- How to set up SPF, DKIM and DMARC for Postmark
- How to set up DKIM and DMARC for Mailchimp (and is SPF needed?)
Add the records at your DNS host or registrar
Where the DNS editor is, what to type in the Host or Name field, and the quirks that break records at each company.
- How to add SPF, DKIM and DMARC records in Cloudflare DNS
- How to add SPF, DKIM and DMARC records in GoDaddy DNS
- How to add SPF, DKIM and DMARC records in Namecheap
- How to add SPF, DKIM and DMARC records in Hostinger hPanel
- How to add SPF, DKIM and DMARC records in Porkbun
- How to add SPF, DKIM and DMARC on a Squarespace domain
- How to add SPF, DKIM and DMARC records in Amazon Route 53
- How to add SPF, DKIM and DMARC records in DigitalOcean DNS
SPF, DKIM and DMARC errors explained
What each error or bounce code means, how to confirm the cause from DNS or headers, and the fix.
- DKIM 'body hash did not verify': causes and fixes
- DKIM 'no key for signature' or 'key not found': how to fix it
- DKIM key too long for a TXT record: how to publish a 2048-bit key
- How to find your DKIM selector (and common selectors by provider)
- No DMARC record found: what it means and the record to add
- Multiple DMARC records found: why receivers ignore both
- DMARC fails but SPF or DKIM passes: alignment explained
- DMARC for subdomains: the sp= tag and subdomain records
- DMARC reports to another domain: the _report._dmarc authorization record
- How to move DMARC from p=none to p=reject safely
- DMARC syntax errors: invalid records and how to correct them
- How to read a DMARC aggregate (rua) report
- Gmail 550 5.7.26: unauthenticated email blocked by DMARC policy
- Gmail 5.7.32: From header not aligned with SPF or DKIM
- Outlook 550 5.7.515: sending domain does not meet the required authentication level
- How to read the Authentication-Results header (SPF, DKIM, DMARC)
- SPF PermError: too many DNS lookups (the 10-lookup limit) and how to fix it
- Multiple SPF records found: why it fails and how to merge them
- SPF ~all vs -all: softfail or hardfail, which should you use?
- SPF void lookup limit: what 'too many void DNS lookups' means
- SPF syntax errors: the 9 mistakes that break SPF records
- SPF include not found: when an include domain has no SPF record
- SPF record too long: the 255-character string limit and 512-byte advice
- SPF, DMARC and MX for parked domains that never send email
- No MX record: why replies to your emails bounce and how to fix it
- How long do SPF, DKIM, DMARC and MX changes take to work?
- How to check SPF, DKIM and DMARC with dig and nslookup
- Gmail 5.7.25 / 4.7.23: sending IP has no PTR (reverse DNS) record
- Gmail 5.7.27 and 5.7.30: bulk mail blocked for failing SPF or DKIM
Questions
Which records does every sending domain need?
MX (to receive replies), one SPF TXT record at the root, a DKIM key at selector._domainkey, and a DMARC TXT record at _dmarc. Gmail, Yahoo and Outlook.com expect all of them from bulk senders.
In what order should I set them up?
MX and provider verification first, then SPF, then DKIM (publish the key before switching signing on), and DMARC last at p=none, tightening later.
How do I check my records for free?
Use ReplyDak's free deliverability check at /tools/deliverability-check. It reads MX, SPF, DKIM and DMARC from public DNS, counts SPF lookups and checks blocklists, with no sign-up.
ReplyDak publishes MX, SPF, DKIM, DMARC and verification records automatically on every sending domain it sets up, with Google Workspace mailboxes. See pricing or read the SPF, DKIM and DMARC for cold email overview. After authentication: sending limits, bounce codes, blocklist removal and mailbox-provider rules.