Optimark Media

What do you need help with?

All 379 gigs$5 · $10 · $20

Start from the problem All guides ›

Bigger job? 3-session plans All 42 plans ›

Or browse by category

Free tool

SPF and DMARC record generator

Gmail and Yahoo expect senders to prove their mail is really theirs. Tick who sends email for your domain, choose a DMARC policy, and copy two DNS records. It runs in your browser; nothing is sent or stored.

Keep a copy before editing DNS. Existing senders are kept; selected providers below are added. Replace the one SPF TXT record, never add a second.

Senders to add
Already have DMARC? Preserve your settings before changing policy.

Load your existing TXT value to keep report destinations, subdomain policies, alignment and advanced tags. This workflow changes only p; it does not validate the complete record or query DNS.

Optional. No record has been loaded or published.

Keep the original as a backup. While a pasted record is present, the single report-inbox field below is disabled: existing destinations stay unchanged. Remove the pasted value to return to the new-record generator.

DMARC: what should receivers do with mail that fails?

Your DMARC rollout

A sender passing SPF alone may still fail DMARC if its domain is not aligned with the From address. DKIM is configured with your provider. The record generator does not test alignment or live mail; the reader below only summarizes a report’s claims.

1. SPF record

Type
TXT
Host / name
@
Enter your domain.

2. DMARC record

Type
TXT
Host / name
_dmarc
Enter your domain.

Paste an existing SPF record or choose the senders you actually use. No provider is assumed.

Review your draft before publishing. This tool does not query DNS or prove delivery.

Read before you enforce

Turn a DMARC report into a sender review.

Open one aggregate XML report from your reporting inbox. See the message-weighted alignment reported by that receiver and which sending sources to investigate.

Local processing only. This reader does not upload or store your file. Reports contain sending IPs and domains: use only reports you are authorized to inspect. Unzip .gz/.zip first; UTF-8 XML only, up to 512 KiB and 500 records. Leave this page or Clear to discard the reader’s contents.

Or paste the XML

Choose a report or paste XML. Your DNS records will not be changed.

Aligned results come from policy_evaluated, not raw authentication results. A fail can be unauthorized mail, forwarding or a legitimate configuration problem. One receiver and period cannot prove all your mail is safe. Reports can be incomplete, overlapping or forged; this does not verify signatures, ownership, DNS or delivery. Never add duplicate reports together. Verify all legitimate senders across reports before enforcing. We never tick the readiness box for you.

Before and after you publish

  • Add both records where your domain’s DNS is managed: your registrar, your host or Cloudflare.
  • Turn on DKIM too. Your email provider makes that record for you (Google Admin, Microsoft Defender, or your sending tool’s domain settings).
  • SPF allows at most 10 DNS lookups, and each include uses at least one. List only the services that really send for you.
  • DNS changes can take up to a few hours. Then run the free website check to see them live.

Rather do it together?

On a 1-hour live call we add SPF, DKIM and DMARC with you in your own DNS and email accounts, and test that mail passes.

Set it up live · from $5 Why mail lands in spam

Good to know: Optimark Media sells live technical help and setup services for advertising, analytics, website and cloud tools. We do not guarantee specific financial results, earnings, or ROI. All business outcomes vary based on individual execution, market conditions, and other factors.