DMARC record generator

Choose a policy and where reports should go, and copy the TXT record to your DNS host. Everything runs in your browser: nothing you type is sent or stored.

Optional, but recommended. Separate several addresses with commas.

Policy
Advanced options

Publish this TXT record

Host / name
_dmarc
Value
v=DMARC1; p=none

Type: TXT. Some DNS hosts add your domain to the name automatically; if yours does, enter only _dmarc.

  • p=none only monitors: nothing is blocked. It meets the Gmail and Yahoo bulk-sender minimum. Read the reports for a few weeks, then move to quarantine.
  • Without a rua= address you get no reports, so you cannot see who sends as your domain.

Short answer

A DMARC record is a TXT record at _dmarc.yourdomain. The smallest valid one is v=DMARC1; p=none. Since February 2024 Gmail and Yahoo expect anyone sending more than 5,000 messages a day to their users to publish at least that, alongside SPF and DKIM. Adding a rua= address gets you daily reports of who is sending as your domain.

Publishing it, step by step

  1. Check SPF and DKIM first with the domain health checker. DMARC passes only when one of them passes and matches your From domain.
  2. Build the record above with p=none and a report address you read.
  3. At your DNS host (Cloudflare, GoDaddy, Namecheap, your .pk registrar), add a TXT record with the host and value shown. If the host field already ends in your domain, enter only _dmarc.
  4. Wait for DNS to update (minutes to a few hours), then run the domain checker again.
  5. After two to four weeks of reports with no legitimate sender failing, move to quarantine, then reject.

What each tag means

  • p: what receivers do with mail that fails: none (deliver), quarantine (spam folder) or reject.
  • sp: the same, for subdomains. Left out, subdomains follow p.
  • pct: the share of failing mail the policy applies to, for a gradual rollout. Defaults to 100.
  • rua: where daily aggregate reports go. Addresses on another domain need that domain's permission.
  • adkim / aspf: relaxed (default) lets a subdomain match; strict needs the exact domain.

Learn more