Hardware showcase site owners often face the risk of domain spoofing. This guide explains how to configure DMARC policies to monitor and prevent such attacks, ensuring your custom domain's integrity.
Understanding DMARC Basics
Take a hypothetical hardware showcase author with a parts-catalog site, a single custom sending domain, and a small DNS zone. For this example, call the sending domain showcase-mail.example and the web domain catalog.example. The author keeps three draft notes: a policy record named "Dmarc-Policy — draft," a report mailbox row named "rua-monitor," and an audit log titled "Spf-Alignment-Check." These names are the author's own working labels, chosen only to illustrate the problem, not addresses or settings known to be accepted anywhere.
The DMARC draft begins with the record location, a host line the author labels "dmarc-entry," and a value written as v equals DMARC1, followed by a policy pair written p equals none. That none value means the draft asks receivers to report on mail claiming the domain without asking them to block it. The author pairs it with a percentage pair written pct equals 100, so reporting covers the whole domain rather than a sample. A separate row writes rua as an aggregate report destination pointing to a mailbox the author controls, with ruf left unset in this draft so forensic copies are not requested. The reason for choosing none first is a specific trade: the catalog sends order confirmations and warranty notices through a separate provider, and a stricter policy could discard legitimate mail before the author has seen a single report.
A second candidate changes only the policy pair to p equals quarantine, and the author keeps it as a later version rather than the starting draft. The alignment question comes next. The catalog's confirmation mail is sent by a relay that the author believes uses the custom domain in the envelope, but the header From line is the piece DMARC alignment actually checks. Because that was not confirmed from the provider's documentation, the author writes a line in the audit log reading "alignment unverified — check before raising policy" and leaves the relaxed alignment default untouched. The third note, the policy record draft, stays unchanged until those reports arrive.
The example shows only how a monitoring-first draft can be laid out and why a site owner might keep a stricter version waiting.
Configuring SPF and DKIM Prerequisites
DMARC builds on SPF and DKIM, so the prerequisite work is to have those two protocols in place before a DMARC policy is meaningful. The published DMARC description states that DMARC adds linkage to the author From domain name, published policies for how receivers handle authentication failures, and reporting from receivers back to senders.1
That linkage matters when a hardware showcase site sends mail from its custom domain: the policy is published in the public Domain Name System and is available to everyone. The same description notes that the specification carries no licensing or similar restriction, so any interested party is free to implement it.1
Before you draft a DMARC record for a hardware showcase site, consider writing a short prerequisites sheet for your own sending setup, because DMARC checks rest on SPF and DKIM being in place first. For your own sheet, you might note three plain fields: the domain you send mail from, the host that publishes your SPF text, and the selector name attached to your DKIM key. A filled example could read: sending domain shown as your custom domain, SPF host shown as the bare domain, and selector shown as a label you chose when the key was created.
You can also record, for each field, what you already know and what you still need to confirm with whoever manages your DNS zone. If you are unsure whether a selector exists, that uncertainty belongs on the sheet rather than in a guess, since a DMARC draft that assumes a working DKIM signature may look fine on paper while your actual mail fails alignment.
Keep this sheet beside your DMARC draft and update it as you learn more. When you later compare a monitoring policy with a stricter one, you can check that each prerequisite line is still accurate before deciding which version to publish. The sheet is a working note for you, not a claim that any setup has been tested.
Setting Up DMARC TXT Record
To create a DMARC TXT record, the Microsoft 365 guidance gives the host name as _dmarc and the TXT value as v=DMARC1 followed by the policy, the percentage of failed mail subject to it, and the report addresses. In the fuller form the value uses p with reject, quarantine, or none, pct from 0 to 100, rua with a mailto address for aggregate reports, and ruf with a mailto address for forensic reports. The source states that Microsoft 365 has no admin portal or PowerShell cmdlet for managing DMARC TXT records on custom domains; the record is created with the domain registrar or DNS hosting service instead.2
For the source's small-domain rollout, the first record uses p=none with pct=100 and both report addresses, and the source says to monitor results before raising the policy to quarantine and later reject.2
For this section’s next step, you can turn the prerequisites sheet into a short draft record that a DNS administrator could review. Start with a host line, such as “dmarc-entry,” and a value line that opens with v equals DMARC1. For a monitoring-first draft, you might add p equals none, then rua equals a mailbox you control and ruf equals a separate reporting mailbox. Keep the field labels beside each value so the administrator can see what each part is meant to do.
You can also write a second candidate that changes only the policy pair to p equals quarantine, leaving the reporting addresses and alignment fields unchanged. Label it clearly as a later version rather than the starting draft. If a field still needs confirmation, such as the exact mailbox that should receive reports, mark it “to confirm” instead of filling it with a guess.
When you compare the two candidates, note which fields stayed the same and which changed. You might also add a short line under each draft stating that it is a proposed version, not a live record. That way the same sheet can support a current monitoring draft and a stricter future draft without implying either has already been published.
Choosing Appropriate Policy Tags
The source describes the p tag as the action the domain owner wants receivers to take when forged mail appears, with three values: none releases all mail from the domain even when it fails DMARC verification; quarantine isolates some mail, usually into the spam folder; and reject strictly refuses all mail that fails authentication. The pct tag, defaulting to 100, sets the percentage of failing mail that quarantine isolates. The sp tag carries a subdomain policy like p, so a main-domain policy with sp can also take effect. Alignment uses adkim and aspf: an empty value or r means relaxed alignment, which permits subdomains, while s requires strict alignment. The source treats v with the value DMARC1 as required and first. It also notes fo defaults to 0, that its contents are ignored without ruf, and that setting it to 1 prevents reject from taking effect.3
You can now choose which policy pair to place in the draft you keep for review. If the goal is observation, a candidate using p equals none lets reports arrive without asking receivers to act on failing mail; if the goal is a later, firmer setting, p equals quarantine is the other candidate to compare. For example, label the first draft “monitor-only, review date not yet set” and the second “stricter candidate, hold until reports are understood.” Note the exact percentage field beside each, because changing it alters how much mail the policy applies to.
You might also write a short reason under each candidate in your own words: what you expect to learn, and what would make you move from one to the other. These notes are your assumptions, not confirmed outcomes, so phrase them as intentions. A useful field to add is “who reviews the reports,” with a name or role you still need to confirm.
When you return to the two drafts, compare them line by line and keep the unchanged fields visible. You can decide which one to send for DNS review, or keep both side by side if the decision is not yet settled.
Verifying DMARC Implementation
The documented DMARC record example begins with a TXT record type, a host line of _dmarc, and a value containing v=DMARC1; p=quarantine; rua=mailto:dmarc_report@service.aliyun.com. According to the same source, before setting a DMARC record the domain owner must ensure an SPF record such as v=spf1 include:spf1.dm.aliyun.com -all is already configured, or that DKIM has been set up with the console-provided DKIM value.3
To query an existing DMARC record, the source gives a dig command for Linux and an nslookup command with the TXT query type for Windows, both targeting _dmarc followed by the queried domain. The source also notes that recipients' MTAs must support DMARC for the check to occur, and that a failed check causes a report to be sent to the mailbox set in the DMARC record value.3
For the next step, you can take the two candidate drafts you set aside and give each a short verification note in your own words. Under the first, write a line such as: what this candidate is for, which reporting mailbox it names, and what would tell you it is working. Under the second, note only what differs from the first.
For a current entry, a filled note might read: "Purpose: watch for spoofed mail from the catalog sending domain; change if reports show real mail failing." For an archived one, the same fields become: "Purpose: kept to compare against the earlier monitoring setup; change only if we revisit the stricter policy." Try the same two fields on your email entry and your lookalike-domain entry, and see whether either note still says something you no longer believe.
You might then mark each note with the date you wrote it and one open question, for example whether the reporting address you named is actually receiving mail, or whether an alignment value matches the sending domain you intend. Keep those questions as questions until the person who manages the zone confirms them.
When the notes are filled, you can choose which draft to hand to that person for review and which to leave filed. Either choice is yours; the notes simply let you explain the reasoning later without reconstructing it from memory.
Monitoring Reports and Adjustments
Aggregate reports tell where mail claiming the domain came from, so the recommended rollout starts at p=none with the reporting fields and monitors results, confirming whether legitimate traffic is covered and troubleshooting problems. After that monitoring, the policy can be raised to p=quarantine and results monitored again; after sufficient observation of that effect, it can go to p=reject and be monitored once more. Percentage values can move gradually, for example 10, 25, 50, 75, and 100, to affect more messages over time while results are checked.2
Aggregate reports should be reviewed regularly to watch sending sources and check for unintended DMARC errors, and a specific user or mailbox group should be designated to receive them rather than delivering reports to a user's mailbox.2
For each draft you set aside, you can now keep a small monitoring log rather than a single verification note. Give every log entry three ordinary fields: a short label, the date you recorded it, and one observation written in your own words. For a current draft, a filled entry might read: label "none-policy draft," date "this week," observation "watching for spoofed mail from the catalog sending domain; will reconsider if genuine mail fails." For an archived candidate, you might fill the same fields as: label "quarantine version," date "held for later," observation "kept unchanged; revisit only if the monitoring draft shows a clear problem." Same fields, different purposes, and you can record either one first.
You might also add a fourth field headed "open question" to each entry, with your own wording, such as whether the reporting address you named actually receives mail. Leaving a question unanswered in the log is fine; the point is to keep it visible next to the draft it belongs to.
When you next return to these drafts, compare the entries side by side and note which observation changed and which stayed the same. You can then decide which draft to send for DNS review and which to keep filed, and you might write one plain sentence under each explaining that choice.
Frequently asked questions
What three plain fields might I note on my own prerequisites sheet for a DMARC draft?
Before you draft a DMARC record for a hardware showcase site, consider writing a short prerequisites sheet for your own sending setup, because DMARC checks rest on SPF and DKIM being in place first. For your own sheet, you might note three plain fields: the domain you send mail from, the host that publishes your SPF text, and the selector name attached to your DKIM key.
How can I keep my prerequisites sheet and later check it before comparing policies?
Keep this sheet beside your DMARC draft and update it as you learn more. When you later compare a monitoring policy with a stricter one, you can check that each prerequisite line is still accurate before deciding which version to publish.
What three ordinary fields should I give each entry in a small monitoring log for drafts I set aside?
For each draft you set aside, you can now keep a small monitoring log rather than a single verification note. Give every log entry three ordinary fields: a short label, the date you recorded it, and one observation written in your own words.
dmarc.org – Domain Message Authentication Reporting & Conformance . Retrieved 2026-11-21. ↩︎ ↩︎
Microsoft 365 で電子メールを検証するように DMARC を設定する - Microsoft Defender for Office 365 | Microsoft Learn . Retrieved 2026-11-21. ↩︎ ↩︎ ↩︎ ↩︎
配置DMARC防止邮件域名被伪造-邮件推送-阿里云 . Retrieved 2026-11-21. ↩︎ ↩︎ ↩︎