What is a DMARC record generator?
A DMARC record generator helps you compose a domain's email assessment and reporting preferences. This builder edits one TXT value in your browser. Use the Bulk DMARC Checker to inspect published DNS across multiple domains; use the generator when you need a reviewed draft and publishing instructions. Neither changes your DNS zone or verifies a real message.
How to create a DMARC record
- Optionally enter the visible From domain. It is needed only for DNS actions and domain-specific instructions.
- Choose a policy. New drafts begin with
p=none; enforcement requires evidence about legitimate mail. - Configure alignment and controlled reporting destinations. Leave optional defaults omitted when appropriate.
- Review findings, subdomain settings and testing. If importing, compare the edited value with the original.
- Copy one TXT record, apply it manually in your DNS manager and inspect the published result. Test actual messages and review receiver reports.
Understanding DMARC policies
none expresses no special handling preference for failures. quarantine requests suspicious-message handling, often spam or quarantine treatment. reject requests rejection. These are requests to participating receivers, not promises about every recipient's disposition. An otherwise valid record without p defaults to none under RFC 9989; new drafts include it explicitly for clarity.
Monitoring vs enforcement: assess your actual mail
The migration assistant describes Monitoring → Quarantine → Reject without choosing a deadline or changing a policy for you. Inventory employee, transactional, support and marketing senders. Examine aligned authentication across legitimate traffic, forwarding, mailing lists and other indirect flows. A DNS record alone cannot establish readiness for enforcement.
Current testing uses t=y to request one lower enforcement level: reject becomes quarantine, and quarantine becomes none. It does not stop reporting. Historic pct is preserved on import with an explanation, not offered as a current rollout control.
SPF and DKIM alignment
DMARC relates the visible From domain to authenticated SPF and DKIM identities. Either an aligned SPF pass or an aligned DKIM pass can satisfy DMARC. With From example.com, an authenticated identifier mail.example.com can align in relaxed mode when discovery establishes their Organizational Domain relationship; strict mode requires an exact match. Strict alignment is not universally better for every organization.
SPF evaluates an envelope identity that may differ from From. Use the SPF Record Generator to compose that policy and the Bulk SPF Checker to inspect its published configuration. These tools do not sign messages or simulate message authentication.
DMARC aggregate reports and external authorization
rua requests aggregate authentication reports. Enter a mailbox or complete reporting URI. Other URI schemes remain visible without assuming receiver support; commas, exclamation points and semicolons inside URIs need encoding. No reporting address is contacted by this tool.
When a destination falls outside the policy domain's Organizational Domain authority, receivers need external authorization. The optional draft check constructs names from the actual policy source and destination, for example example.com._report._dmarc.reports.example.net. It displays accepted, absent, malformed or incomplete evidence and any same-host destination override. Authorization does not prove that a mailbox accepts or processes reports.
DMARC failure reports
ruf requests failure reports; fo describes requested triggers. Failure reports can expose message content and identifiers. Many providers restrict or disable them. Use controlled consumers and review privacy and retention before enabling them. The external-destination procedure uses ruf-specific overrides; PSD failure reporting is restricted without a specific agreement. This tool sends neither messages nor reports.
Subdomain policy, non-existent domains and PSD settings
sp applies to existing subdomains when the relevant policy is inherited; absent sp falls back to p. np expresses the policy for non-existent subdomains and falls back to sp, then p. A directly published subdomain record is not the same as a parent policy inherited through discovery. The shared RFC 9989 DNS Tree Walk and existence checks establish that context instead of guessing from two hostname labels.
psd=u is the default discovery behavior. psd=n declares an Organizational Domain boundary, while psd=y is specialized Public Suffix Domain operator configuration. Ordinary domain owners should not treat PSD flags as a generic security setting.
DMARC record examples
The example mailbox must be replaced with a controlled consumer. Examples are illustrative configurations, not live DNS results or claims of deployment readiness.
Monitoring and aggregate reporting
v=DMARC1; p=none; rua=mailto:dmarc@example.comQuarantine with explicit relaxed alignment
v=DMARC1; p=quarantine; adkim=r; aspf=r; rua=mailto:dmarc@example.comReject in testing mode
v=DMARC1; p=reject; t=y; rua=mailto:dmarc@example.comThe last example requests quarantine-level handling through testing, not full reject enforcement. Selecting it does not prove legitimate senders are aligned.
How to publish a DMARC TXT record
Use TXT and the exact owner _dmarc.example.com for example.com. Some panels expect the relative label _dmarc; others need the full owner. For a subdomain within a parent zone the relative label may be _dmarc.subdomain. Follow the provider's naming rules and default TTL, and avoid appending the domain twice.
One TXT character-string can contain at most 255 octets, but one resource record can contain multiple strings concatenated without added spaces. The builder supplies a representation with correctly sized strings. Many DNS panels split automatically. Do not publish several independent DMARC records to bypass a string-size limit.
Common DMARC configuration mistakes
- Enforcing a policy before identifying legitimate aligned sending sources.
- Assuming SPF pass alone establishes alignment with the visible From domain.
- Creating multiple DMARC records at the same owner.
- Confusing a missing direct policy with the absence of any inherited policy.
- Assuming reporting authorization guarantees reports will arrive.
- Silently deleting unknown or historic tags while importing an existing value.
DMARC record generator FAQ
Does this generator work offline?
After its assets load, generation, pasted import, static validation, comparison and export run locally. Revisiting an uncached page, published import and optional DNS checks still need network access. No installable offline cache is promised.
Why are historic and unknown tags retained?
pct, rf and ri are historic in the current IANA registry. They are not generated by default. Imported values and extensions remain visible until an explicit edit or removal; malformed data stays in the raw editor. There is no silent cleanup.
Can I import an inherited policy?
The published discovery view identifies its actual source and keeps it separate from direct import. A parent record is never presented as a direct record at the entered subdomain. Review the source and intended scope before deliberately composing a new child policy.
Where are my drafts stored?
Only in page memory. They are not saved to storage, URLs or Analytics. Copy or download before leaving. Explicit live checks disclose DNS query names to your selected public resolver; report URIs themselves are never fetched. See the privacy page.
Does a valid result guarantee deliverability?
No. Static syntax, DNS discovery and authorization do not establish actual message authentication, report availability, mailbox acceptance or email delivery.
Current technical references
This tool reuses the site's shared engine for RFC 9989 DMARC, RFC 9990 aggregate reporting and RFC 9991 failure reporting. Current tags are listed by IANA DMARC Parameters. It is not built solely around historic RFC 7489 behavior.