Skip to content
Free website migration on every plan, done by our team.Learn more ›
Free tool · Email

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.

1Who sends email for this domain?
2Email from anywhere else
3DMARC: what to do with fakes
How it works

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.

Questions

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.

More free tools

Everything you need to check a website

Email security checkerGrade a domain’s SPF, DKIM and DMARC and see why email lands in spam.Email blacklist checkerSee if a mail server IP or a domain is on the email block lists.WHOIS lookupSee who a domain is registered with and when it expires.DNS lookupCheck A, MX, TXT, SPF, DMARC and other records in seconds.SSL checkerCheck a site’s certificate, who issued it and when it expires.Website speed testMeasure how fast a server answers, plus its security headers.What is my IP?See the public IP address websites see when you visit.Domain name generatorTurn a few words into domain names that are free to register.Website checkerOne check for DNS, SSL, speed, security headers and email protection.Hosting plan finderAnswer five quick questions and get the hosting plan that fits.IP address lookupLook up any IP: its provider, network, country, reverse DNS and abuse contact.DNS propagation checkerSee if a DNS change has reached the world’s big DNS resolvers yet.Subnet calculatorNetwork, host range and masks for any IPv4 or IPv6 subnet.Password checker and generatorTest a password’s strength and create strong ones, privately in your browser.Uptime calculatorTurn an uptime percentage into real downtime per day, month and year.Binary translatorTurn text into binary or hex and decode it back, in your browser.Base64 encoder and decoderEncode text to Base64 or decode Base64 back to text.Hash generator (SHA-256)SHA-256, SHA-1, SHA-384 and SHA-512 hashes of any text.Unix timestamp converterTurn a Unix timestamp into a date, or a date into a timestamp.Chmod calculatorWork out file permission numbers such as 644 and 755.
See all 21 free tools
AuroxHost

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.