SPF/DMARC Record Generator

Webmaster Tools 31 uses

An online SPF and DMARC record generator: visually configure sending sources, mechanisms and policies, generate standard TXT records with one click, and get DKIM tips — essential for email deliverability and anti-spam setup.

Notes: keep only one SPF record per domain — multiple records cause validation failures; the total number of DNS lookups in SPF (include, a, mx, etc.) should not exceed 10; use -all (hard fail) or ~all (soft fail) to define an explicit fallback; add the record as a TXT record on host @.
Notes: add the DMARC record as a TXT record on the _dmarc subdomain; start the p policy at none to observe, then move to quarantine or reject once reports confirm; the rua/ruf addresses must be mailboxes able to receive email; pct is for gradual rollout, so increase it step by step.
DKIM tip: DMARC only takes effect together with SPF or DKIM. Generate DKIM keys at your mail provider, publish the public key as a TXT record on the selector._domainkey subdomain, and sign outgoing mail with the private key.