mailampel

← All articles

The DMARC record explained: example to copy and what every parameter means

The DMARC record is a TXT record under _dmarc.your-domain. Three ready-made examples (start, tightening, goal), every parameter explained — p, rua, ruf, pct, sp, adkim, aspf, fo — and the rules records fail on.

7 min read · Updated 7 September 2026

A DMARC record is a TXT record in your domain's DNS under the name _dmarc.your-domain.com. It tells every receiving mail server what to do with messages that fail the SPF and DKIM checks — and where to send reports about them. The smallest useful record has three parts and takes a minute to set:

DNS record of type TXT:
Name / host
_dmarc.example.com
Value
v=DMARC1; p=none; rua=mailto:dmarc@example.com
The starting point: nothing is rejected, but you receive reports. The address after rua= must exist and be able to accept mail.

The parameters one by one

Three ready-made records for the three stages

DMARC is not switched to enforcement in one go, but in stages — whoever sets reject immediately rejects their own forgotten mail. The procedure is in the step-by-step plan; here are the matching records:

DNS record of type TXT:
Name / host
_dmarc.example.com
Value
v=DMARC1; p=none; rua=mailto:dmarc@example.com; sp=none
Stage 1 — observe. Collect reports for two to four weeks and repair legitimate senders.
DNS record of type TXT:
Name / host
_dmarc.example.com
Value
v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@example.com
Stage 2 — a quarter of the forgeries go to the spam folder. Raise pct step by step to 100.
DNS record of type TXT:
Name / host
_dmarc.example.com
Value
v=DMARC1; p=reject; rua=mailto:dmarc@example.com; adkim=s; aspf=s
Stage 3 — the goal. Forgeries are rejected; strict alignment is optional and only sensible if no subdomain sends mail.

What DMARC records fail on

Checking the record

By hand with nslookup -type=TXT _dmarc.your-domain.com (Windows) or dig TXT _dmarc.your-domain.com. The mailampel domain check additionally rates policy, reporting address and alignment and tells you which stage comes next. What the reports that then arrive contain is explained in Reading DMARC reports.

Frequently asked questions

What is the difference between p=none, p=quarantine and p=reject?

none: recipients check and report, but deliver everything. quarantine: messages that fail the check land in the spam folder. reject: they are not accepted at all. Always start with none; the goal is reject.

Do I have to specify a rua address?

It is not mandatory, but without it you never learn which systems send in your name — and therefore cannot tighten safely. An address of your own such as dmarc@your-domain.com is enough; the reports arrive as ZIP files containing XML.

What happens without a DMARC record?

Recipients can check SPF and DKIM, but do not know what to do on failure and send no reports. Since 2024 Google and Yahoo require at least p=none for bulk senders; without a record, mail is treated worse there.

Does the DMARC record also apply to subdomains?

Yes — the main domain's policy applies to every subdomain that has no _dmarc record of its own. With sp= you can set a separate rule for subdomains, e.g. sp=none while a subdomain is not yet clean.