To set up DKIM, you create a signing key in your email provider, publish its public half as a DNS record, then turn on signing and check a test message for dkim=pass. Google Workspace uses one TXT record, Microsoft 365 uses two CNAME records, and on GoDaddy both go into the same DNS screen.
TL;DR
- DKIM signs every message with a private key, and receivers check it against a public key in your DNS at selector._domainkey.yourdomain.com.
- Google Workspace uses one TXT record named google._domainkey. Pick the 2048-bit key.
- Microsoft 365 uses two CNAME records, selector1._domainkey and selector2._domainkey. Copy the values from the Defender portal, never from an example.
- On GoDaddy, enter only the prefix in the Name field, because GoDaddy adds your domain to the end.
- Senders of more than 5,000 emails a day to Gmail or Outlook.com need DKIM, SPF and DMARC together.
What does DKIM do, and why set it up now?
DKIM (DomainKeys Identified Mail) adds a digital signature to each email you send. The receiving server looks up your public key in DNS and uses it to confirm that the message came from your domain and was not changed on the way. Microsoft's DKIM guide explains that the signature stays valid as long as systems in the middle do not modify the signed parts of the message.
Mailbox providers now require it. Google's DKIM setup page says all senders to personal Gmail accounts must set up SPF or DKIM, and bulk senders of more than 5,000 messages a day must set up SPF, DKIM and DMARC. When Google first required some form of authentication, the number of unauthenticated messages Gmail users received fell by 75%, according to Google's October 2023 announcement.
Microsoft followed for Outlook.com. Its April 2025 announcement set the same 5,000-a-day line from May 5, 2025, and said failing messages would be rejected with "550; 5.7.515 Access denied."
Many domains still have not done it. In a February 2026 scan of 5,499,028 domains by DMARCguard, DKIM was the least published of the three records. That figure is a floor, because the scan only checked six common selectors.
| Record | Share of 5,499,028 domains (Feb 2026) |
|---|---|
| SPF | 56.0% |
| DMARC | 30.4% |
| DKIM (six common selectors) | at least 22.7% |
| DMARC at quarantine or reject | 12.8% |

DKIM is the least published of the three records (DMARCguard, February 2026 scan).
What do you need before you start?
Gather four things first, so you do not stop halfway through.
- Admin access. Google requires a super administrator, and Microsoft 365 needs an admin account.
- Your DNS host login. This is often your registrar, such as GoDaddy, not your email provider.
- Every service that sends as your domain. E-Warmup's authentication guide notes that a domain sending through three platforms needs three DKIM records.
- A second mailbox at another provider, to read the headers of a real test message.
The three setups differ in record type and count.
| Item | Google Workspace | Microsoft 365 | GoDaddy Professional Email |
|---|---|---|---|
| Record type | TXT | CNAME | CNAME |
| Records to add | 1 | 2 | 2 |
| Host name | google._domainkey | selector1._domainkey, selector2._domainkey | secureserver1._domainkey, secureserver2._domainkey |
| Key comes from | Google Admin console | Microsoft Defender portal | GoDaddy Email & Office Dashboard |
| Longest stated wait | 48 hours | "a few minutes (or possibly longer)" | 48 hours |
How to Set Up DKIM in Google Workspace
Google's process has three steps, and the order matters. Generate the key, publish it, and only then turn on signing.
1. Generate a 2048-bit key in the Admin console
Sign in as a super administrator. If you just turned on Gmail for your organization, wait 24 to 72 hours first, because Google says an earlier attempt can fail with an error that the DKIM record was not created.
- In the Google Admin console, go to Menu, then Apps, then Google Workspace, then Gmail.
- Click Authenticate email and select your domain in the Selected domain menu.
- Click Generate New Record.
- Choose 2048 as the key length. Google calls longer keys more secure and suggests 1024 only if your DNS host cannot take 2048-bit keys.
- Leave the prefix selector as google, unless another service already uses that prefix on your domain.
- Click Generate, then copy the DNS Host name and the TXT record value.
Do not click Start authentication yet. The key has to be in DNS first.
2. Add the TXT record at your DNS host
Create one TXT record with these values.
| Field | What to enter |
|---|---|
| Type | TXT |
| Host or Name | google._domainkey |
| Value | v=DKIM1; k=rsa; p= followed by your key |
If you send from more than one domain, repeat this for each one. Google issues a unique key per domain.
3. Turn on signing and verify
Go back to Authenticate email and click Start authentication. When it works, the status changes to "Authenticating email with DKIM." Google allows up to 48 hours after you add the key, and the console may show "You must update the DNS records for this domain" until then.
Send a test to another Gmail or Google Workspace user, because Google says you cannot verify DKIM by emailing yourself. Open the message, click More, then Show original, and look for DKIM=pass in the Authentication-Results line.
How to Set Up DKIM in Microsoft 365
Microsoft 365 signs mail from your initial onmicrosoft.com domain automatically. Your custom domain, the one in your From address, needs the steps below. Microsoft generates two key pairs and keeps the private keys, so you only publish two CNAME records that point to Microsoft.
1. Get your CNAME values from the Defender portal
- Open the DKIM tab at security.microsoft.com/authentication?viewid=DKIM, or go to Email & collaboration, then Policies & rules, then Threat policies, then Email authentication settings.
- Click the row of your custom domain, not the check box, to open its details.
- Select Create DKIM keys. If you see a Client error instead, that is expected when no records exist yet. Select OK, and the status shows CnameMissing.
- In the Publish CNAMEs section, select Copy.
2. Publish two CNAME records
Your values will follow this pattern. The example below is Microsoft's own illustration for contoso.com.
| Host name | Points to |
|---|---|
| selector1._domainkey | selector1-contoso-com._domainkey.contoso.n-v1.dkim.mail.microsoft |
| selector2._domainkey | selector2-contoso-com._domainkey.contoso.n-v1.dkim.mail.microsoft |
Copy your own values exactly. The letter before -v1 changes from tenant to tenant, and Microsoft says the old onmicrosoft.com format and the new format cannot both exist for the same selector. If your organization has 2 custom domains, you need 4 CNAME records.
3. Turn on DKIM signing
Microsoft says it takes "a few minutes (or possibly longer)" to detect the new records. Then return to the domain details and turn on the Sign messages for this domain with DKIM signatures toggle. Success shows the status "Signing DKIM signatures for this domain."
If you get an error, check the records for typos, which Microsoft says are easy to make "with the dashes, periods, and underlines."
4. Move old keys to 2048 bits
Keys created in Exchange Online PowerShell default to 1024 bits. RFC 8301 says signers must use RSA keys of at least 1024 bits and should use at least 2048. To upgrade, run this in Exchange Online PowerShell.
Rotate-DkimSigningConfig -Identity yourdomain.com -KeySize 2048
A rotation is not instant. Microsoft says the new private key starts signing after four days (96 hours), so do not remove anything in DNS during that window.
How to Set Up DKIM on GoDaddy
GoDaddy setups fall into three cases. Pick the one that matches where your email runs.
1. Your domain is at GoDaddy and your email is Google Workspace
Use the TXT record from the Google steps above. In GoDaddy's TXT record steps, you sign in to your Domain Portfolio, select your domain, select DNS, then Add New Record, and choose TXT.
- Name. Enter google._domainkey only. GoDaddy asks for the hostname "without the domain name," so typing the full google._domainkey.yourdomain.com doubles the domain and the lookup fails.
- Value. Paste the full v=DKIM1 string. GoDaddy allows up to 1,024 characters, which is room for a 2048-bit key in one record.
- TTL. Leave the default of 1 hour, then select Save.
GoDaddy says most DNS updates take effect within an hour but could take up to 48 hours.
2. You use Microsoft 365 from GoDaddy
GoDaddy's Microsoft 365 DKIM guide follows the Microsoft steps above, with one catch. You sign in to the Defender portal with your Microsoft 365 email and password, because your GoDaddy username and password will not work there.
- In the Defender portal, select your domain name under DKIM, select Create DKIM keys, then Copy.
- In GoDaddy DNS, select Add New Record, choose CNAME, paste the first hostname and value, then Add More Records for the second. Select Save All Records.
- Back in the Defender portal, turn on Sign messages for this domain with DKIM signatures.
With Advanced Email Security from Proofpoint, you also publish a separate TXT key whose name starts with "selector," after a GoDaddy Guide unlocks the Domains section for you.
3. You use GoDaddy Professional Email powered by Titan
GoDaddy's Professional Email guide uses two DKIM CNAME records.
- Sign in to your Email & Office Dashboard. Under Users, select Manage next to your user, then Set mail destination or Help me fix this.
- Copy the 2 DKIM CNAME records shown under step 2. Each target includes "dkim."
- In DNS, add a CNAME named secureserver1._domainkey and a second named secureserver2._domainkey, each with its copied target and a TTL of 1 Hour.
- Select Save All Records.
GoDaddy asks you to add SPF and DKIM before DMARC, for 4 records in total. It adds the SPF record for you only when your domain, DNS and email sit in the same GoDaddy account.
How do you check that DKIM is working?
Check the headers of a real message, not just the console status. Microsoft's guide says the selector used to sign the message appears in the s= value of the DKIM-Signature header, and the signing domain appears in d=.
Look for three things in the Authentication-Results line of your test email.
- dkim=pass. Anything else, such as neutral or fail, means signing or the DNS record is not right yet.
- The right selector. s= should read google for Workspace or selector1 or selector2 for Microsoft 365.
- Your own domain. d= should be your From domain. A pass for your sending tool's domain does not count toward DMARC alignment.
The waits are the part that catches people out. These are the longest delays each provider states in its own documentation.
| Step | Longest stated wait |
|---|---|
| Google key available after Gmail is turned on | 72 hours |
| Google DKIM working after the key is added | 48 hours |
| GoDaddy DNS update worldwide | 48 hours |
| Microsoft 365 new key after a rotation | 96 hours |
One check is not enough over time. A new sending tool, a DNS cleanup or a key rotation can break DKIM months later. E-Warmup's Email Health Monitoring tracks SPF, DKIM and DMARC continuously from one view, next to reputation, blacklists and inbox placement.

The longest wait each provider states in its own documentation (Google Workspace Help, GoDaddy Help, Microsoft Learn).
Why does DKIM fail after setup?
Most failures come from six causes. Match your symptom before you change anything.
| Symptom | Likely cause | Fix |
|---|---|---|
| Google keeps saying "You must update the DNS records" | DNS still updating | Wait up to 48 hours |
| Microsoft status stays CnameMissing | Typo, or records not detected yet | Recheck dashes and periods |
| No DKIM record found on GoDaddy | Full host name pasted in Name | Enter the prefix only |
| Google key clashes with another tool | Prefix google already in use | Choose a different prefix |
| dkim=fail on every message | Gateway or footer edits mail after signing | Check outbound gateway settings |
| dkim=pass but DMARC fails | Tool signs with its own domain | Set up DKIM for your domain in that tool |
The gateway case is easy to miss. Google's setup page warns that an outbound gateway that adds a footer to every message can interfere with DKIM. Microsoft lists forwarding as another cause, since an intermediary that modifies the body or headers breaks the signature.
Audits find these gaps often. In E-Warmup's Laurence Thomas case study, every client sending domain was audited and SPF, DKIM and DMARC gaps were flagged before warmup began. On the Sendcopy.ai platform, authentication compliance across users rose from about 40% to 88% once E-Warmup was built into the platform.
What should you set up after DKIM?
DKIM is one of three records. E-Warmup's authentication guide puts DMARC last, because a DMARC policy only works once SPF and DKIM are passing.
- SPF. Keep every sending service in one record. E-Warmup's free SPF record generator builds it, and the SPF record guide explains each part.
- DMARC. Start with p=none to read reports, then move toward quarantine and reject. Microsoft advises moving gradually "(none → quarantine → reject) to avoid unintended mail loss." The free DMARC record generator creates the _dmarc TXT record, and the DMARC policy not enabled guide covers the most common warning.
- Warmup. A new domain with perfect records still has no sending history. Build volume slowly before a campaign goes out.
What are the limits of DKIM?
DKIM proves who sent a message and that it was not changed. It does not prove the sender is trustworthy.
- It does not fix reputation. E-Warmup's guide notes that a domain can pass SPF, DKIM and DMARC perfectly and still sit on a spam blacklist because of past behavior.
- It breaks when mail is changed. Forwarders and footers that edit a signed message turn a pass into a fail.
- It needs upkeep. A new tool or a DNS cleanup can remove or skip a selector months later.
FAQ
How long does DKIM take to start working?
Google and GoDaddy both allow up to 48 hours after you add the record. Microsoft 365 says it detects new CNAME records in a few minutes, or possibly longer.
Should I choose a 1024-bit or 2048-bit DKIM key?
Choose 2048 bits when your DNS host supports it. RFC 8301 says signers should use RSA keys of at least 2048 bits, and Google calls longer keys more secure. GoDaddy's 1,024-character TXT limit leaves room for a 2048-bit key.
Do I need DKIM if I send fewer than 5,000 emails a day?
Yes, in practice. Google requires every sender to personal Gmail accounts to set up SPF or DKIM, and DMARC alignment needs at least one of them to pass for your own domain.
Can one domain have more than one DKIM record?
Yes. Each record sits under its own selector, such as google._domainkey for Workspace and a separate selector for your outreach tool. Microsoft's Outlook FAQ confirms that separate mail systems can use unique DKIM selectors.
Does GoDaddy set up DKIM automatically?
Not for Microsoft 365 or Google Workspace. You copy the keys from the provider and add the records yourself. For Professional Email, GoDaddy adds only the SPF record for you, and only when the domain, DNS and email are in the same account.
Once dkim=pass shows your own domain in d=, connect the mailbox to E-Warmup to keep watching SPF, DKIM and DMARC while warmup builds the sending history your records cannot.