Daily / 2026-11-28

SPF record over 255 characters? Split it into quoted strings

November 28, 2026

If your SPF record is long, a single DNS TXT string can't hold more than 255 characters. Many DNS panels reject it or silently truncate it, and a cut-off record can fail SPF.

The fix is to split the record into several quoted strings inside the same TXT record. Receivers join them back together without adding spaces, so split between terms, not in the middle of one.

Example

`"v=spf1 include:_spf.google.com include:mailgun.org " "include:sendgrid.net ~all"`

Many hosts split automatically if you paste the whole value, so check what the panel saved. Also keep the total under 10 DNS lookups.

Full guide: SPF record longer than 255 characters

Check your domainFree SPF, DKIM, DMARC, MX and blacklist check.
Run the free checker
Free weekly report for your domainOne email every Monday with your SPF, DKIM, DMARC, MX and blacklist status and what changed since last week. No card.
See the free weekly report