What is DMARC?
Domain owners configure DMARC through a DNS TXT record, specifying their preferred handling of messages that fail DMARC and where to send authentication reports. Receiving servers make the final handling decision, and a DMARC pass does not establish that a message’s content is safe.
Aggregate reports from participating receivers provide visibility into sending sources, authentication results and reported message handling. They help you identify legitimate services that need configuration changes and investigate unfamiliar activity.
How Does DMARC Work?
DMARC checks whether SPF or DKIM authenticates a message using a domain aligned with its visible “From” address. A message passes DMARC when at least one mechanism passes authentication and aligns. If neither qualifies, the receiver considers the domain’s published policy alongside its other filtering signals.
The process works as follows:
- The domain owner publishes a policy. A DMARC record is published in DNS at a name such as
_dmarc.example.com. It specifies the requested handling of failures and can include reporting destinations. - The receiving server finds the applicable record. It looks up the policy for the domain in the message’s visible “From” address, checking inherited policy where applicable.
- SPF and DKIM authentication are evaluated. SPF checks whether the sending server is authorized for the envelope sender domain. DKIM verifies a digital signature associated with a signing domain.
- DMARC checks domain alignment. The receiver compares the SPF-authenticated domain and verified DKIM signing domains with the visible “From” domain. One passing, aligned result is sufficient.
- The receiver decides how to handle the message. For DMARC failures, it considers the published policy –
p=none,p=quarantineorp=reject– alongside its local filtering rules. - Participating receivers send reports. When aggregate reporting is requested through
rua, receivers can send summaries of observed traffic, authentication results and message handling.
For example, a message from billing@example.com does not pass DMARC merely because SPF and DKIM pass for the unrelated domain vendor.example. However, a valid DKIM signature using d=example.com can establish a DMARC pass even if SPF fails or is unaligned.
With relaxed alignment, the authenticated domain and visible “From” domain share the same organizational domain. Strict alignment requires an exact domain match. Configure both SPF and DKIM for legitimate sending services and aim to align both.
DMARC Policy Comparison: None vs. Quarantine vs. Reject
The three DMARC policies are p=none, p=quarantine and p=reject, set through the p tag in your DMARC record. They express how the domain owner wants receiving servers to handle messages that fail DMARC. The policy changes the requested handling, not the authentication result: a message can fail DMARC while the domain uses p=none.
| Policy | Requested handling of DMARC failures | Practical use |
|---|---|---|
p=none |
No DMARC-based quarantine or rejection requested | Monitor authentication results and investigate sending sources |
p=quarantine |
Treat failing messages as suspicious, commonly through spam-folder placement or quarantine | Apply enforcement after assessing legitimate mail flows |
p=reject |
Reject failing messages | Request stronger enforcement after assessing legitimate mail flows and forwarding or mailing-list risks |
Receivers make the final handling decision using DMARC alongside other signals. Consequently, p=none does not guarantee inbox delivery, and p=reject does not guarantee that every fraudulent message will be blocked.
Aggregate reporting is requested separately through the rua tag and can continue under any of these policies.
What Changed in DMARC With RFC 9989?
RFC 9989, published in May 2026, replaces RFC 7489 and specifies DMARC as an IETF Proposed Standard. Reporting is covered separately by RFC 9990 for aggregate reports and RFC 9991 for failure reports. The record version remains v=DMARC1; existing deployments do not need a new version tag.
The main changes are:
- DNS Tree Walk replaces the Public Suffix List. Receivers implementing RFC 9989 find the organizational domain by walking up the domain’s labels in DNS, capped at eight queries per tree walk, instead of relying on an external list. This can change alignment results for some domains.
- A new t testing tag.
t=yasks supporting receivers to apply one policy level lower:p=quarantine;t=yis treated as none, andp=reject;t=yas quarantine. Receivers that don’t supporttmay ignore it and apply the published policy. pctis removed. RFC 9989 replaces percentage-based enforcement witht. Some provider guidance still documentspct, so distinguish what a provider supports from what the updated specification says.- The
nptag is incorporated into the core specification. Previously defined in RFC 9091, it sets a policy for non-existent subdomains, which attackers can use for spoofing. - A new
psdtag. It declares whether a domain is a public suffix domain. Most domain owners will not need it. rfandriare removed. Receivers implementing RFC 9989 ignore them.
What to do: keep your existing record working and remove rf and ri when you next edit it. If your record uses pct below 100, don’t simply delete it: removing it can apply your full policy to all DMARC-failing messages at receivers that still honor pct, so decide your target policy first and use t=y for testing where receivers support it. Consider np if you need a separate policy for non-existent subdomains; existing subdomains that do not send email are a different case.
What Do You Need Before Setting Up DMARC?
Before setting up DMARC, you need access to your domain’s DNS, an inventory of legitimate sending services, working email authentication and a destination for aggregate reports.
Prepare the following:
- DNS access: Identify where your authoritative DNS records are managed. This may be different from your domain registrar or email provider.
- Sending-source inventory: List your mailbox platform, marketing tools, CRM, helpdesk, billing systems, transactional applications and other services that send using your domain. Record an owner for each.
- SPF and DKIM configuration: Check authentication for every legitimate service. Configure both where supported, including DKIM signing with your domain.
- Reporting destination: Choose a dedicated mailbox, group or reporting service that someone will actively review.
For Microsoft 365 and Google Workspace, authentication settings are managed within the email platform, while the DMARC record for your custom domain is published at its DNS host.
How to Set Up DMARC for Your Domain
To set up DMARC, confirm the domain and its existing policy, check authentication across your sending services, prepare reporting, and publish a DNS TXT record. For a new deployment with unverified mail streams, begin with p=none so you can investigate failures before requesting enforcement.
-
Check the Domain and Any Existing DMARC Record
Identify the domain used in your visible “From” address. For messages from
billing@example.com, begin by checking:_dmarc.example.comIf a policy already exists, review its settings and ownership. Update the existing record where necessary rather than adding a duplicate. Do not replace an established enforcement policy with
p=nonesimply because a starter example uses it. -
Check Authentication for Each Sending Service
Send representative messages from your identified platforms and inspect their authentication results. Check that SPF and DKIM are configured correctly and aim to align both with the visible “From” domain. A message passes DMARC when at least one mechanism passes authentication with an aligned domain.
If a service authenticates without aligning with your domain, configure a custom DKIM signing domain or a custom return path where needed. Adding an SPF record alone does not resolve every alignment failure.
-
Prepare Your Aggregate Reporting Destination
Create a mailbox such as
dmarc-reports@example.comor obtain the reporting address supplied by your monitoring service.When reports go to another domain, the destination generally needs to authorize their receipt through an external-reporting DNS record. Follow the reporting provider’s instructions; monitoring vendors commonly manage this authorization.
-
Publish the DMARC TXT Record
For a new monitoring deployment, use a simple record:
DNS field Example Type TXTHost/Name _dmarc, if the DNS panel automatically appends your domainValue v=DMARC1;p=none;rua=mailto:dmarc-reports@example.comTTL Your DNS host’s default or a value suitable for your change process Verify the record at your authoritative DNS host after saving it. Cached DNS responses may take longer to update, depending on their TTL.
Replace
example.comand the reporting address with your own details. Some DNS panels require the full name,_dmarc.example.com;check the provider’s instructions.The
ruaaddress requests aggregate reports. Keep the starter record simple rather than adding optional failure-reporting settings without a specific need.
How to Check If DMARC Is Working
You can check whether DMARC is working by looking up your domain’s DMARC record, confirming that real messages pass authentication with alignment, and checking that aggregate reports arrive. A valid DNS record alone does not prove that all legitimate sending services are configured correctly.
Check the published record.
Run:
dig +short TXT _dmarc.example.com
Alternatively:
nslookup -type=TXT _dmarc.example.com
Confirm that the record starts with v=DMARC1 and contains the intended policy and reporting address. A DMARC lookup tool can also help identify syntax problems. Watch for an incorrectly doubled hostname such as _dmarc.example.com.example.com.
Check real messages. Send a test from each platform to an external mailbox. In Gmail, open Show original; in other services, inspect the message source or headers. Look for the receiver’s dmarc=pass result and examine the associated SPF and DKIM domains. At least one mechanism must pass authentication with a domain aligned to the visible “From” domain. One successful test validates that message, not every sending platform.
Check report collection. Confirm that aggregate reports arrive from participating receivers that observed your traffic. Allow for their reporting schedules and DNS caching. If reports do not arrive, investigate the reporting address, mailbox delivery and external-domain authorization. An absence of reports can also reflect limited traffic or receivers that do not provide them.
How to Read DMARC Reports
To read DMARC aggregate reports, open the XML attachment sent to your rua address – it is usually compressed – then review it in a DMARC report analyzer or text editor. Identify the sending sources, check their authentication and alignment results, and review the handling reported by receivers. Prioritize legitimate services that fail DMARC before investigating unfamiliar sources.
DMARC defines two report types. Aggregate reports, requested through the rua tag, summarize the mail participating receivers observed using your domain. Failure reports contain details of individual messages with authentication failures. Because they can expose personal data, many receivers do not send them, so most monitoring relies on aggregate reports.
The main fields to examine are:
- Report metadata: The reporting organization, report ID, and period covered.
- Policy published: The DMARC policy, subdomain policy and alignment modes reported by the receiver. Compare these with your intended configuration.
- Source IP and message count: Where the receiver observed messages coming from and how many shared those results.
- Authentication results: The SPF and DKIM outcomes and domains evaluated.
- Policy evaluation: The aligned SPF/DKIM results and reported DMARC disposition.
Authentication passing is not the same as DMARC passing. The auth_results section contains raw authentication results; the SPF and DKIM results under policy_evaluated reflect the checks used by DMARC, including alignment.
For messages using example.com in the visible “From” address, these illustrative results lead to different actions:
| Reported results | DMARC outcome | What to investigate |
|---|---|---|
SPF fails; DKIM passes and aligns with example.com |
Pass | Check whether expected forwarding explains the SPF failure |
SPF and DKIM pass only for vendor.example |
Fail | Configure authentication aligned with your “From” domain |
| Neither SPF nor DKIM produces a passing, aligned result | Fail | Establish whether the source is legitimate before changing authorization |
Investigate unfamiliar sources with the teams that manage your sending services. An unknown IP address does not, by itself, prove malicious activity.
At higher volumes, a reporting service can group results and make recurring failures easier to investigate.
When Should You Move DMARC to Quarantine or Reject?
Move DMARC from p=none to quarantine or reject gradually, once your reports show that representative legitimate mail streams consistently pass DMARC, unresolved business-email failures have been addressed, and forwarding or mailing-list risks have been assessed. A high overall pass rate or a fixed monitoring period is not sufficient on its own.
Before changing the policy, confirm that:
- Each business sending service has been identified and tested.
- Less frequent messages, such as invoices or scheduled campaigns, have been reviewed.
- Service owners have resolved legitimate authentication failures.
- Someone will monitor reports and delivery issues after the change.
Continue reviewing reports and delivery issues after each policy change.
For example, moving to quarantine means updating the existing record:
v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com
Choosing p=reject requires additional care. RFC 9989 advises domains whose users may post to Internet mailing lists against publishing p=reject, because these indirect mail flows can break authentication. For such domains still considering reject, it recommends comparing results after at least a month at p=none and an equally long period at p=quarantine. This is guidance for that interoperability context, not a universal rollout timetable.
If legitimate delivery problems emerge after a change, investigate the affected stream and consider reverting the policy while you correct it. DNS caching means a rollback may take time to reach receivers.
What Are the Best Practices for DMARC?
DMARC best practices focus on keeping legitimate senders authenticated, reviewing reports and reassessing policies as your email infrastructure changes. A deployment that works today can develop failures when a team adds a new service, changes domains or migrates to providers.
- Assign clear ownership. Identify who reviews reports, approves DNS changes and investigates affected business email.
- Keep aggregate reporting enabled. Review results regularly and after changes to sending platforms, authentication or policy.
- Check vendors before they start sending. Confirm their authentication and alignment using real messages.
- Maintain SPF and DKIM. Remove obsolete SPF authorizations, check lookup limits and manage DKIM keys according to your provider’s guidance.
- Review subdomains deliberately. Understand which send email, which inherit a policy and which need separate settings.
- Protect confirmed non-sending domains. Apply an appropriate restrictive configuration after checking that no legitimate service uses them.
- Keep other email-security controls in place. DMARC does not replace account protection, content filtering or monitoring for lookalike-domain abuse.
Keep a record of policy changes and their reasons. If delivery problems emerge later, that history helps distinguish authentication issues from unrelated changes.
What Are Common DMARC Setup Errors and How Do You Fix Them?
Common DMARC setup errors include incorrect DNS placement, syntax mistakes, duplicate policy records, authentication or alignment failures, and invalid reporting destinations. Diagnose the specific failure before changing authorization or weakening an established policy.
| Symptom | What to check | Corrective action |
|---|---|---|
| No DMARC record found | Authoritative DNS zone and hostname | Publish at _dmarc.example.com; check whether the DNS panel appends the domain automatically |
| Multiple DMARC records found | Separate policy records at the same lookup name | Consolidate the intended settings into one policy record |
| SPF or DKIM passes, but DMARC fails | Authenticated domains versus the visible “From” domain | Configure a passing, aligned authentication path for that service |
| SPF returns a permanent error | Record syntax, duplicate SPF records and lookup limits | Correct the identified error; check nested lookups before adding more includes |
| Aggregate reports do not arrive | rua, mailbox delivery, external authorization and observed traffic |
Correct the destination or authorization; account for receiver participation and reporting schedules |
| Forwarded or mailing-list messages fail | SPF changes and modifications that invalidate DKIM | Investigate the affected flow and available forwarding/list handling before changing policy |
| Legitimate mail is affected after enforcement | Failing source, message headers and recent changes | Fix the affected sender; consider a temporary policy rollback if business delivery is disrupted |
| Subdomain mail receives an unexpected DMARC policy | Inherited policy, any explicit subdomain record, sp and receiver support for np |
Correct the applicable policy. Use np specifically for non-existent subdomains where supported |
DMARC enforcement is an important prerequisite for BIMI (Brand Indicators for Message Identification). A policy of p=quarantine or p=reject supports readiness, but logo display also depends on authentication alignment, compliant logo assets, applicable certificate requirements and mailbox-provider policies.
Frequently Asked Questions
Is DMARC free?
How long does DMARC implementation take?
Does DMARC encrypt email?
Is DMARC required for every email sender?
p=none accepted as the minimum DMARC policy. Even when it is not required, DMARC helps domain owners monitor authentication and protect against direct domain spoofing.Next Steps
Check your existing DMARC policy, verify legitimate sending services and review authentication reports. For a new deployment with unverified mail streams, begin with p=none; retain an established enforcement policy unless there is a specific reason to change it. Base further policy changes on actual message results and continue monitoring afterward.
Review DMARC results before moving to enforcement
Moving to quarantine or reject starts with knowing which legitimate services pass DMARC. Prime DMARC shows sending sources, failures and trends, so your decision rests on real results.