Google Workspace DKIM checker
Check your Google Workspace DKIM key. Rigcheck reads the TXT record at google._domainkey, confirms the key is complete and long enough, and tells you exactly what to change if it isn't.
What a correct record looks like
Google Workspace DKIM is one TXT record. You generate the value in the Admin console under Apps → Google Workspace → Gmail → Authenticate email, and add it at your DNS host:
| Type | Name | Value |
|---|---|---|
TXT | google._domainkey | v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A… |
The p= part is the public key. A 2048-bit key is about 400 characters long, and a 1024-bit key about 220. Copy it from the Admin console in one piece: it only works if every character is there.
Mistakes this checker catches
- A key that was cut off
- Long keys are easy to copy partly. Rigcheck reads the key itself, so a missing chunk shows up as a damaged key instead of passing.
- A key split into separate records
- Some DNS hosts limit a TXT value to 255 characters. Splitting the key into two TXT records doesn't work: it has to be one record, which the host may store as several strings.
- Quote marks in the value
- Pasting the value with quotes into a host that adds its own leaves stray
"characters in the key. - A doubled name
- Typing
google._domainkey.yourdomain.cominto a host that adds the domain itself createsgoogle._domainkey.yourdomain.com.yourdomain.com. Rigcheck looks for that name too. - A short or revoked key
- Gmail requires keys of at least 1024 bits, and Google recommends 2048. An empty
p=means the key was revoked. - A custom prefix
- If you chose a prefix other than
googlewhen you generated the key, enter it in the prefix box and Rigcheck checks that name instead.
What DNS can't show
The record can be perfect while Gmail still sends unsigned mail, or signs it with a Google domain instead of yours. That happens when Start authentication was never clicked in the Admin console. The setting isn't in DNS, so no outside tool can see it. Google's test is to send a message to someone on Gmail or Google Workspace and check its headers: you can't verify DKIM by sending a message to yourself. The Google Workspace setup guide walks through it, along with SPF and DMARC. Once DKIM passes, the Google Workspace DMARC guide covers the next step.
Questions
What is the Google Workspace DKIM selector?
Google calls it the prefix. The default is google, so the key lives in a TXT record at google._domainkey.yourdomain.com. You can choose a different prefix when you generate the key, for example if the domain already has a google key from an earlier setup.
Should I use a 1024-bit or 2048-bit key?
Google recommends 2048 bits if your DNS host supports it. Gmail accepts 1024-bit keys, so use 1024 only if your DNS host can’t store the longer record.
The key passes here. Why does Gmail still say DKIM isn’t on?
Publishing the record doesn’t start signing. Go back to Authenticate email in the Admin console and click Start authentication. Google says the status should then change to Authenticating email with DKIM.
Why can’t I find the Generate new record button?
Google says you may need to wait 24 to 72 hours after turning on Gmail for a new organization before you can generate a DKIM key.
How long until a fix shows up?
Usually a few minutes, sometimes a few hours. Results here are cached for five minutes, so wait at least that long before checking again.
DKIM is one of three records. Check SPF, DMARC and MX for the same domain in one go.
Check my setup