Email platform guide
How to Set Up DMARC in Google Workspace
In Google Workspace you generate the DKIM key in the Admin console, publish it as a TXT record named google._domainkey at your DNS host, then start authentication. SPF is a one-line include, and DMARC comes last.
Google Workspace is the other half of Australian small business email, and it has the most precise order of operations of any provider on this site. Get the order wrong and the Admin console tells you the key does not exist, or shows a warning for two days that you can safely ignore.
The steps follow Google's own Workspace Admin documentation for SPF, DKIM and DMARC. Your DNS host (a registrar page elsewhere on this site) is where the three records are actually typed in.
What we checked. Read on 28 November 2026: Google Workspace Admin pages on setting up SPF, DKIM and DMARC (now hosted at knowledge.workspace.google.com).
Step 1: Get Gmail switched on, then wait
- Make sure Gmail is turned on for the domain in the Admin console and the MX records point to Google.
- Google says you must wait 24 to 72 hours after turning on Gmail before you can get your DKIM key. Generating it sooner can produce an error that the DKIM record was not created.
- Find where your domain's DNS is hosted (registrar, web host or Cloudflare). That is where you will paste the records.
- Check for existing SPF and _dmarc TXT records so you edit rather than duplicate.
The exact records for Google Workspace
Google's SPF page says to enter @ in the host field for a root-domain record, or the sub domain name for a subdomain. For DMARC Google says to add a TXT record at _dmarc.example.com, replacing the example with your domain, and notes that some domain hosts add the domain name automatically, so verify the record after saving.
The DKIM host is the selector prefix followed by ._domainkey. The default prefix is google, so the host is google._domainkey.
| Record | Type | Name or host | Value |
|---|---|---|---|
| SPF | TXT | @ | v=spf1 include:_spf.google.com ~all |
| DKIM | TXT | google._domainkey (or your chosen prefix) | v=DKIM1; k=rsa; p= followed by the key from the Admin console |
| DMARC | TXT | _dmarc | v=DMARC1; p=none; rua=mailto:dmarc-reports@yourbusiness.com.au |
Replace yourbusiness.com.au with your own domain. The example reporting mailbox is only a placeholder.
Step 2: SPF for Google Workspace
Google's documented record is v=spf1 include:_spf.google.com ~all. Google recommends the soft-fail ~all, which asks receivers to mark mail from unlisted servers as spam. Each sender gets its own include tag, up to 10, and each domain and subdomain needs its own SPF record.
If you also send from another service, add its include inside the same record. Google's example for Workspace plus Amazon SES is v=spf1 include:_spf.google.com include:amazonses.com ~all. Never create a second v=spf1 record.
v=spf1 include:_spf.google.com ~allStep 3: Generate and publish the DKIM key
You need to be signed in as a super administrator. Google's order matters: generate the key, publish it at your DNS host, and only then click Start authentication.
- In the Admin console go to Menu, Apps, Google Workspace, Gmail, then Authenticate email.
- Choose the domain in the Selected domain menu and click Generate New Record.
- Pick the key length. Google prefers 2048 bits if your domain host supports it, and offers 1024 for hosts that do not. Keep the prefix selector as google unless your domain already has a key with that prefix.
- Copy the DNS host name (google._domainkey) and the TXT record value (v=DKIM1; k=rsa; p=...).
- Do not click Start authentication yet. Add the TXT record at your DNS host first.
- Return to Authenticate email and click Start authentication. Google says it can take up to 48 hours to start working, and the console may keep saying you must update DNS for up to 48 hours. If you have already published the record, ignore it.
- Repeat with a separate key for each additional domain.
Step 4: DMARC for Google Workspace
Google says to allow 48 hours after setting up SPF and DKIM before you set up DMARC. Start at p=none: messages are delivered and daily reports go to your rua address. Over time change the policy to quarantine and then reject as you confirm legitimate mail is passing. Google says the v and p tags must come first, pct must be a whole number from 1 to 100, and that it recommends you always include rua, ideally pointing to a dedicated mailbox, group or reporting service because the volume can be high.
Two facts that matter later. Gmail does not support the ruf tag. And if you plan to use BIMI (a brand logo in the inbox), Google says p must be quarantine or reject and pct must be 100.
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourbusiness.com.auA safe rollout: p=none, then quarantine, then reject
The reason for staging is simple. DMARC tells every receiving mail system what to do with mail that claims to be from your domain but fails SPF and DKIM. If one of your own systems (the invoicing tool, the booking software, the newsletter service) is not set up yet, going straight to reject throws away your own legitimate mail. Starting at p=none changes nothing for your mail and gives you the reports to find those systems first. The timeline below works the same way at Google Workspace as anywhere else; only where you type the record changes.
| Stage | When | Record | What to do | Move on when |
|---|---|---|---|---|
| 1. Watch | Day 0 to week 4 | v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com.au | Publish the record and change nothing else. Read the daily aggregate reports and list every system that sends as your domain: your mail platform, your invoicing tool, your newsletter service, your booking system, your website contact form. | Every legitimate sender passes SPF or DKIM in the reports for two weeks in a row, and you can explain every unknown sending address. |
| 2. Quarantine, small slice | Week 4 to week 8 | v=DMARC1; p=quarantine; pct=10; rua=mailto:dmarc-reports@example.com.au | Ask receivers to treat 10 percent of failing mail as suspicious. Raise it to 25, then 50 once a week, checking the reports and asking staff whether anything real went missing. | Two clean weeks at pct=50 with no legitimate mail failing. |
| 3. Quarantine, all | Week 8 to week 10 | v=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc-reports@example.com.au | All failing mail is treated as suspicious. This is the safe place to pause if you run a lot of third-party senders. | Two clean weeks at pct=100. |
| 4. Reject | Week 10 onward | v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com.au | Failing mail is refused. Keep reading the reports monthly, and add any new sending service to SPF and DKIM before it goes live. | You are done. Review again whenever you add or retire a sending service. |
The weeks are our recommended rhythm for a small business with a handful of senders, not a standard. Microsoft's and Google's documentation both say to start at p=none, move to quarantine, then reject, and to go slowly. Microsoft suggests widening quarantine with pct in steps of 10, 25, 50, 75 and 100. Replace dmarc-reports@example.com.au with a mailbox you will really read.
Check it worked with the free spoofing check
Run your domain through the free email spoofing check. It reads public DNS only: it does not log in to anything, send anything or touch your mail. After each step you should see the matching result change.
- After SPF: one SPF record is found, and it lists your mail platform.
- After DKIM: the selector you published is found and is a valid key.
- After DMARC: a record is found at _dmarc, the policy reads none, and a reporting address is present.
- At every later change: the policy reads quarantine or reject, and the percentage is what you set.
Run the free check once the TXT record has had a few hours. DKIM validation may need up to 48 hours after Start authentication.
You can also read the records yourself. In a Windows command prompt, nslookup -type=TXT _dmarc.yourbusiness.com.aushows the DMARC record, and Microsoft's documentation uses the same command to check for syntax errors or more than one _dmarc record. If the answer is empty, the likeliest causes at Google Workspace are a typo in the name, a record saved in a screen your nameservers do not use, or not enough waiting time.
Google Workspace gotchas
- Generate too early and it failsWait 24 to 72 hours after turning Gmail on, or the key may not exist yet.
- Do not click Start authentication firstPublish the TXT record, then start authentication.
- 2048-bit keys are longSome DNS hosts cannot take a 2048-bit TXT value. That is what the 1024-bit option is for, but try the 2048-bit key first.
- One key per domainEvery sending domain needs its own generated key.
- The console warning lingersIt can keep asking for DNS updates for up to 48 hours after you have already published.
Questions people ask
- How do I set up DKIM in Google Workspace?
- In the Admin console open Gmail, Authenticate email, generate a new record (2048-bit if your host supports it), publish the google._domainkey TXT record at your DNS host, then click Start authentication.
- What is the SPF record for Google Workspace?
- v=spf1 include:_spf.google.com ~all, from Google's own documentation.
- Does Gmail send DMARC failure reports?
- Google says Gmail does not support the ruf tag. Use rua aggregate reports.
Official sources used
Related setup guides
Want it done and checked for you?
The Email Spoofing Shield guide in the TITANOS shop covers SPF, DKIM and DMARC for Microsoft 365, Google Workspace and cPanel hosting, with record templates, a sender inventory worksheet and a staged DMARC plan, for the days you would rather follow a document than a web page. If you would rather talk it through with a person, book a free audit call with Kyle.
