Multiple SPF records on one domain: why mail fails and how to merge them
What's happening: A domain may publish only one TXT record starting with v=spf1. With two, every receiver returns SPF permerror, so SPF fails for all your mail. It usually happens when a second tool's setup guide says "add this SPF record" and it gets added instead of merged.
How to fix it
- In your DNS host, find every TXT record at the root (
@) that starts withv=spf1. - Merge them into one: keep a single
v=spf1, put everyinclude:from both records in it, and end with one~allor-all. Example:v=spf1 include:_spf.google.com include:sendgrid.net ~all. - Delete the extra record(s).
- Make sure the merged record stays under 10 DNS lookups.
Not sure which record is wrong? Check your domain free: it shows which of SPF, DKIM and DMARC is failing, in 5 seconds, no signup.
Rather have it done for you? $29
Your fix plan: the exact SPF, DKIM and DMARC records for your mail host, copy-paste ready, then we recheck live until all three pass. One time, per domain, no subscription.
Other fix guides
- Gmail 550 5.7.26 "sender is unauthenticated"
- Outlook 550 5.7.515 "required authentication level"
- SPF permerror: too many DNS lookups
- "dmarc=fail" in headers
- "dkim=none" / DKIM not set up
- Gmail "via" another domain next to your name
- "blocked using Spamhaus" bounce
- "spf=softfail" in headers
- Gmail 550 5.7.1 "likely unsolicited mail"
- Emails going to spam or junk (general)
- Yahoo / AOL 553 5.7.2 and DMARC rejections
- DMARC rua reports (the XML emails) explained
- Outlook.com / Hotmail 550 5.7.1 S3150 block list
- Gmail 421 4.7.28 rate limited
- Gmail 550 5.7.25 missing PTR / reverse DNS