Skip to content
Hookgap

SPF record generator

Tick the services that send email for your domain and get one valid SPF record, with a running count of DNS lookups against the limit of 10.

Services that send email as your domain

Before you publish

Frequently asked questions

Can a domain have two SPF records?

No. A domain must have exactly one TXT record starting with v=spf1. Two records make SPF fail for every message, so add new senders to the existing record.

Should I end SPF with ~all or -all?

With an enforced DMARC policy, ~all is a sound default because DMARC makes the final decision. A domain that never sends email should use v=spf1 -all.

How many includes can SPF have?

Evaluating the record may take at most 10 DNS lookups, counted recursively through every include. Over 10 and SPF returns a permanent error.