Skip to content
SysA&E

SPF record builder

Assemble a valid SPF record from providers, IPs and a policy.

Runs in your browser. Nothing you enter leaves this device.

Loading tool…

What this tool does

Build an SPF record by ticking the services that send mail for your domain. The record updates as you go, with a running lookup estimate and a check for syntax problems.

How to use it

  1. Tick each provider that sends mail as your domain.
  2. Add any servers of your own by IP address or range.
  3. Choose how strict the policy should be.
  4. Copy the record and publish it as a TXT record on the domain itself (host @).

Questions and answers

Where do I publish the record?

As a TXT record at the root of the domain, usually entered as host @ or left blank. A domain must have exactly one record starting with v=spf1; merge into the existing one instead of adding a second.

Do subdomains inherit the record?

No. Each hostname that sends mail needs its own SPF record. Subdomains that never send mail can publish "v=spf1 -all".

My record is longer than 255 characters. Is that a problem?

A single TXT string holds 255 characters, so longer records are split into several quoted strings that DNS joins back together. The builder shows the split form when you need it.