SPF and DMARC generator
Tick the services that send email for your domain and choose how strict to be. You get both records ready to paste into your DNS, with a note on anything to watch.
How the generator helps
Every common sender
Your hosting server and cPanel email, Google Workspace, Microsoft 365, Zoho and popular sending services, plus any other servers you add.
A safe way to tighten up
Start gently with “~all” and DMARC monitoring, then move to quarantine or reject once your reports show your real email passes.
Checked as you type
We warn about the 10-lookup limit, a missing report address and other common mistakes. Then test the result with our email checker.
Understand your results
Plain-English guides from the AuroxHost Journal.
SPF and DMARC generator: common questions
Where do I add SPF and DMARC records?
In your DNS. In cPanel, open Zone Editor, choose Add Record, pick TXT and paste the value. The SPF record goes on the domain itself (@ or the domain name) and the DMARC record on the name _dmarc.
Can I have two SPF records?
No. A domain must have exactly one SPF record, or receivers treat SPF as broken. If several services send your email, list them all in one record, as this generator does.
Should I use ~all or -all?
~all (soft fail) asks receivers to treat other senders as suspicious, which is safe while you check everything is listed. -all (fail) asks them to reject other senders: use it once every service that sends your email is in the record.
Which DMARC policy should I start with?
Start with p=none and a report address, so you see who sends email as your domain without affecting delivery. When the reports show your real email passes, move to p=quarantine and then p=reject.
Everything you need to check a website
A faster, safer home for your website
NVMe hosting with free SSL that renews itself, daily backups and free migration, with real people on WhatsApp 24/7.