DMARC RECORD GENERATOR

DMARC Record Generator.
Your policy. A deliberate next step.

Create a DMARC TXT record, configure reporting and alignment, or import a policy to review changes. Generate locally and run optional DNS checks before publishing in your DNS manager.

DRAFT · REVIEW · PUBLISH IN YOUR DNS MANAGER

Build one DMARC TXT record

Local generation, import review and validation. Nothing is published automatically.

In your browser
View DMARC preview ↓

Policy and alignment

Monitoring requests no special handling of failures. Review legitimate senders and alignment before enforcement. Receivers make their own handling decisions.

DMARC can pass with either an aligned SPF pass or aligned DKIM pass. Relaxed alignment can relate subdomains within the Organizational Domain; strict requires the exact domain. DNS records do not establish actual message authentication.

Aggregate reports (rua)

Request summarized authentication reports from participating receivers. Use a report consumer you control or trust. Availability and delivery are not verified locally.

One destination at a time. mailto is broadly interoperable. Other valid URI schemes are retained without assuming receiver support. Encode reserved commas, exclamation points and semicolons inside URIs.

    Subdomains, testing and failure reporting

    sp falls back to p; np falls back to sp, then p. These settings apply only when the policy is discovered for the relevant domain. A direct subdomain policy differs from inherited policy; a DNS Tree Walk is needed to establish that context.

    t=y requests reject → quarantine and quarantine → none, without disabling reports. psd=y is for Public Suffix Domain operators; psd=n declares an Organizational Domain boundary. Neither is a general security-strength setting.

    Failure reports (ruf)

    Receivers may restrict or omit these reports. They can expose sensitive message content and identifiers. PSD failure reporting needs a specific agreement that this tool cannot establish. fo is ignored when ruf is absent; 0 and 1 are mutually exclusive.

      This leaves p, sp and np intact. Imported historic tags are never removed automatically.

      Advanced raw editor and imported tags

      Unknown and historic tags remain until you explicitly remove or edit them. Malformed or unrepresentable values stay in raw mode. Apply replaces the local draft; unapplied text locks conflicting actions.

        Import an existing DMARC record

        Review the current value before replacing the draft. Changes can affect legitimate email. Imports only change this page.

        Explicit DNS actions query the selected resolver directly from your browser. Fetch checks only _dmarc at the entered domain. Inheritance discovery additionally inspects parent domains, existence and reporting authorization.

        YOUR DNS TXT VALUE

        Generated DMARC record

        v=DMARC1; p=none

        Validation and setting explanations

        Tag-level draft errors block export to avoid accidental receiver fallbacks. The receiver may ignore or recover individual tags rather than discard the entire policy. No DNS check proves message authentication or delivery.

          Monitoring → Quarantine → Reject

          No universal deadline or automatic policy change. Historic pct is not a current gradual-enforcement control.

          Optional DNS and reporting checks

          Analyze this local draft as if published at the entered policy domain. Source and destination Organizational Domains use the shared RFC 9989 Tree Walk. External rua/ruf authorization uses the actual policy source, with failure-reporting-specific restrictions. Authorization is not proof of mailbox acceptance, service capability or report delivery.

          No live DNS check has been run.

          Up to 200 requests per operation, five network slots, 50ms pacing, eight-second timeouts and one bounded retry after 500ms for transient failures. HTTP429 stops dispatch and pauses that resolver for 30 seconds. No silent fallback or report sending.

          Publish in your DNS manager

          Type
          TXT
          Name / Host
          _dmarc.your-domain.example
          Value
          The generated value above
          TTL
          Your DNS provider’s default

          The relative label is often _dmarc; some providers need the full domain, or _dmarc.subdomain when editing a parent zone. Follow your provider’s naming rules. Keep one DMARC TXT resource record at each owner.

          TXT character-string representation

          Each character-string is at most 255 octets. Multiple strings concatenate within ONE TXT resource record. Many panels split automatically; do not create independent DMARC records as a size workaround.

          After publishing, inspect the result with the Bulk DMARC Checker. Use the SPF Record Generator for envelope-sender policies.

          Create a DMARC monitoring record before reviewing enforcement

          Build a local draft and use a report destination you control. A valid TXT draft does not establish sender alignment or authorize an external report destination by itself.

          Illustrative examples only. These are not live DNS results or settings to copy.
          SituationExample evidenceNext step
          Monitoring draftv=DMARC1; p=none; rua=mailto:dmarc@example.comReplace the illustrative mailbox with a destination you control and arrange report processing.
          External reportingThe reporting destination belongs to another organizationInspect the required external authorization and provider agreement before expecting reports.
          Policy changeA proposed move from none to quarantine or rejectReview actual sending sources and authentication evidence; do not choose enforcement solely from generator validation.

          Create and publish a DMARC record deliberately →

          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

          1. Optionally enter the visible From domain. It is needed only for DNS actions and domain-specific instructions.
          2. Choose a policy. New drafts begin with p=none; enforcement requires evidence about legitimate mail.
          3. Configure alignment and controlled reporting destinations. Leave optional defaults omitted when appropriate.
          4. Review findings, subdomain settings and testing. If importing, compare the edited value with the original.
          5. 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.com

          Quarantine with explicit relaxed alignment

          v=DMARC1; p=quarantine; adkim=r; aspf=r; rua=mailto:dmarc@example.com

          Reject in testing mode

          v=DMARC1; p=reject; t=y; rua=mailto:dmarc@example.com

          The 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.

          POLICY CHANGES, EXPLAINED
          All guides ↗