Enable DKIM in Google Workspace
Generate the Gmail signing key, publish its TXT record and start authentication.
Reviewed by Mira John Updated
Generate the key in Gmail settings
Open Google Admin → Apps → Google Workspace → Gmail → Authenticate email. Select the domain, generate a 2048-bit key and copy the selector and TXT value.
Publish the TXT record
At the active DNS host, add the full public key at the displayed selector._domainkey name. The usual selector is google.
Start authentication
Return to Authenticate email and select Start authentication. Send to an independent mailbox and confirm dkim=pass for your domain.
Check the published record
Replace example.com with your domain.
nslookup -type=TXT google._domainkey.example.com
The Google DKIM record exists, but Gmail is not signing
NXDOMAIN for google._domainkey
Copy the selector shown in Google Admin. If it differs from google, query that selector and publish its complete TXT value.
The key is published, signing is off
Return to Gmail → Authenticate email for the same domain and select Start authentication. Test a newly sent message.
The message uses another selector
Read s= and d= in DKIM-Signature. Compare that exact DNS name with the key for the active sending service.
Confirm: A newly sent Gmail message reports dkim=pass for your signing domain.