What is SPF?

What is SPF: SPF (Sender Policy Framework, RFC 7208) is a TXT record at your domain that lists the servers and services allowed to send mail using your domain in the envelope sender. Receivers check the sending IP against it. A domain must have exactly one SPF record, and evaluating it may take at most 10 DNS lookups across all nested includes.

Who uses it

In the latest scan, 85.4% of the top 1,998 sites had a valid SPF record, 12% had none and 1.5% needed more than the 10 DNS lookups SPF allows. (ShieldByte daily scan of December 1, 2026.)

Highest-ranked sites with valid SPF: google.com, facebook.com, youtube.com, instagram.com, linkedin.com, twitter.com, apple.com, googletagmanager.com, microsoft.com, github.com.

Highest-ranked sites with no SPF record: apps.apple.com, en.wikipedia.org, maps.google.com, docs.google.com, nginx.org, maps.app.goo.gl, drive.google.com, support.google.com, player.vimeo.com, forms.gle.

How it works

The record starts with v=spf1, lists mechanisms such as include:_spf.google.com, ip4:192.0.2.0/24 or mx, and ends with an all-term: ~all (softfail, a safe default), -all (fail) or, never, +all (anyone passes).

Common mistakes

Build one record for your providers with the SPF generator, or see the provider guides.

Check your own domain. Other records: DKIM · DMARC · MTA-STS · TLS-RPT · BIMI.

Site list: Majestic Million by Majestic (majestic.com), licensed CC BY 3.0.