DMARC Setup on Cloudflare: Complete Guide for 2027
Learn how to set up DMARC records on Cloudflare using automated DMARC Management or manual DNS TXT configuration to protect email delivery.
By Arkay · Updated · Published

What is DMARC and why is it required on Cloudflare?
DMARC ties SPF and DKIM authentication together to prevent domain spoofing, instructing receiving mail servers how to handle messages that fail validation. Without these authentication controls, unauthorized senders can impersonate your domain name during email delivery.
Under Cloudflare security records, domain owners configure DNS TXT entries to establish email verification. Sender Policy Framework lists authorized sending IP addresses and domains. DomainKeys Identified Mail provides cryptographic signatures that confirm messages remain unaltered during transmission. Domain-based Message Authentication Reporting and Conformance defines enforcement rules and returns aggregate reporting data.
Mailbox providers enforce strict authentication policies for message delivery. Under Google email sender guidelines, bulk senders dispatching 5,000 or more messages per day must maintain SPF, DKIM, and DMARC records. Senders failing these requirements risk message filtering or outright rejection by receiving mailbox providers. Implementing DMARC on Cloudflare protects domain reputation and maintains reliable inbox placement across global mail providers.
How do automated DMARC Management and manual DNS setup compare?
Cloudflare offers two distinct setup paths: an automated DMARC Management dashboard for apex domains and manual DNS TXT record configuration. Choosing between them depends on whether you require integrated report parsing or granular subdomain delegation.
The comparison below was compiled from official Cloudflare documentation and RFC specifications on November 25, 2026:
| Feature | Cloudflare DMARC Management | Manual DNS TXT Record |
|---|---|---|
| Dashboard Location | Email > DMARC Management | DNS > Records |
| Domain Scope | Apex domains only | Apex domains and subdomains |
| Report Processing | Integrated Cloudflare dashboard | External third-party analyzer |
| Automated rua Handling | Automatically appends rua address | Manually defined rua address |
| CNAME Restrictions | Cannot edit SPF with external CNAME | Managed directly in DNS zone |
| Setup Complexity | Guided automated creation | Manual tag-value entry |
The automated management tool simplifies report ingestion for organizations managing primary apex domains. Domains with external CNAME SPF configurations or multi-tier subdomain routing require manual TXT record entries. Manual records provide flexible policy tuning and independent destination mailboxes for aggregate data collection.
Administrators choosing between these two options should evaluate their reporting workflows. The integrated dashboard aggregates raw reports without requiring third-party subscriptions. Conversely, manual entries permit forwarding aggregate records to external compliance auditing platforms.
How do you enable Cloudflare DMARC Management?

You enable automated DMARC Management directly within the Cloudflare dashboard under the Email navigation menu. This guided utility audits existing zone records and configures aggregate reporting destinations automatically.
According to the official Cloudflare DMARC Management guide, the feature is available across all plan tiers utilizing Cloudflare DNS. Follow these numbered steps to activate the tool:
- Sign in to the Cloudflare dashboard and choose your domain zone.
- Select Email from the sidebar navigation and click DMARC Management.
- Click the button labeled Enable DMARC Management to begin zone verification.
- Review the automated scan result presented by Cloudflare.
- If no record exists, accept the baseline record suggested by the interface.
- If a record exists, allow Cloudflare to append its aggregate reporting address.
As noted in the Cloudflare enable documentation, the system automatically appends a dedicated rua mailto destination to your record. This enables Cloudflare systems to parse incoming XML reports. The feature operates exclusively on apex domains and does not apply to subdomains.
Once activated, Cloudflare establishes data collection pipelines for incoming reports. It may take up to 24 hours to receive your first DMARC report and display traffic summaries. During this initial monitoring period, authentication data accumulates as external mailbox providers process and return diagnostic feedback.
How do you manually configure a DMARC TXT record in Cloudflare DNS?

You configure a manual DMARC record by creating a standard TXT entry at the _dmarc subdomain within Cloudflare DNS Records. This method provides complete control over policy tags, reporting URIs, and subdomain handling.
Under the RFC 7489 specification, domain owner policy preferences must reside as DNS TXT records at _dmarc.<domain>. Mail receiving agents query this exact subdomain name during authentication checks. Follow these steps to publish your manual entry:
- Open your zone inside Cloudflare and navigate to DNS Records.
- Click Add Record and choose TXT from the record type dropdown menu.
- Enter _dmarc into the Name field. Cloudflare appends your domain automatically.
- Enter your custom policy string into the Content field.
- Leave TTL set to Auto and save the new record.
In the Content field, enter a basic monitoring record:
v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com
The DNS entry propagates across Cloudflare anycast edge resolvers immediately upon saving. External DNS resolvers can query the record worldwide within seconds of publication.
Manual record creation accommodates specialized tags such as distinct subdomain rules and custom reporting intervals. It also allows domain owners to direct aggregate feedback to multiple security operations centers simultaneously by separating email destinations with commas.
What are the core RFC 7489 DMARC tags and policies?
DMARC records use a semicolon-delimited tag-value syntax defined by RFC 7489 to specify policy actions and reporting destinations. Understanding each parameter ensures your record functions correctly across external mail receivers.
The specification details several essential and optional tags:
-
Version (v): As defined in RFC 7489, this tag is mandatory and must appear first. Its value must equal DMARC1. Mail receivers ignore records missing this initial tag.
-
Receiver Policy (p): This mandatory tag defines receiver disposition for messages failing authentication. Accepted values include none, quarantine, and reject.
-
Subdomain Policy (sp): This optional tag dictates policy enforcement for subdomains. If omitted, subdomains inherit the primary domain policy.
-
Aggregate Reporting URI (rua): This tag supplies comma-separated mailto destinations for daily aggregate XML summaries.
-
Forensic Reporting URI (ruf): This parameter designates destination addresses for message-specific forensic failure notifications.
-
Percentage Filter (pct): Specifies the integer percentage between 0 and 100 of messages subjected to policy filtering.
-
Alignment Modes (aspf and adkim): These tags govern SPF and DKIM alignment verification, accepting r for relaxed mode or s for strict mode.
Each parameter controls how receiving servers interpret incoming email from your organization. Choosing correct tags prevents delivery failures while providing visibility into unauthorized activity.
Carefully verify syntax before publishing changes to your zone. Missing semicolons or misspelled tags cause parsers to disregard subsequent instructions. Standardizing your records according to published specifications maintains uniform behavior across diverse mailbox providers.
What rollout strategy ensures DMARC enforcement without message loss?

A staged rollout protects legitimate email delivery by gathering authentication data before enforcing strict quarantine or rejection rules. Rushing into immediate blocking can disrupt transactional notifications and marketing systems.
Begin deployment by publishing a monitoring policy with p=none. This allows all messages to reach recipients while generating aggregate XML reports to your designated rua address. Review these reports to verify that all legitimate sending sources and third-party services pass SPF and DKIM alignment.
Once you confirm alignment across legitimate mail streams, advance your policy to p=quarantine. You can use the pct parameter to test enforcement on a partial fraction of traffic, such as pct=25, before raising it to pct=100. Finally, transition your policy to p=reject to block spoofed messages entirely.
Ongoing monitoring remains critical even after reaching full rejection enforcement. Whenever your organization adopts new marketing platforms or customer communication tools, ensure their outbound IP addresses and cryptographic keys align with your published policies. Maintaining alignment preserves sender reputation and prevents unexpected delivery disruptions.
More guides in Email Security.
Related guides
- Domain Name Registration Services: Plans, Features and Costs
- DMARC Setup for M365 (2027 Guide)
- DMARC Setup for Google Workspace (2027 Guide)
- DMARC Setup on GoDaddy: Step-by-Step DNS Guide (2027)
- Email Address Filter ServiceNow: Table Guide 2027
- Email Rules in ServiceNow: Setup and Order Guide (2027)
Frequently asked questions
- Does Cloudflare DMARC Management support subdomains?
- No, Cloudflare DMARC Management operates exclusively on apex domains. Subdomain policies must be configured manually using standard DNS TXT records.
- How long does it take for Cloudflare DMARC reports to appear?
- It can take up to 24 hours after enabling DMARC Management to receive and display initial aggregate reports in the dashboard.
Sources
- DMARC instructs receiving mail servers how to treat messages that fail SPF or DKIM checks (developers.cloudflare.com)
- Mailbox providers require bulk email senders sending 5,000 or more messages per day to con (support.google.com)
- Cloudflare DMARC Management tracks all email sources sending on behalf of a domain and rev (developers.cloudflare.com)
- Cloudflare DMARC Management operates exclusively on apex domains and does not support subd (developers.cloudflare.com)
- DMARC records must be published as DNS TXT records under the _dmarc subdomain. (www.rfc-editor.org)