Warning

Your SPF record allows a very large address range

The short version

Narrow the range to the addresses that really send your mail.

What it means

Your SPF record allows a very large block of addresses: an IPv4 range wider than /16 (65,536 addresses) or an IPv6 range wider than /32. Sometimes this is a typo, such as /8 instead of /28, and sometimes a range was copied from a hosting company's whole network.

Why it matters

Every address in the range may send mail as your domain and pass SPF. A wide range almost always includes servers run by other companies and their customers, so strangers can send forged mail that passes your SPF check. Some receivers also treat very broad records as a sign of a careless setup.

How to fix it

  1. Find out which addresses really send your mail: ask your provider, or look at the sending IPs in your DMARC reports.
  2. Replace the wide range with those addresses, or with the narrowest range your provider documents, such as a /24 or /28.
  3. If the range belongs to a provider that offers an include:, use that instead; they keep it up to date for you.
  4. Check the record in the SPF builder, then update the TXT record.

Cloudflare

Open the domain, go to DNS then Records, and edit the TXT record whose content starts with v=spf1. Save, and keep the proxy setting off; TXT records are never proxied.

Other DNS hosts

Open the DNS settings for the domain, find the TXT record for the root of the domain (shown as @ or left blank), and edit its value. Don't add a second TXT record that starts with v=spf1.

Check it worked

Run the SPF checker or the full email check on your domain. Changes show up once the old record's TTL has passed, usually within an hour. The finding should be gone and the SPF section should show your new record with its lookup count.