webzod
account

Fix the syntax error in the SPF record on Cloudflare

email.spf.invalid_syntax · effort: minutes

Why it matters

Receivers return a permanent error for an SPF record they cannot parse, so SPF fails for every sender until it is fixed. The scan names the part that did not parse.

The fix

  1. In the Cloudflare dashboard open DNS > Records, find the TXT record whose Content starts with v=spf1 and choose Edit.
  2. Retype the Content by hand if it came from a document or chat (they often turn straight quotes into curly ones), fix the part named in the finding, and save. Cloudflare adds the surrounding quotes itself, so do not type them.
text
Type:     TXT
Name:     example.com
Content:  v=spf1 include:_spf.YOUR-MAIL-PROVIDER.example ip4:203.0.113.25 ~all

The examples use example.com. Replace it with your own domain.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.