Xpoudy

How to Set Up Google Workspace DMARC in Cloudflare

Short answer

Publish one TXT record at _dmarc in Cloudflare for the domain used in From addresses. If you are rolling out DMARC and have no existing policy, start with monitoring and a working reporting address. Verify alignment for Google Workspace and any other legitimate senders before changing to quarantine or reject.

By Xpoudy ·

Check all senders using the From domain

Inventory Google Workspace and other systems that send with your domain in the visible From field. Examples can include invoices, customer support, form receipts and outreach mail. Send a test message from each service and check whether its passing SPF or DKIM identifier aligns with that From domain.

If you already enforce DMARC, keep the existing policy while diagnosing a failed sender. Review its authentication setup and report data before changing the domain’s policy.

Add or edit the record in Cloudflare

Use DNS → Records in the domain’s active Cloudflare zone. Search for an existing TXT record starting v=DMARC1 at the host. Keep one DMARC policy record for that hostname. The example uses a reporting address on the same reserved example domain. Replace it with a mailbox or reporting service you control.

FieldExample
TypeTXT
Name_dmarc
Contentv=DMARC1; p=none; rua=mailto:dmarc-reports@example.com
TTLAuto

A different reporting domain can require separate report authorization. Confirm the reporting service’s setup before using it.

Read the result and decide when to enforce

Run the Xpoudy DMARC checker, then verify an actual message shows DMARC pass. Read aggregate reports over a window that includes infrequent legitimate senders. Use the reports to fix unaligned sender streams. Move to quarantine or reject when your verified inventory and monitoring results support the change, and repeat the message tests after updating the policy.