FIX-IT GUIDE

← Back to the email security check

Fixing SPF

SPF is a DNS record that lists which mail servers are allowed to send email using your domain, and tells receiving servers what to do with the rest.

Where it goes

The record is added at your DNS host, which is wherever your domain’s name servers are managed: often the registrar you bought the domain from, sometimes your web host. It is not added inside Microsoft 365 or Google Workspace; those only tell you what the record should say.

It is a TXT record on the domain itself (the host name is usually written as @), and a domain may have only one SPF record.

Microsoft 365

The standard record for a domain whose mail is handled by Microsoft 365:

  1. v=spf1 include:spf.protection.outlook.com -all

Google Workspace

The standard record for a domain whose mail is handled by Google Workspace:

  1. v=spf1 include:_spf.google.com -all

The two common mistakes

Two SPF records instead of one. Each tool that asks you to “add our SPF record” means add its include to the one record you have, not create a second one. Receivers treat two records as none.

Forgetting your other senders. Your CRM, newsletter tool, practice-management software and invoicing system may all send email as your domain. Each needs its own include in the same record. This is why ending the record with ~all (soft fail) is a reasonable first step while you find them all, and -all (hard fail) is the destination once you have.

Confirm it worked

DNS changes can take a few minutes to an hour to show. Then run the check again; the SPF row should read OK.

What this check does not cover

The settings above are yours to change, and the guides linked to each finding walk your administrator through it. They protect other people from email pretending to be you. They do not protect your team from the fake and phishing emails they receive every day, or your laptops if someone clicks. That is what Lunaris does.

See what Lunaris covers

← Back to the email security check