Key takeaways
- Confirm the two s1.domainkey and s2.domainkey CNAME records resolve to the targets SendGrid shows.
- If they do, wait for verification, which can take up to 48 hours.
- If they do not, the fault is in DNS entry: a doubled domain, a missing underscore, or a proxy in front of the record.
DKIM problems with SendGrid are usually a DNS entry that was created differently from what SendGrid shows, a verification step that has not caught up yet, or a signature that is valid but signed with a different domain from the From address. Each has a different check. Match the symptom in the table, then confirm the DNS records before you change anything in SendGrid.
Research checked: 12 November 2026
The short answer
Confirm the two `s1._domainkey` and `s2._domainkey` CNAME records resolve to the targets SendGrid shows. If they do, wait for verification, which can take up to 48 hours. If they do not, the fault is in DNS entry: a doubled domain, a missing underscore, or a proxy in front of the record. Only when the records are correct should you look at the message headers for a signature domain mismatch.
Troubleshooting table
| Symptom | Likely cause | Check |
|---|---|---|
| Verification fails, records look right | Records not yet propagated, or verification ran too early | `dig +short CNAME s1._domainkey.example.com`. Wait, then select Verify again. SendGrid's page allows up to 48 hours. |
| Record is found at `s1._domainkey.example.com.example.com` | The DNS host appended your domain to a full name | Enter only `s1._domainkey` in the host field. Check for a doubled suffix in the zone. |
| CNAME does not resolve at all | Record entered on the wrong zone, or the host rejects underscores | Confirm the zone is the one that serves your domain's nameservers. If the host rejects underscores, switch Automated Security off and follow the manual DKIM path. |
| Record resolves to a different host than SendGrid shows | A proxy, redirect or stale record sits in front of it | Check the DNS panel for proxying on that record. Remove the proxy layer for the DKIM names, then retest. |
| Verification passes, but `dkim=pass` is missing | The message was not sent through the authenticated domain | Send a test and confirm the sending identity in SendGrid matches the From domain. |
| `dkim=pass` with a `d=` value that is not your domain | Signed with a different domain than the From address | The DMARC alignment check fails. Fix the sending domain setup so `d=` matches the From domain. |
| Manual DKIM TXT fails | The public key was split or edited when pasted, or the selector differs | Compare the key string character for character with the value SendGrid provides. Check that the selector is the one SendGrid gave you. |
| DMARC fails although DKIM passes | DKIM domain not aligned, or SPF misconfigured with no DKIM alignment | Check the `d=` value first. DMARC needs one aligned pass. |
Verify each fix
- `dig +short CNAME s1._domainkey.example.com` and the same for `s2` return the SendGrid targets.
- `dig +short TXT _dmarc.example.com` returns the DMARC record you intend.
- Send one message through SendGrid to an inbox you control.
- In the original headers, check `dkim=pass`, that the `d=` value matches the From domain, and that DMARC shows a pass.
If step 1 fails, the problem is DNS entry or propagation. If step 1 passes and step 3 shows a `d=` mismatch, the problem is the sending domain set up in SendGrid, not DNS.
Worked example
A team sees `dkim=fail` on SendGrid messages. The header shows `d=example.com`, which looks right. The fault is in the second record: `s2._domainkey` had been entered as `s2._domainkey.example.com` in a host that appends the domain automatically, so the zone holds `s2._domainkey.example.com.example.com`. Only the `s1` record resolves. Entering `s2._domainkey` in the host field, then selecting Verify, fixes the record. The next test shows both selectors resolving and `dkim=pass` with the correct domain.