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

Services that send as your domain
Your own servers and other senders
Mail from any other server

With DMARC at enforcement, ~all and -all protect the same way, because DMARC decides. Use -all once you are sure every sender is listed.

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.

Policy for mail that fails (p=)

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

    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