Hamilton Group · Free Tool

SPF & DMARC Record Generator

Build correct SPF and DMARC DNS records for your domain — then copy and paste them into your DNS. Stops attackers spoofing your email.

SPF
DMARC
Who sends email for your domain?
Your own mail servers
Authorise this domain’s MX servers adds mx
Authorise this domain’s A record adds a
Enforcement
Type: TXTHost / Name: @TTL: 3600
v=spf1 -all

How to use these

Add each record in your DNS provider’s control panel as a TXT record at the Host/Name shown. Changes can take up to an hour to take effect.

Order of play: publish SPF and enable DKIM in your mail platform first, then start DMARC at p=none to gather reports, and tighten to quarantine then reject once your legitimate mail is passing.