[ Sending-service guides ]

Google Workspace DMARC setup: verify DNS, signing and real mail

Use the Google Workspace settings for the selected domain, publish the generated DKIM key, start signing and verify a real message before relying on a DMARC policy.

By the EmailAuth research team · 5 min read

[ Key points ]

  • Use the Google Workspace settings for the selected domain, publish the generated DKIM key, start signing and verify a real message before relying on a DMARC policy.
  • DNS publication, signing activation and received-message alignment need separate evidence.
On this page

Google Workspace DMARC setup has four connected stages: confirm who sends for the domain, publish the applicable SPF and DKIM records, start DKIM signing for the selected domain, and verify the resulting messages before relying on a DMARC policy.

DNS publication and signing are separate observations. A DKIM key can be visible while the service is not yet signing, and employee mail can authenticate correctly while a website or billing application uses a different provider. Follow the complete route for each important service.

Check the selected domain and existing configuration

Confirm the selected domain, its authoritative DNS host, current records and the Google administration permissions needed for the task. Save the existing configuration.

Check whether a valid SPF policy and working custom-domain DKIM signing already exist. Do not regenerate a working key or replace an established policy just to follow a new guide from its first step.

Create a route list for employee mail, aliases or secondary domains, gateways and outside applications. For each important identity, plan a separate received-message test.

Include the services that send outside Workspace

Google Workspace may handle employee mail while the website, accounting system and support platform use other providers. A Workspace setup cannot automatically establish ownership or alignment for those services.

Ask the team to name each customer-facing sender and its business owner. Include low-volume but important mail such as login links and payment receipts. Then ask for a verification result from the actual application, rather than assuming that a successful Gmail test covers it.

Make sure someone owns the domain's DNS account and the report destination. Authentication becomes difficult to maintain when a former contractor controls the records or reports arrive in a mailbox nobody reads.

Publish the appropriate SPF policy

Google's current documented example for a domain sending **only through Google Workspace** is:

v=spf1 include:_spf.google.com ~all

Use it only when the assumption fits. For a mixed-service domain, review the existing permissions and the actual envelope identities before changing its single SPF policy. A separate application using its provider's own envelope domain may require a different supported alignment approach.

The ~all qualifier produces an SPF softfail for an otherwise unmatched source. Softfail is not a passing SPF result for DMARC, and it does not force every receiver to put the message in spam. Receiver handling and the separate DMARC decision remain relevant.

Check the SPF evaluation path, including nested dependencies. Counting the includes visible in the top-level record is insufficient.

Generate and publish the selected domain’s DKIM key

In the Google Admin console, navigate to Apps, Google Workspace, Gmail, then Authenticate email. Select the correct domain. If it is a new signing setup, use Generate New Record and the supported key settings.

Google offers a 2048-bit key where the DNS provider supports it. The default selector is google; an existing selector collision needs a supported different selector rather than an overwrite.

Copy the generated DNS host name and public-key value from the console. Publish that **TXT** record in the authoritative DNS zone. A common relative owner name is google._domainkey, but use the selected domain's generated values and the DNS editor's naming model.

The private key is not published in DNS. Do not paste a shortened sample key from an article, reuse another domain's key or silently replace another service's selector.

Check the public answer at the resulting full name:

dig TXT google._domainkey.example.com +short

This command is illustrative: replace the domain and, where applicable, the selector. A public TXT answer demonstrates key publication, not that Workspace has started signing.

Start signing and inspect a received message

After publishing and checking the key, return to the selected domain's Authenticate email settings and start authentication. Review the resulting status.

Google's instructions describe testing with another Gmail or Google Workspace recipient, rather than sending yourself a message. Open the original message at the recipient and inspect the trusted authentication results and DKIM-Signature.

Verify the signing domain, selector and alignment with the visible From domain. A pass for a different domain does not establish your domain's aligned path. Repeat the test for relevant aliases, secondary domains, gateways and application routes.

  • Layer: DNS; Question to answer: Is the generated public key published at the intended name?
  • Layer: Workspace; Question to answer: Is signing enabled for the selected domain?
  • Layer: Received mail; Question to answer: Does a relevant signature verify and align after the full route?
  • Layer: Business workflow; Question to answer: Was the message sent by the service users actually depend on?
  • ovider setup and DNS caching can take time. Google also documents a preparation delay before key generation for newly enabled Gmail services. Use the actual state and current guidance; do not promise one universal completion time.

Publish and verify the DMARC policy

For a newly monitored domain, a same-domain reporting example is:

v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com

Publish it at the applicable _dmarc name, use a working approved collection address and confirm report arrival and processing. Google currently advises allowing at least 48 hours of SPF/DKIM operation before its DMARC setup step. That preparation period does not, on its own, establish readiness to enforce a stronger policy.

If the domain already has a policy, assess it instead of automatically replacing it with monitoring. The DMARC record workflow explains how to join DNS verification to real-message evidence.

Maintain coverage as services change

Review the implementation against the sender inventory and its critical-flow tests. A setting for one domain does not prove the state of every secondary domain or external notification service.

Require clear access to the Workspace and DNS administration accounts, a record of approved changes, a maintained list of selectors and an accountable report-review process. Define how the team handles a newly introduced application or an abandoned service.

Retain the distinction between domain authentication and account security. A compromised authorised account can send an authenticated message. A DMARC pass also does not guarantee inbox placement or establish that a business request is legitimate.

The practical takeaway

Keep DNS evidence, signing status and received-message results in the same acceptance record. That makes it possible to distinguish a publishing problem from a signing problem or a separate application that still needs configuration.

Keep a partial success from closing the project

In written case GW-01, assume user@example.com has a passing signature d=example.com with s=google. That stipulated message has an aligned DKIM path. An invoice application using the same From domain has no trusted received-message evidence yet. Its DKIM and SPF results remain unknown. Mark employee mail conditionally evidenced only within the assumed case, and leave the invoice route unresolved with its application owner. No Google tenant, message, DNS record or signing operation was tested for this guide.

Preserve the enforcement boundary

RFC 9989 Section 7.4 requires valid DKIM, not SPF alone, for domains publishing p=reject, and warns about indirect-mail and mailing-list interoperability. A single successful direct-message test is not proof that every legitimate route is ready for stronger policy. Keep existing approved protection while diagnosing the actual gap; any policy change needs its own decision.

[ Takeaway ]

DNS publication, signing activation and received-message alignment need separate evidence.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Check the selected domain through all three layers.

Use its generated DKIM key, publish the TXT record, start authentication and verify received mail. Preserve working settings instead of regenerating keys just to follow a guide.

Next steps

  1. Review mixed-service SPF permissions first.
  2. Check selector conflicts before publishing.
  3. Test relevant aliases, secondary domains and gateways.

CISO / SecOps

Treat coverage and ongoing ownership as the control.

One domain's working configuration does not establish the state of every secondary domain or application. Require a documented baseline and a process for reviewing new or abandoned senders.

Next steps

  1. Confirm administrative access and approved changes.
  2. Review critical-flow tests and report ownership.
  3. Keep account security and transaction approval controls independent.

Founder / Non-technical

Make the service list match the brand's communications.

A Gmail test says little about a separate invoice or website-notification provider. Ask for coverage of the business workflows that use the domain, including low-volume messages customers need.

Next steps

  1. Name each customer-facing sender and its owner.
  2. Keep DNS and Workspace account ownership clear.
  3. Request a verification result from each critical service.

[ FAQs ]

Frequently asked questions

Do I configure the Workspace SPF policy in the Google Admin console?

The SPF policy is published in the domain's authoritative DNS. Use Google's current instructions to determine the appropriate value, then verify the actual public answer.

Will Workspace setup cover every application that uses our brand?

No. Employee mail can pass while invoices, support messages or website notifications use a separate service. Ask for an owned sender inventory and a received-message test for each important business route.

Does ~all count as SPF passing for DMARC?

No. It represents softfail for a source that reaches that mechanism. DMARC still needs a passing aligned SPF path or a passing aligned DKIM signature.

Does adding the DKIM TXT record turn signing on?

No. Publish and verify the generated public key, then enable signing through the selected domain's Google settings and check a received message.

Should every Workspace domain use the same DKIM key?

Follow the selected domain's generated configuration. Google's setup instructs administrators to obtain a unique key for each domain; do not reuse another domain's sample key.

Why might Generate New Record be unavailable on a new setup?

Check privileges, the selected domain and current service state. Google documents a 24 to 72-hour preparation period after enabling Gmail before key generation may be available.

Can I verify setup by emailing myself?

Follow Google's documented test using another Gmail or Workspace recipient. Inspect the original message at that recipient, then test any separate business application routes as well.

Does waiting 48 hours mean the domain is ready for reject?

No. Google's setup preparation guidance is not evidence that all legitimate senders, periodic flows and indirect mail are ready for enforcement.

[ Sources ]

Sources

  1. Google Workspace: Set up SPF

    Sections Before you begin · Step 1: Identify all your email senders · Step 2: Determine your SPF record

  2. Google Workspace: Set up DKIM

    Sections Step 1: Generate a DKIM key pair · Generate a DKIM key in the Admin console · Step 2: Add the DKIM key to your domain · Step 3: Turn on & verify DKIM

  3. Google Workspace: Set up DMARC

    Sections Before you begin · Step 1: Set up a group or mailbox for reports · Step 2: Make sure third-party email is authenticated · Step 3: Determine your DMARC record · Step 4: Add your DMARC record to your domain

  4. RFC 7208 SPF

    Sections §2.4 · §2.6.5 · §3.2 · §3.3 · §4.6.4

  5. RFC 9989 DMARC

    Sections §4.4 · §5.3.5 · §5.4 · §7.4 · §8

  6. RFC 9990 Aggregate reporting

    Sections §3.1 · §4 · §7 · §8 · §9

[ Glossary ]

Glossary

DKIM selector
The s= value used with the signing domain to locate a public key.
DMARC alignment
The required relationship between an authenticated domain and the visible From domain.
Envelope sender
The SMTP reverse-path identity checked by SPF, distinct from visible From.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base