- Home
- Free tools
- SPF and DMARC generator
Build the records. Then publish them.
Tick every platform that sends email as your domain and the SPF record is written for you, with the DNS lookup count so it stays under the limit. Set the DMARC policy you are ready for and get that record too. Everything runs in your browser.
Run the email health check on your domain first. Replace the existing SPF record rather than adding a second one; two SPF records is the same as none.
How to publish the records
Both records are TXT records in the DNS zone for your domain, at whichever provider the domain overview shows as your DNS host. The SPF record goes at the root of the zone (often shown as @); the DMARC record goes at the host name _dmarc. Changes take effect within the record's TTL, usually an hour or less.
The order that does not break mail
- Publish SPF with
~alland DMARC withp=noneand a reporting address. - Enable DKIM in every platform listed and publish the keys.
- Read two to four weeks of aggregate reports. A free or paid DMARC reporting service makes them readable. Every legitimate sender should show SPF or DKIM passing with alignment.
- Move to
p=quarantine, thenp=reject, and change SPF to-all.
Common questions
The generator says my record is close to ten lookups. What do I do?
Does our website contact form need to be in SPF?
We use HubSpot. Why is there no include for it?
Want it rolled out without blocking real mail?
We inventory every sender, publish the records, enable DKIM in each platform, read the reports and step the policy up to reject when the evidence says so.