How to Set Up DMARC for Google Workspace
Google Workspace DMARC is a DNS TXT record, not an Admin console setting. Here is the record, each tag, and the path from monitoring to enforcement.
Setting up Google Workspace DMARC is a DNS job, not an Admin console job. You add one TXT record at your domain host. Receiving servers read it to decide what to do with mail from your domain that fails SPF or DKIM. Google Workspace Help says you don't need to do anything in your Google Admin console to set up DMARC. Everything below happens in DNS.
What DMARC does for your Google Workspace domain
DMARC tells receiving email servers what action to take on messages from your domain that fail SPF or DKIM authentication. Gmail's guidelines say to pass DMARC, messages must pass SPF or DKIM, or both. The domain that passes must match the domain in the message From: header. That match is called alignment. SPF and DKIM cannot check it on their own.
The standard, RFC 9989, says DMARC is designed to prevent unauthorized use of the Author Domain, a technique known as spoofing.
DMARC also gives you reports. Google Workspace Help says DMARC reports help you identify possible authentication issues and malicious activity for messages sent from your domain. Gmail's guidelines say the reports help you identify senders that may be impersonating your domain.
Prerequisites: turn on SPF and DKIM before DMARC
Google Workspace Help says you must turn on SPF or DKIM for your domain before you can use DMARC. SPF checks the sending server against a list you publish. DKIM signs each message with a cryptographic key tied to your domain. DMARC sits on top of both and checks that whichever one passed actually matches your From domain.
A message passes DMARC if it passes SPF with alignment or DKIM with alignment. It fails if both fail. If your DKIM or SPF setup is broken, DMARC will not fix it. It will just report the breakage, or block your own mail once you enforce.
The DMARC record you add to your domain's DNS
Google Workspace Help says you set up DMARC by adding a DMARC DNS TXT record to your domain, following your domain provider's instructions. The record is a line of text. The record's host name is your domain with _dmarc in front of it, written as _dmarc.example.com.
Steps for adding the record vary depending on the domain host. One trap is common: some domain hosts automatically add the domain name to the record. Google's help page says to verify the domain name in the DMARC record after adding or updating the TXT record. If your host appended the domain and you also typed it, the record points at the wrong name and receivers will not find it.
Here is a record that carries the two tags:
v=DMARC1; p=none; rua=mailto:dmarc-feedback@example.com
Start with p=none and a report mailbox
Google Workspace Help recommends setting the DMARC policy option p to none when you start using DMARC. The p option none takes no action on the message and delivers it to the intended recipient. The standard calls this Monitoring Mode. Starting here makes sure nothing was missed in the initial SPF and DKIM deployments, because your mail keeps flowing while the reports arrive.
The rua tag is optional but Google recommends you always include it. It sends DMARC reports to an email address, and the address must include the mailto prefix. Google recommends a dedicated mailbox, a group, or a third-party service.
If the report address is in a different domain, Google Workspace Help says a TXT record must be added to that email domain's DNS. The standard says a receiver sending aggregate reports must support a mailto URI. It also says receivers must not make reports if the rua tag is missing.
The reports themselves are defined in RFC 9990. The reports show the sources of mail using your domain, and the standard recommends they be machine-parsed rather than read by a human. Many third-party services will process them for you. Read them before you enforce anything. The standard says shortcomings in legitimate mail streams must be fixed before the Domain Owner publishes an Enforcement policy. Otherwise your own campaigns end up in the spam folder.
Move from monitoring to quarantine or reject
The p tag tells the receiving mail server what to do with messages that don't pass authentication. Google Workspace Help lists three options. None delivers the message. Quarantine marks the message as spam and sends it to the recipient's spam folder. Reject rejects the message, and the receiving server usually sends a bounce message to the sending server.
Move through them in order. Watch reports at p=none until every legitimate stream passes. Then quarantine, and check the reports again for mail you did not mean to catch. Then reject. The standard warns that a p value can cause problems for mailing lists and legitimate mail. So the reports stay useful at every stage.
One note on the older RFC 7489 tags. RFC 7489 listed pct for sampling rate and ri for the reporting interval. RFC 7489 is superseded by RFC 9989, and pct is absent from the list of active tags RFC 9989 gives. Google's help page says without the pct option, your policy applies to all messages from your domain. That is what you want. Skip both.
Subdomain policy and alignment tags
The sp tag sets the policy for messages from subdomains of the primary domain. The sp tag takes the same values and format as p. Subdomains inherit the parent domain's DMARC policy when sp is not used, so sp is how you split them. The standard says sp only covers subdomains, not the organizational domain itself. A separate np tag covers subdomains that do not exist.
The adkim and aspf tags set alignment, meaning how strictly the message information must match the DKIM signature or the SPF record. Relaxed is the default for both. Relaxed DKIM alignment accepts any valid subdomain of the d= domain in the DKIM headers. Relaxed SPF alignment accepts any valid subdomain of the envelope domain. Strict requires an exact match with the From domain in both cases.
Google Workspace Help says relaxed alignment typically provides sufficient spoofing protection, while strict alignment can send messages from associated subdomains to spam. The standard says nearly all Domain Owners have found relaxed alignment sufficient. Consider strict only when mail is sent for your domain from a subdomain outside your control.
BIMI requirements on your DMARC policy
If you arrive here because you want your logo shown in inboxes, BIMI has two policy requirements. Google Workspace Help says if your domain uses BIMI, the DMARC p option must be set to quarantine or reject. It also says a domain using BIMI must have a DMARC policy with a pct value of 100, meaning the policy applies to all messages. A p=none record will not qualify, so finish the monitoring phase first.
Common setup mistakes to check
If your record seems to do nothing, check these first.
- The v tag must be first and must read DMARC1. The standard says the whole record is ignored if v is missing, not first, or has the wrong value.
- The host name must be _dmarc.yourdomain, not yourdomain alone. Check what your host appended.
- The rua address must start with mailto. Gmail does not support the ruf tag for failure reports, so leave it out.
- Each domain you send from needs its own record. Google's help page says each domain can have a different DMARC policy and different report options, and to complete the setup steps for each domain.
- A record without a p tag is treated as if it said p=none, so a missing p tag silently leaves you in monitoring.
Once the record is live and the reports flow, you have done the DMARC part. The one-click unsubscribe headers Gmail asks for are a separate job, also done in your sending setup rather than the Admin console.
Sources
Filed