Local Tools
LOCAL · API · AEO

SPF and DMARC Record Generator

Build both email DNS records, with a live count against the 10-lookup limit

100% Client-Side (0 Bytes Uploaded) Drive Vault
Loading local browser engine...

About SPF and DMARC Record Generator & FAQs

Pick the services that send mail for your domain, add your own servers and choose a policy. You get the SPF and DMARC TXT records with the exact host names to enter at your DNS provider, a counter for SPF's 10 DNS lookup limit, and a step-by-step rollout from none to quarantine to reject. Runs in your browser and makes no DNS queries.

What is the SPF 10-lookup limit?

A receiving server will do at most 10 DNS lookups while checking SPF. Each include, a, mx, exists and redirect costs one, and so does every lookup inside an included record. Go over and SPF returns a permanent error, which fails every message. ip4 and ip6 entries cost nothing.

Should I use ~all or -all?

~all (soft fail) is the safer default while you are still finding all your senders. With DMARC in place the difference matters less, because DMARC decides what happens to failing mail. Move to -all once reports show nothing legitimate is failing.

Why start DMARC at p=none?

p=none blocks nothing but sends you reports, so you can see every service sending as your domain. Fix those first. Then move to quarantine for a share of mail, raise it to 100%, and finally to reject. Jumping straight to reject often blocks your own invoices and newsletters.

Where do the records go?

Both are TXT records. SPF goes on the domain itself (host @) and there may only be one. DMARC goes on the _dmarc host, for example _dmarc.example.com.

Extensible Module

Component src/tools/founder/web-text/SpfDmarcTool.tsx; pure logic and its node self-check in logic.ts / logic.test.mjs. Sender presets are the PRESETS list in SpfDmarcTool.tsx.

Module path: src/tools/spf-and-dmarc-record-generator/
Read Extensibility Guide →