DMARC policies should be introduced gradually. A DMARC record is a single TXT record at _dmarc.yourdomain.com that tells receiving servers what to do with mail that fails aligned SPF and DKIM, and where to send reports about it. The examples below show the exact syntax for each stage, what every tag means and when it is safe to move on. Replace example.com and the report address with your own values before publishing anything.
Where the record goes
Publish one TXT record with the host _dmarc. At DNS providers that append the domain automatically, enter only _dmarc; at providers that expect the full name, enter _dmarc.example.com. The value always starts with v=DMARC1 followed by p=, and tags are separated by semicolons.
A domain can have only one DMARC record. If two TXT records at _dmarc start with v=DMARC1, receivers treat the policy as invalid and ignore it. Check the current answer with the DMARC Checker before you add anything.
Type Name / Host Value
TXT _dmarc v=DMARC1; p=none; rua=mailto:dmarc-reports@example.comStage 1 — Monitor: p=none
Start here. p=none asks receivers to deliver mail exactly as before while sending you aggregate reports. The reports list every IP address and service that sent mail using your domain and whether SPF and DKIM passed and aligned.
Keep this stage for at least a few weeks, long enough to see monthly mail such as invoices, newsletters and password resets from every system that sends for you.
v=DMARC1; p=none; rua=mailto:dmarc-reports@example.comStage 2 — Quarantine: p=quarantine
Once the reports show that every legitimate sender passes aligned SPF or DKIM, ask receivers to treat failing mail as suspicious, usually by placing it in spam. The pct tag applies the policy to a percentage of failing messages, so you can start at 25 and raise it to 50 and then 100 while you watch the reports.
Messages that pass DMARC are never affected by pct; it only changes how much failing mail the policy covers.
v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc-reports@example.comv=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.comStage 3 — Enforce: p=reject
p=reject asks receivers to refuse mail that fails DMARC during the SMTP conversation. This gives the strongest protection against people sending mail that pretends to come from your domain.
Use only after reports show all authorised senders pass aligned SPF or DKIM, including third-party tools such as help desks, invoicing systems and website contact forms.
v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.comOptional tags worth knowing
sp sets a separate policy for subdomains; without it, subdomains inherit p. adkim and aspf choose relaxed (r, the default) or strict (s) alignment: relaxed accepts mail.example.com as aligned with example.com, strict needs an exact match. ruf requests failure reports, which many large receivers do not send because they can contain message content, and fo controls when those failure reports are generated.
A domain that never sends mail can publish p=reject straight away, together with an SPF record of v=spf1 -all, so nobody can send convincing mail in its name.
v=DMARC1; p=quarantine; sp=reject; adkim=s; aspf=s; rua=mailto:dmarc-reports@example.com_dmarc.example.com TXT v=DMARC1; p=reject
example.com TXT v=spf1 -allTroubleshooting
No reports arriving: check that rua uses the mailto: prefix and that the mailbox exists. If the report address is on a different domain, that domain must publish an authorisation record such as example.com._report._dmarc.reports-domain.com with the value v=DMARC1.
Legitimate mail failing after enforcement: find the source in the aggregate report, then add aligned DKIM for that service or an SPF include that matches its return path. Build the record step by step with the DMARC Generator.
Common mistakes to avoid
- Copying the example report address instead of using one you control.
- Changing policy before checking every sender in the aggregate reports.
- Assuming pct applies to legitimate messages; it only affects mail that fails DMARC.
- Publishing a second v=DMARC1 record instead of editing the existing one.
- Forgetting the mailto: prefix in rua, so no reports are sent.
Frequently asked questions
Can I publish more than one DMARC record?
No. Publish exactly one TXT record at _dmarc.yourdomain.com; two records make the policy invalid.
Should I use rua?
It is strongly recommended if you have a mailbox or service that can process reports. Without reports you cannot tell which senders would fail when you enforce.
How long should I stay at p=none?
Long enough to see every legitimate mail stream in the reports, which is usually a few weeks. Monthly mail such as billing runs is easy to miss in a shorter window.
Does p=reject stop spam to my own inbox?
No. DMARC protects your domain's name on mail you send. It tells other receivers how to treat mail that fails your policy; it does not filter what you receive.
Do subdomains need their own DMARC record?
Not usually. They inherit the policy of the organizational domain unless you set sp or publish a separate record at _dmarc.sub.example.com.