Guides · Email authentication records

SPF: who may send for your domain

One SPF record per domain, within ten DNS lookups, ending in a clear policy.

What it does

SPF lists the servers allowed to send email for your domain. Receivers look it up when a message arrives and compare the sending server with the list.

The rules that matter

Publish exactly one SPF record. Two records starting with v=spf1 make SPF fail for every message; merge them into one.

SPF may use at most ten DNS lookups in total, counting every include:, a, mx, ptr, exists and redirect, including those inside the services you include. Above ten, receivers treat SPF as a permanent error. Sendavio counts them for you.

End the record with ~all (soft fail) or -all (fail). +all lets anyone send as you and is always wrong.

TXT record at @v=spf1 include:_spf.google.com ~allGoogle Workspace only.
TXT record at @v=spf1 -allA domain that never sends email.

Adding a service

Each sending service documents its own include. Add it to your one existing record, before the final ~all or -all, instead of publishing a second record. The free SPF builder on the tools page does this for you.

See what your domain publishes today: run the free email security checker.

Have Sendavio check this for you

A free account checks your domains every day and tells you when a record changes or breaks.