Google Workspace
Generate the google._domainkey key in the Admin console and start authentication
4 min read
DKIM Setup Guides
DKIM for Google Workspace
Google Workspace signs with a key you generate in the Admin console and publish as one TXT record.
Who does it
A Google Workspace super administrator, plus whoever manages your DNS.
Records
- One TXT record per domain at
google._domainkey(the selector isgoogleunless you change the prefix). - Value starts
v=DKIM1; k=rsa; p=followed by the key. Choose 2048-bit if your DNS host supports long TXT records.
Steps
- In the Admin console go to Apps › Google Workspace › Gmail › Authenticate email and pick the domain.
- Click Generate New Record, choose the key length, keep the prefix
google, and click Generate. Don't click Start authentication yet. - Add the TXT record at your DNS host.
- Once it has propagated (allow up to 48 hours), come back and click Start authentication. The status should change to Authenticating email with DKIM.
If DKIM management is turned on for this domain in DMARC Busta, we host your _domainkey records. Add this record in DMARC Busta instead of at your DNS host: open the domain's DKIM tab, click Import External Key, choose the platform, and enter the selector and value it gives you.
Check it worked
Send a message to someone outside your organisation (you can't check by emailing yourself) and look for dkim=pass with header.d= your domain.
Pitfalls
- Until you do this, Gmail signs as a Google domain, which does not count for DMARC.
- If Gmail was only just turned on, wait 24 to 72 hours before generating the key.
- A 2048-bit key is longer than 255 characters. If your DNS host won't accept it, split it into quoted chunks in one TXT record, or use 1024-bit.
- An outbound gateway or footer tool that changes messages after Gmail signs them will break DKIM.