The DKIM records for Google Workspace
With Google Workspace you generate the DKIM key yourself in the Admin console and publish the public part as a TXT record. The default selector is google, so the record lives at google._domainkey. Google offers 2048 bits; 1024 bits is only meant for DNS hosts that cannot store values that long.
Two waiting periods are part of it: after turning on Gmail it takes 24 to 72 hours before a key can be generated at all, and after starting authentication up to 48 hours until DKIM works consistently. Signing only begins once you start authentication in the Admin console.
google._domainkey TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkq…"How to set up DKIM for Google Workspace
The steps in the Google Workspace admin interface and at the DNS host:
- In the Google Admin console open “Apps”, “Google Workspace”, “Gmail” and then “Authenticate email”, and select the domain.
- Choose “Generate New Record”, keep 2048 bits and the selector google, and copy the TXT value shown.
- At the DNS host create a TXT record with the name google._domainkey and that value.
- Back in the Admin console click “Start authentication” and after a while check in the DKIM checker with the selector google.
Click path at Google Workspace
Official guide from Google Workspace: Set up DKIM(opens in a new tab)
Publishing at the DNS host
DKIM records always live at selector._domainkey. Most DNS editors append the domain themselves, so you only enter the part before it. CNAME records for DKIM must not sit behind a proxy. The guides per host below show where the record is created in the respective DNS editor.
Verify and keep an eye on it
The DKIM checker below queries the key under the selector and checks structure and length. You see whether the records for Google Workspace are publicly visible. DomainWarn keeps checking them afterwards and alerts you when a key disappears or changes.