Skip to content

How to configure DMARC ​

This guide explains what DMARC does, how to start with a monitoring policy that blocks nothing, and how to move to stricter policies safely.

Before you begin ​

APNCloud does not provide a DMARC value

The DMARC value depends on your domain, your reporting address and how far your rollout has progressed. The example below is for learning only. Choose your own reporting address.

DMARC checks alignment with the visible From domain. It passes when at least one aligned SPF or DKIM check passes. The domain’s policy guides receiver handling when neither aligned mechanism passes; delivery is still decided by the receiver.

Steps ​

  1. Start with a monitoring policy. It does not block any mail, and it sends you reports.
  2. Add a TXT record at the host _dmarc, using the example below, with your own reporting mailbox.
  3. Save the change and wait for it to spread.
  4. Read the reports for several weeks. Confirm that all of your legitimate senders pass.
  5. Move to a stricter policy only when you are sure. Change one level at a time.

Example for learning only ​

TypeHostValue
TXT_dmarcv=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com

The rua address must be a real mailbox you can read. The reports usually arrive as attachments, often in XML form.

A monitoring policy does not request DMARC-based quarantine or rejection; receivers can still filter mail using other checks. Aggregate reports are optional for receivers, so a valid record does not guarantee reports from every destination.

The policy levels ​

PolicyMeaningWhen to use it
p=noneMonitor only, take no actionThe first step, while you learn who sends mail for your domain
p=quarantineSend failing mail to spamAfter your reports show that all legitimate senders pass
p=rejectReject failing mailOnly when you are sure every legitimate sender is authenticated

Do not jump to reject

If you use p=reject before every legitimate sender is set up, real messages from your own tools may be blocked. Move up one level at a time.

Check the record ​

bash
dig TXT _dmarc.yourdomain.com +short

Expected result ​

The lookup shows your DMARC policy, and reports begin to arrive at your reporting mailbox.

If something goes wrong ​

  • No reports arrive. Check that the reporting address is a real mailbox and that the record spelling is correct. Reports can take time.
  • Legitimate mail is blocked after a stricter policy. Return to p=none, find the sender that fails, and fix its SPF or DKIM setup.
  • The record does not appear. Check that the host is _dmarc, not _dmarc.yourdomain.com in a panel that adds the domain itself.

Last reviewed ​

2026-10-28