DMARC configuration

How to Create and Publish a DMARC Record: Monitoring to Enforcement

Build a current DMARC TXT record, configure controlled reporting and review alignment, subdomains and policy changes before publishing.

A DMARC rollout starts with understanding your email sources, not choosing the strongest-looking policy. Create a reviewed draft, publish it at the correct DNS owner and use real authentication evidence to decide whether a later change is appropriate.

The DMARC Record Generator builds a TXT value locally. It can import a current record, preserve extensions, compare changes and optionally inspect DNS. It does not publish records or certify that your legitimate email will authenticate.

Begin with the visible From domain

DMARC concerns the Author Domain in the visible From header. That domain may differ from the SMTP return-path domain checked by SPF. A transactional service might authenticate its own envelope subdomain while signing with your domain through DKIM.

Identify employee mail, support systems, billing, newsletters, application notifications and indirect flows. Record which services produce an aligned SPF pass or an aligned DKIM pass. Either aligned authentication path can satisfy DMARC; a DNS policy does not prove that either succeeds for an actual message.

If you also need an envelope-sender policy, use the SPF Record Generator and inspect its publication with the Bulk SPF Checker.

Inspect what is already published

Fetch the direct record for your Author Domain before editing. The generator queries _dmarc at that exact domain, shows the returned value and requires an explicit replacement action. Multiple independent DMARC records are not merged automatically.

A missing direct record is different from no applicable policy. Effective-policy discovery may find an inherited record through the current DNS Tree Walk. Its actual source is shown separately and is never presented as a direct record at the child domain. Follow the DMARC record-not-found guide if that distinction is unclear.

Pasted imports retain unknown extensions and historic tags. Unrepresentable or malformed data stays in advanced editing, where the entire value remains visible. Review it rather than allowing a visual form to discard unfamiliar settings.

Create a monitoring draft and controlled reporting destination

An illustrative starting value is:

v=DMARC1; p=none; rua=mailto:dmarc@example.com

Replace the example mailbox with a report consumer you control or have arranged to use. This example is not a live record or proof of report delivery. Monitoring expresses no special handling preference for DMARC failures; it does not itself authenticate messages.

RFC 9989 permits an otherwise valid policy without p to default to none. The builder includes p explicitly in new drafts to make intent clear. It does not mark every missing p as an unconditional record failure.

For an external reporting provider, the optional DNS authorization check uses the policy’s actual source domain and the destination host. Authorization indicates that the destination permits that reporting relationship. It does not test mailbox acceptance, consumer processing or report availability.

Review alignment and subdomain behavior

Relaxed alignment can relate subdomains within an Organizational Domain determined through discovery. Strict alignment requires an exact match. With a visible From domain of example.com, an authenticated mail.example.com identifier may align under relaxed rules but is not an exact strict match.

Keep relaxed defaults unless you have evaluated a reason for strict alignment across every legitimate stream. Do not equate stricter syntax with a universally better operational result.

The sp tag describes existing subdomains when the relevant policy is inherited. The np tag describes non-existent subdomains. Omitted np falls back to sp, then p; omitted sp falls back to p. These examples do not replace discovery and existence checks, and a directly published child record has a different scope from an inherited parent policy.

Public Suffix Domain flags are specialized. psd=y is for the appropriate suffix operator; it is not an ordinary domain-hardening switch. Review organizational boundaries before asserting psd=n as well.

Treat failure reports as a sensitive diagnostic choice

Aggregate rua reports provide summarized authentication visibility. Advanced ruf failure reporting can expose message content and identifiers, and many receivers restrict or omit it. Configure controlled consumers and review access, minimization and retention before requesting those reports.

The fo tag describes requested failure triggers, but has no effect without ruf. External failure destinations use their specified authorization procedure, and PSD failure reporting requires a specific agreement. The generator cannot establish such an agreement and never sends a test report or email.

Compare before requesting enforcement

The comparison view shows additions, removals and changed values, including policy, reporting, alignment, subdomain, testing and PSD settings. Pay particular attention to lost report destinations, relaxed-to-strict changes and none-to-enforcement changes. Undo or restore the imported value if the draft no longer expresses your intent.

Monitoring → Quarantine → Reject is a review progression, not a universal timetable. Examine representative legitimate mail, aggregate reports, forwarding, lists and third-party services before enforcement. DNS analysis alone does not establish readiness.

Current testing uses t=y to request one lower enforcement level: reject becomes quarantine and quarantine becomes none. Reports remain enabled according to their settings. Historic pct, rf and ri are retained on import with explanations, but are not generated as recommended current controls. For policy choices, read none, quarantine and reject explained.

Publish one TXT resource record and verify

For example.com, the full owner is _dmarc.example.com. Some DNS panels want the relative _dmarc label; others require the full owner. A subdomain within a parent zone may need _dmarc.subdomain. Follow the provider’s instructions and avoid adding the domain suffix twice.

Use the DNS provider’s default TTL unless your operational plan requires another. A single TXT character-string is limited to 255 octets, but a resource record may contain multiple strings. These concatenate without added spaces. Do not create multiple independent DMARC records as a length workaround.

After deliberately publishing the reviewed value, inspect the exact domain with the Bulk DMARC Checker. Account for cached answers, test real sending streams and review receiver authentication evidence. Neither a valid TXT value nor DNS authorization guarantees delivery or receiver handling.

This workflow follows RFC 9989 DMARC, RFC 9990 aggregate reporting, RFC 9991 failure reporting and the IANA DMARC tag registry.