Sign up and contact support in the bottom-right corner to get 20 free checks.Sign up free
Free email toolkit

DMARC record generator

Prepare a DMARC TXT draft with policy, alignment and reporting choices. Select the current or historical format deliberately, then publish the reviewed result at your DNS provider and check what resolves.

No account required

DMARC record generator
_dmarc.example.comTXT
v=DMARC1; p=none; adkim=r; aspf=r
p
adkim / aspf
rua / ruf

Illustrative data, not a live result or a ready-to-publish configuration.

Generate a candidate DNS TXT record locally. Review before publishing; this tool does not publish DNS. SPF includes can add recursive lookups beyond the ten-lookup limit. External DMARC report destinations may require DNS authorization. Begin monitoring before enforcing a stricter policy.

Loading tool…

Advanced options

Current mode emits t instead of historic pct. t=y requests testing; receivers may vary in support. np covers nonexistent subdomains. Leave psd=u unless you understand the domain boundary. This is a candidate record, not a compliance certification.

What decisions belong in a DMARC record?

A DMARC record expresses how a domain owner wants receivers to handle messages that fail aligned authentication and where reports may be sent. The generator assembles those settings into a TXT value. It does not configure DKIM, repair SPF, authorize reporting destinations or update your DNS. Those tasks remain part of the rollout.

Alignment compares an authenticated SPF or DKIM domain with the visible From domain. Relaxed and strict settings change that comparison; strict requires an exact domain match. Policy and alignment are different choices: changing p= does not make an unaligned sender align. Receivers also retain local handling policies and may implement different DMARC revisions.

How to use this tool

  1. Inventory legitimate sending services and confirm aligned authentication using test messages. Choose reporting addresses you control and establish who will review the reports.
  2. Choose the standard mode and policy in the form. Review alignment, subdomain and report settings. Current mode uses RFC 9989 controls; legacy mode exposes the older pct behavior separately.
  3. Copy the reviewed value to one TXT policy at _dmarc for the intended domain. Look it up again after publication, inspect reports and resolve legitimate failures before tightening enforcement.
A worked example
_dmarc.example.com.  TXT
v=DMARC1; p=none; t=n; adkim=r; aspf=r; rua=mailto:[email protected]

This current-mode sample requests monitoring, explicitly sets t=n and relaxed alignment, and requests aggregate reports. Replace the report address with your own destination. Choosing p=none does not turn authentication off, and adding rua does not guarantee that reports will arrive. External reporting destinations may need separate authorization.

Illustrative data, not a live result or a ready-to-publish configuration.

Mistakes to avoid

  • Do not confuse a syntactically valid record with a completed rollout. Confirm DNS publication and real-message alignment; the generator cannot check whether a sender was omitted from your inventory.
  • Legacy pct is not the current standard’s rollout control. Avoid mixing modes by appending copied tags. Review the report provider’s instructions and avoid requesting failure reports without considering the message data they may contain.

Protocol referenceRFC 9989

Check sending identities before choosing a policy

Inventory office mail, marketing, notifications and billing services. Confirm that SPF or DKIM can pass and align with visible From. Prepare managed report destinations and the intended domain scope. The generator outputs a TXT value only; it does not inspect existing DNS or fill in the publication hostname for you.

Read your results

What the key fields tell you

Current mode uses t for testing and can include sp, np and psd. Legacy mode emits historical pct, which current receivers ignore.

p=

p= defines requested treatment of failures. Review legitimate sending streams before moving from monitoring to quarantine or reject.

adkim / aspf

adkim and aspf choose relaxed or strict alignment. They compare domains used by authentication with the visible From domain; they do not create SPF or DKIM authentication.

rua / ruf

rua and ruf specify report destinations. Use mailboxes you manage; external report destinations may require authorization and receivers may not send every report type.

What do these policy choices mean?

p=none: no quarantine or rejection request

Use it to observe authentication and alignment, not to guarantee acceptance. A valid rua requests aggregate feedback, but publication, destination authorization and receiver participation still matter. Missing reports do not prove there were no failures.

p=quarantine: request cautious treatment

This expresses a preference for suspicious handling of DMARC failures, not a universal spam-folder action. Review legitimate senders, forwarding and mailing-list paths before tightening; a few successful test messages are not a complete inventory.

p=reject: request rejection of failures

The receiver still makes the final decision. Choose enforcement based on enough legitimate traffic and report evidence. A policy cannot repair a misaligned sending service or stop mail sent from a lookalike domain.

Current t versus historical pct

Current mode emits t and can include sp, np and psd. t=y expresses testing intent, not a universal bypass. Historical mode emits pct from 0 to 100; the current specification removed that tag, so do not rely on precise global percentage enforcement.

What to do next

When to use this tool

Draft a DMARC TXT record with explicit current or historical tag choices before a reviewed DNS change.

Continue your investigation

Publish at _dmarc for the intended domain, not at @. Use the current/legacy mode help to understand the generated tags, then verify the published policy with the DMARC checker.

From draft to publication and review

Check authentication and existing policy

Review DMARC, SPF, DKIM and actual provider identities. Update the existing policy location instead of adding a second DMARC record. Decide who receives and analyzes reports.

Publish at the correct _dmarc name

Use _dmarc.example.com for example.com or _dmarc.mail.example.com for a separate mail.example.com policy. DNS panels may append the zone automatically. Publish the full TXT value at the intended name, not at root @.

Check DNS and report destinations

After relevant caches update, verify resolved content and direct or inherited policy with the DMARC checker. Follow external reporting-provider authorization requirements. This generator does not verify authorization or promise a report arrival time.

Use new messages and reports to decide

Test every legitimate stream and compare trusted receiver results with available reports. Tighten based on business coverage rather than a fixed number of days. Revisit identities when adding a service; an old screenshot cannot confirm current behavior.

What this tool cannot tell you

No DNS changes or authentication setup

It does not publish records, create SPF, enable DKIM signing or query existing DNS. Successful generation means the input was accepted; deployment and sending-system checks remain separate.

No report collection or guarantee

rua/ruf request destinations, not a new mailbox or analytics service. External addresses may need authorization, and receivers may withhold failure reports for capability or privacy reasons. Complete reporting is not guaranteed.

No message trust assessment

No real message or SMTP session is supplied, so signatures, actual alignment and pass results are not verified. Even DMARC pass does not establish safe display names, lookalike domains, links or attachments.

No delivery or uniform enforcement guarantee

A policy expresses the domain owner’s preference; the tool does not enforce it. Receivers may apply local decisions. DMARC does not establish recipient existence, guarantee inbox placement or remove reputation issues.

Frequently asked questions

Will the generator start collecting reports for me?

No. It produces text only. You must publish the record, manage the reporting destination and analyze received reports; the tool does not configure DNS or a reporting mailbox.

How do relaxed r and strict s alignment differ?

adkim controls DKIM alignment and aspf controls SPF. Relaxed uses organizational-domain boundaries; strict requires exact domain matches. Authentication success and alignment both matter, so inspect each provider’s actual identities before choosing strict.

What should I enter for rua and ruf?

Enter mailbox addresses you manage, separated by spaces or commas, without mailto:. The tool adds the prefix. rua requests aggregate reports and ruf failure reports; leaving a field empty omits its request destination.

Why am I not receiving reports?

Check publication location, resolved policy, mailbox and external authorization. Receivers send reports according to their capabilities and policies, not necessarily immediately or for every message. The generator sends no test report and does not test mailbox availability.

How do sp and np differ?

sp expresses subdomain policy; np covers nonexistent subdomains and is offered in current mode. Applicability depends on discovery and inheritance; check a subdomain’s own valid record separately rather than assuming a parent change overrides it.

What if I am unsure about psd?

psd describes public-suffix and organizational-domain boundaries, not generic security strength. u leaves it unspecified and omits the tag here. Choose n or y only when the domain role is understood; do not casually mark an ordinary company domain as a public suffix.

Can t and pct be generated together?

The modes are separate: current emits t without pct; historical emits pct without the current advanced tags. Historical compatibility does not guarantee proportional handling by every receiver. Regenerate and review the whole value after switching modes.

Which standards describe these formats?

RFC 9989 is the current DMARC core specification; RFC 7489 describes the historical format. Reporting has separate specifications. Choose based on the receiving environment; a format choice is not compliance certification or a deployment guarantee.