SPF, DMARC and DKIM Builder
Fix the records Security Posture or Email Validation flagged without leaving the page. Load your domain to start from what is published, switch senders on and off while the SPF lookup count updates against the 10-lookup limit, then copy the new TXT records. The DMARC rollout plan takes you from monitoring to reject one safe step at a time.
Start from your current records
The selector is the s= value in a message’s DKIM-Signature header, such as google or selector1. Leave it empty to skip DKIM. You can also skip loading and build from scratch.
SPF: who may send as your domain
Tick every service that sends mail with your domain in the From address, add your own servers, then publish one TXT record at the domain. Each include costs DNS lookups, and receivers stop at 10.
0 of 10 DNS lookups
Estimated
Dry run: would this address pass?
DMARC: what receivers do with mail that fails
DMARC passes when SPF or DKIM passes for a domain that matches the From address. Publish one TXT record at _dmarc. followed by your domain.
Dry run: what happens to this message?
DMARC rollout plan
Each stage uses the reports, alignment and subdomain settings above and changes only the policy. Move on when the reports say so, not when the date arrives.
DKIM: the public key receivers check signatures with
Hosted mailboxes make the key for you: Google Workspace shows a TXT record in the Admin console, and Microsoft 365 gives two CNAME records in the Defender portal. Publish exactly what they show. Build a record here when you run your own mail server or a service gives you only the key.
No key yet? Make one in this browser
The key pair is made by your browser and never sent to us. Install the private key on your mail server, then publish the record above.
What it builds
- SPFSenders and lookupsCommon senders as toggles, your own ranges, and a live count of the 10 DNS lookups RFC 7208 allows, with includes you can flatten.
- DMARCPolicy and reportsp=, sp= and np=, test mode, report addresses with the authorization records outside domains need, and alignment.
- PlanFrom none to rejectFour stages with dates and the exact record for each, plus a dry run of a message against your draft.
- DKIMKey recordsReads a pasted key, checks its size against RFC 8301, splits long records, and can make a key pair in your browser.
Read Using the SPF, DMARC and DKIM Builder for a walk through each part, and the technical details for how lookups are counted and what the dry runs assume. Background: SPF, DKIM and DMARC and SPF and DMARC misconfigurations. After publishing, check the result with Email Validation.
More Related Tools
Free checks for email, certificates, networks and IP addresses. See all tools
- Email SecurityEmail ValidationMX, SPF, DKIM and DMARC read together
- Email SecurityBIMI Validator and BuilderBrand logo record, DMARC, SVG and VMC checked
- Email SecurityEmail Header AnalyzerTrace a message’s route and verdicts
- IP Address LookupReverse DNS and FCrDNS ValidatorPTR records that point back, for mail servers
- Network DiagnosticsDNS Propagation CheckerWhether a DNS change has reached resolvers worldwide
- Domain and DNS SecurityDNSSEC Chain ValidatorTrace DNSSEC from the root to the record
- Domain and DNS SecurityExternal Attack Surface MapperEvery host on one map, with takeover risks lit up
- SSL Certificates and TLSCertificate Authority CheckerEvery certificate for a domain, by issuing CA
- Search and Website OptimizationHTTP InspectorEvery redirect, header and status code
- Search and Website OptimizationShort URL ExpanderWhere a short link really ends, and if it’s safe
- SSL Certificates and TLSTLS Configuration CheckerProtocols and ciphers graded A+ to F
- Search and Website OptimizationSearch and AI OptimizerHow search engines and AI assistants see a site
- SSL Certificates and TLSCAA Record BuilderChoose which CAs may issue for a domain
- SSL Certificates and TLSTLS Chain CheckerThe chain a server sends, leaf to root
- IP Address LookupIP WHOIS LookupWho an IP address is registered to
- IP Address LookupASN LookupWho runs a network and what it announces
- Network DiagnosticsTracerouteEvery hop between a probe and a host
- Network DiagnosticsPingResponse times from probes worldwide
- Network DiagnosticsTCP Port CheckOpen, closed or filtered, port by port
- IP Address LookupWhat Is My IPThe address websites see, IPv4 and IPv6
- IP Address LookupSubnet CalculatorRanges, masks and host counts for any CIDR