Skip to content

Email and DNS

SPF record

An SPF record is a DNS TXT record that lists the servers allowed to send email for your domain, so receivers can spot mail that only pretends to come from you.

Scanetra rating: Low to mediumCheck DNS-01

Why it matters

Without SPF, anyone can send email that claims to be from your domain, for phishing your customers or staff, and receiving servers have less to go on. Even a domain that never sends email benefits from saying so.

What Scanetra looks for

  • A TXT record on your domain starting v=spf1. No record, or more than one, is an issue.
  • A record ending in +all, or a bare all, which allows every server (an issue).
  • A record ending in ?all or with no all, which gives receivers no answer (a note).

It reads your domain's public DNS records and sends nothing to your website. How a scan works

How to fix it

Google Workspace

v=spf1 include:_spf.google.com ~all

Microsoft 365

v=spf1 include:spf.protection.outlook.com ~all

More than one sender

Combine every service in one record. Each email or newsletter service gives its own include:

v=spf1 include:_spf.google.com include:sendgrid.net ~all

A domain that never sends email

v=spf1 -all

Where to add it

At your DNS host (Cloudflare, GoDaddy, Namecheap, your registrar): add a TXT record with the name @ (the domain itself) and the value above. If an SPF record already exists, edit it rather than adding a second one.

Replace example.com with your own domain, and test changes on a staging copy first where you can.

Check that it worked

Running dig +short TXT your-domain shows one record starting v=spf1. Then scan again.

Check your own site

A free scan tells you whether your site passes this check, and the 24 others.

Scan a website