Checks / DNS

The domain does not have an SPF record

Check
dns.spf
Severity
low
Runs
on our side, against a domain you verified
Looks at
TXT v=spf1 on the domain
Updated 26 Nov 2026

What the check looks at

Once a day the service looks up the TXT records of the domain and checks for one that starts with v=spf1. It fails when there is none. Two v=spf1 records also count as a problem: SPF then fails for every message.

Why it matters

SPF (RFC 7208) lists the servers allowed to send mail with the domain in the envelope sender. Receiving servers use it, together with DKIM and DMARC, to tell your mail from forgeries. Without SPF, mail in your name is easier to forge, and your own mail is more likely to land in spam. Domains that do not send mail at all are a favourite for phishing because nobody watches them.

How to fix it

Find every service that sends mail as the domain: your mail host, the web application, newsletter and ticket tools, the invoicing system. Each provider documents the include: or addresses to use. Then publish one TXT record at the domain:

example.com.  TXT  "v=spf1 mx include:_spf.mailprovider.example ~all"
  • mx allows the mail servers of the domain; ip4:203.0.113.10 allows one address; include: pulls in the record of a provider.
  • End with ~all (soft fail) while you check that nothing legitimate is missing, then change to -all (fail).
  • Keep to at most 10 DNS lookups in total (include, a, mx, ptr, exists, redirect, including those inside included records). More makes SPF fail.
  • If you already have a record, extend it; never add a second one.

A domain that does not send mail:

example.net.  TXT  "v=spf1 -all"

Add a DMARC record with p=reject and a null MX (MX 0 .) as well; see the e-mail DNS guide.

The record is set at your DNS provider, not on the server.

How to check the fix

dig +short TXT example.com | grep spf1

There should be one line. DNS changes can take as long as the TTL of the old answer to reach everyone. Send a test message to a mailbox you control at a large provider and look for spf=pass in the Authentication-Results: header.

When a warning is fine

  • Subdomains used only for websites usually do not need their own SPF record, but the main domain does. A DMARC record with sp=reject on the main domain covers subdomains that never send mail.

Sources