SPF & DMARC record generator
Build a valid SPF record from your email providers and servers, and a DMARC record with the right policy and reporting addresses, ready to paste into your DNS.
Runs in your browser. Nothing you enter is looked up, sent or stored.
SPF record
- Type
- TXT
- Host / name
- @ (the domain itself)
v=spf1 ~allEach include counts towards SPF's limit of 10 DNS lookups, and providers' includes often contain more. Check the finished record with the SPF checker once it's published.
DMARC record
- Type
- TXT
- Host / name
- _dmarc
v=DMARC1; p=noneStart with p=none and a rua address, read the reports for a few weeks to confirm every real sender passes, then move to quarantine and finally reject.
How it works
Pick the services that send email for you, add any servers of your own, and choose a policy. The generator writes a single valid SPF record and a DMARC record, with where to put each in DNS. It checks addresses and ranges as you type and warns when you're close to SPF's 10-lookup limit.
After publishing, run the SPF, DMARC & DKIM checker to confirm everything resolves. Provider includes change occasionally, so confirm them on each provider's setup page.