Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Learn

DMARC record: how to create one

A DMARC record is a DNS TXT record published at _dmarc.yourdomain whose value starts with v=DMARC1 followed by p=none, quarantine or reject. A safe starter is v=DMARC1; p=none; rua=mailto:dmarc@yourdomain, which reports without affecting delivery.

The short answer
  • TXT record, host _dmarc, value beginning v=DMARC1 and then p=.
  • Set up SPF and DKIM at least 48 hours earlier, per Google guidance.
  • v and p must come first. A malformed record is ignored, so there is no policy.
Try the dmarc checkerFree, live, no signup

How do you create a DMARC record?

  1. 01

    Prepare SPF and DKIM

    Both should already work for your main sending service.

  2. 02

    Create a report mailbox

    A group or mailbox on the same domain. A different domain needs an extra DNS record.

  3. 03

    Add the TXT record

    Host _dmarc, value v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.

  4. 04

    Avoid duplicate suffixes

    Some DNS hosts append the domain, so enter only _dmarc, not _dmarc.example.com there.

  5. 05

    Check it

    Run the DMARC checker and confirm the record parses.

  6. 06

    Watch reports, then enforce

    Follow the policy rollout.

What tags can a DMARC record contain?

RFC 7489, section 6.3, with RFC 9989 notes
TagMeaningDefault
vVersion, must be DMARC1 and firstRequired
pnone, quarantine or rejectRequired
spPolicy for subdomainsSame as p
ruaWhere aggregate reports go (mailto:)None
rufWhere per-message failure reports goNone
adkim / aspfAlignment mode: r relaxed or s strictr
pctShare of failing mail the policy applies to100
foFailure reporting options, ignored without ruf0

What does a starter and a strict record look like?

Host _dmarc, type TXT
_dmarc.example.com.  IN  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@example.com"
_dmarc.example.com.  IN  TXT  "v=DMARC1; p=reject; rua=mailto:dmarc@example.com; adkim=s; aspf=s"

What makes a DMARC record fail to apply?

  • Two DMARC TXT records at the same host
  • v=DMARC1 not at the start, or a misspelled tag value
  • Published at the wrong name, such as dmarc.example.com instead of _dmarc.example.com
  • rua pointing to another domain without the authorization record that domain must publish
  • Gmail does not support ruf, per Google help, so do not rely on forensic reports from it

How do subdomains and alignment modes fit in?

Subdomain policy

sp sets a separate policy. Without it subdomains follow p.

Relaxed alignment

The default for adkim and aspf. Same organizational domain is enough.

Strict alignment

adkim=s or aspf=s requires an exact domain match, which breaks mail sent from subdomains.

RFC 9989 changes the details

RFC 9989 (May 2026) obsoletes RFC 7489, removes the pct tag, adds t (test mode), np and psd, and defines a missing p as none. Mailbox providers still publish pct guidance, so check their pages.

How do you change a record you already have?

  1. 01

    Copy the current value

    Keep a copy in case you need to roll back.

  2. 02

    Edit the existing TXT record

    Do not add a second one, which makes the policy unreliable.

  3. 03

    Change one thing at a time

    For example only the policy, or only pct.

  4. 04

    Watch reports for a few days

    Look for new failing sources before the next change.

What should you do after the record is live?

  • Confirm it with a DMARC checker the same day
  • Read the first aggregate reports within a few days
  • List every sending source and fix the failing ones
  • Document the record and who owns it, so a later edit is deliberate

Common questions

What should a DMARC record look like?

At minimum v=DMARC1; p=none. Add rua=mailto:address to receive aggregate reports. Publish it as one TXT record at _dmarc.yourdomain.

Do I need a separate DMARC record for subdomains?

No. A subdomain inherits the policy from the parent unless it publishes its own record or the parent sets sp. Use sp when subdomains need a different policy.

How long does a DMARC record take to work?

It depends on the TTL and resolver caches, so allow for propagation. Google asks you to wait at least 48 hours after setting up SPF or DKIM before adding DMARC.

Is ruf worth setting?

Gmail does not support ruf, per Google help, and RFC 9989 says sending failure reports is optional for receivers. Aggregate rua reports are the dependable data source.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.