Skip to content

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 · Updated · Published

A laptop displaying openai 4.0 chatbot interface
Photo by Brett Wharton · Unsplash License · via Unsplash

What are the prerequisites for Google Workspace DMARC?

Flow chart of DMARC prerequisites: publish SPF TXT record on root domain, generate 2048-bit DKIM key in Google Admin, publish DKIM DNS TXT record under google._domainkey, and start DKIM authentication.
Google Workspace DMARC prerequisites

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:

  1. 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.
  2. 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.
  3. Publish the generated DKIM key as a DNS TXT record under the prefix selector host google._domainkey with the format v=DKIM1; k=rsa; p=key.
  4. 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?

Flow chart: Access DNS provider, create TXT record, enter _dmarc hostname, set value to v=DMARC1; p=none; rua=mailto:dmarc-reports@domain.com; pct=100, set TTL to 3600, and save record.
Publishing 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:

  1. Access the DNS management interface provided by your domain host or DNS provider.
  2. Create a new DNS resource record and choose TXT as the record type.
  3. Enter the hostname as _dmarc or _dmarc.example.com, depending on how your DNS provider formats subdomain entries.
  4. 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.
  5. Configure a standard DNS time to live (TTL) of 3600 seconds to allow manageable caching and rapid updates during testing.
  6. 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:

ParameterConfiguration RequirementTechnical Source Reference
SPF Root Recordv=spf1 include:_spf.google.com ~allGoogle Workspace SPF documentation
DKIM Selector Recordgoogle._domainkey with v=DKIM1; k=rsa; p=keyGoogle Workspace DKIM documentation
DMARC DNS Host_dmarc or _dmarc.example.com (TTL 3600)Google Workspace DMARC documentation
Phase 1 Monitoringp=none; pct=100 (4 to 8 weeks)Google Workspace DMARC documentation
Phase 2 Quarantinep=quarantine; pct=25 (gradual ramp)Google Workspace DMARC documentation
Phase 3 Rejectionp=reject; pct=100 (strict blocking)IETF RFC 7489 specification
Protocol Version Tagv=DMARC1 (mandatory first tag)IETF RFC 7489 specification
Identifier Alignmentadkim=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?

Flow chart of phased DMARC rollout: Phase 1 monitoring with p=none for 4 to 8 weeks, Phase 2 quarantine with p=quarantine ramping pct from 25% to 100%, and Phase 3 strict rejection with p=reject.
Phased DMARC policy rollout

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:

  1. Phase 1 (Monitoring): Maintain v=DMARC1; p=none; rua=mailto:dmarc-reports@domain.com; pct=100 for 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.
  2. 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 the pct tag from 25% to 50% to 100% as report verification confirms alignment.
  3. 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 NameDefinition and PurposeDefault Value or Permitted Values
vProtocol version; must appear first in the recordDMARC1 (Required)
pReceiver policy for organization domainnone, quarantine, reject (Required)
spReceiver policy applied to all subdomainsnone, quarantine, reject (Defaults to p)
pctPercentage of messages subject to policy filteringInteger 0 to 100 (Default 100)
ruaURIs for aggregate feedback reportingComma-separated mailto: URIs
rufURIs for forensic failure reportingComma-separated mailto: URIs (Optional)
adkimDKIM identifier alignment moder (relaxed) or s (strict; default r)
aspfSPF identifier alignment moder (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:

  1. Query your public DMARC record with dig _dmarc.example.com TXT or nslookup -type=TXT _dmarc.example.com to confirm that authoritative DNS servers return your record string.
  2. Verify that your root domain SPF TXT record resolves with v=spf1 include:_spf.google.com ~all.
  3. Check that the DKIM selector TXT record resolves under google._domainkey.example.com.
  4. Send a test email from your Google Workspace account to an external recipient or internal testing mailbox.
  5. Open the received message in Gmail, click the three vertical dots icon in the message viewer, and select Show original.
  6. Inspect the Authentication-Results header to confirm that SPF, DKIM, and DMARC show passing status with aligned domains.
  7. Monitor daily aggregate XML reports delivered to the rua email 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.

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

  1. Google Workspace requires an SPF TXT record on the root domain with the include:_spf.googl (knowledge.workspace.google.com)
  2. Google Workspace DKIM records are generated in the Admin console and published under the g (knowledge.workspace.google.com)
  3. Google Workspace DMARC records must be published as a DNS TXT record with host _dmarc at t (knowledge.workspace.google.com)
  4. Under RFC 7489, the v tag is mandatory and MUST have the precise value of DMARC1. (datatracker.ietf.org)