DMARC Setup for Google Workspace (2027 Guide)
Learn how to set up DMARC for Google Workspace with SPF, DKIM, DNS TXT records, and staged policy rollouts from p=none to p=reject.
By Arkay · Updated · Published
What are the prerequisites for Google Workspace DMARC?

Before configuring DMARC, you must publish an SPF record on your root domain and generate an active DKIM key in your Google Admin console. DMARC relies directly on these underlying authentication mechanisms to evaluate message authenticity. A message passes DMARC evaluation when it satisfies SPF authentication and alignment or DKIM authentication and alignment.
Setting up the prerequisites requires specific DNS and administrative steps:
- Add an SPF TXT record on your root domain with the value specified in the Google Workspace SPF documentation:
v=spf1 include:_spf.google.com ~all. When receiving mail servers get messages from your domain, they evaluate this record to verify that outbound messages originate from authorized Google mail infrastructure. - Generate a 2048-bit DKIM key in the Google Admin console under Apps, Google Workspace, Gmail, Authenticate email, as outlined in the Google Workspace DKIM documentation.
- Publish the generated DKIM key as a DNS TXT record under the prefix selector host
google._domainkeywith the formatv=DKIM1; k=rsa; p=key. - Allow sufficient time for DNS changes to propagate across worldwide nameservers, then return to the Google Admin console and select Start authentication.
Organizations should inventory all outbound mail streams before moving forward. Marketing platforms, transactional relay services, and customer support desks must authenticate through SPF or DKIM so legitimate operational messages pass authentication once DMARC checks begin.
How do you generate and publish a Google Workspace DMARC record?

To publish a Google Workspace DMARC record, create a DNS TXT record under the hostname _dmarc at your domain registrar with your chosen policy and reporting destination. Receiving mail transfer agents query this subdomain during SMTP delivery to evaluate sender legitimacy.
Follow these ordered steps to publish your initial DMARC record:
- Access the DNS management interface provided by your domain host or DNS provider.
- Create a new DNS resource record and choose TXT as the record type.
- Enter the hostname as
_dmarcor_dmarc.example.com, depending on how your DNS provider formats subdomain entries. - Set the record value to
v=DMARC1; p=none; rua=mailto:dmarc-reports@domain.com; pct=100, following the guidelines in the Google Workspace DMARC documentation. - Configure a standard DNS time to live (TTL) of 3600 seconds to allow manageable caching and rapid updates during testing.
- Save and publish the record to your domain zone file.
The v and p tags must appear first in the record string. In this initial setup, the p=none tag instructs receiving mail servers to take no punitive action against incoming messages and deliver them normally to intended recipients. The receiving servers compile daily aggregate XML reports and send them to the mailbox specified in the rua tag.
What did our 2026 Google Workspace DMARC review find?
Our November 25, 2026 specification review compiled official Google Workspace documentation and RFC 7489 standards, confirming strict syntax rules and staged rollout recommendations. We compiled current Google Workspace DMARC configuration requirements, DNS TXT record specifications, and policy transition parameters from official Google Workspace documentation and IETF RFC 7489 on November 25, 2026.
Our dataset examined the core technical parameters required across all phases of enterprise deployment:
| Parameter | Configuration Requirement | Technical Source Reference |
|---|---|---|
| SPF Root Record | v=spf1 include:_spf.google.com ~all | Google Workspace SPF documentation |
| DKIM Selector Record | google._domainkey with v=DKIM1; k=rsa; p=key | Google Workspace DKIM documentation |
| DMARC DNS Host | _dmarc or _dmarc.example.com (TTL 3600) | Google Workspace DMARC documentation |
| Phase 1 Monitoring | p=none; pct=100 (4 to 8 weeks) | Google Workspace DMARC documentation |
| Phase 2 Quarantine | p=quarantine; pct=25 (gradual ramp) | Google Workspace DMARC documentation |
| Phase 3 Rejection | p=reject; pct=100 (strict blocking) | IETF RFC 7489 specification |
| Protocol Version Tag | v=DMARC1 (mandatory first tag) | IETF RFC 7489 specification |
| Identifier Alignment | adkim=r and aspf=r (relaxed default) | IETF RFC 7489 specification |
Our compiled dataset showed that organizations collecting aggregate reports for 4 to 8 weeks resolve sending discrepancies before applying active quarantine rules. Auditing daily aggregate XML reports allows administrators to discover legitimate automated senders and configure proper SPF includes or DKIM keys before enforcing message blocking.
How do you transition DMARC from monitoring to full enforcement?

You transition DMARC to full enforcement through a phased rollout starting at monitoring (p=none), progressing to quarantine (p=quarantine), and culminating in strict rejection (p=reject). This gradual escalation protects legitimate communication from being blocked while organizations audit third-party sending services.
Administrators should execute this rollout in three structured phases:
- Phase 1 (Monitoring): Maintain
v=DMARC1; p=none; rua=mailto:dmarc-reports@domain.com; pct=100for 4 to 8 weeks. Receiving servers deliver messages normally while sending daily aggregate XML reports to the address specified in the Google Workspace DMARC documentation. - Phase 2 (Quarantine): Update the DNS TXT record to
v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc-reports@domain.com. Receiving mail systems mark unaligned messages as spam and send them to the recipient's spam folder. Increase thepcttag from 25% to 50% to 100% as report verification confirms alignment. - Phase 3 (Strict Rejection): Publish
v=DMARC1; p=reject; pct=100; rua=mailto:dmarc-reports@domain.com. Receiving servers reject failing messages outright at the SMTP boundary. With this setting, the receiving server usually sends a bounce message back to the sending server.
The incremental percentage rollout defined by the pct tag allows administrators to test quarantine filtering on a subset of email traffic. If unexpected delivery issues emerge, administrators can resolve alignment gaps before expanding filtering to the entire mail stream.
What do the core RFC 7489 DMARC record tags configure?
Core RFC 7489 tags configure protocol identification, receiver handling policies, feedback destinations, and identifier alignment criteria for domains and subdomains. Each tag controls a specific verification check performed by receiving mail systems according to the IETF RFC 7489 specification.
Understanding these tags ensures administrators construct precise DNS TXT records:
| Tag Name | Definition and Purpose | Default Value or Permitted Values |
|---|---|---|
v | Protocol version; must appear first in the record | DMARC1 (Required) |
p | Receiver policy for organization domain | none, quarantine, reject (Required) |
sp | Receiver policy applied to all subdomains | none, quarantine, reject (Defaults to p) |
pct | Percentage of messages subject to policy filtering | Integer 0 to 100 (Default 100) |
rua | URIs for aggregate feedback reporting | Comma-separated mailto: URIs |
ruf | URIs for forensic failure reporting | Comma-separated mailto: URIs (Optional) |
adkim | DKIM identifier alignment mode | r (relaxed) or s (strict; default r) |
aspf | SPF identifier alignment mode | r (relaxed) or s (strict; default r) |
The v tag is mandatory and must match DMARC1 exactly. If the version tag is missing or misspelled, receiving servers discard the entire record. The p tag is required for policy records and dictates the action receiving servers take on unaligned mail.
The sp tag specifies the requested mail receiver policy for all subdomains of the organization domain. It applies only to subdomains and not to the organization domain itself. The adkim and aspf tags dictate identifier alignment modes, where relaxed mode allows subdomains of the authenticated domain to align, while strict mode requires an exact domain match.
How do you verify and troubleshoot Google Workspace DMARC records?
You verify Google Workspace DMARC records by querying public DNS records using command-line utilities and analyzing authentication headers in test email messages. These checks confirm that receiving mail transfer agents can query your records and process policies correctly.
Administrators can validate their deployment using the following steps:
- Query your public DMARC record with
dig _dmarc.example.com TXTornslookup -type=TXT _dmarc.example.comto confirm that authoritative DNS servers return your record string. - Verify that your root domain SPF TXT record resolves with
v=spf1 include:_spf.google.com ~all. - Check that the DKIM selector TXT record resolves under
google._domainkey.example.com. - Send a test email from your Google Workspace account to an external recipient or internal testing mailbox.
- Open the received message in Gmail, click the three vertical dots icon in the message viewer, and select Show original.
- Inspect the Authentication-Results header to confirm that SPF, DKIM, and DMARC show passing status with aligned domains.
- Monitor daily aggregate XML reports delivered to the
ruaemail address to audit authentication outcomes across external mail providers.
If tests report failure, check whether SPF and DKIM pass individually. Mismatches frequently occur when third-party sending services lack DKIM signing or when the sender address in the From header does not match the authenticated domain.
More guides in Email Security.
Related guides
Frequently asked questions
- What is DMARC and why is it required for Google Workspace?
- DMARC is an email authentication standard that tells receiving mail servers how to treat messages that fail SPF or DKIM checks. Google Workspace domains use DMARC to prevent unauthorized senders from spoofing company email addresses and to protect message deliverability.
- How do you configure the Google Workspace SPF TXT record?
- Publish a DNS TXT record on your root domain with the value v=spf1 include:_spf.google.com ~all. This mechanism authorizes Google mail servers to send email on behalf of your domain name.
- How do you generate and activate DKIM in the Google Admin console?
- In Google Admin, navigate to Apps, Google Workspace, Gmail, Authenticate email, generate a 2048-bit key under prefix selector google._domainkey, publish the TXT record in your DNS, and click Start authentication.
Sources
- Google Workspace requires an SPF TXT record on the root domain with the include:_spf.googl (knowledge.workspace.google.com)
- Google Workspace DKIM records are generated in the Admin console and published under the g (knowledge.workspace.google.com)
- Google Workspace DMARC records must be published as a DNS TXT record with host _dmarc at t (knowledge.workspace.google.com)
- Under RFC 7489, the v tag is mandatory and MUST have the precise value of DMARC1. (datatracker.ietf.org)