This is a reference guide for configuring DKIM on SparkPost. Use it while editing DNS or when troubleshooting deliverability.
Tip: Here’s a reliable, copy-pasteable way to set up DKIM using SparkPost. Then verify everything with the InboxGreen Free Checker.
Provider-specific notes for SparkPost
- Different dashboards label DNS fields differently. Always verify the published record using dig or a checker.
- If records look right but still fail, it is usually caching, propagation delay, or a host name mismatch.
- SparkPost → Configuration → Sending Domains → DNS Records.
What you’ll need
- Access to SparkPost to generate a DKIM key and selector.
- DNS provider access to publish a
TXTrecord atselector._domainkey.
Generate your DKIM key
In SparkPost, generate a DKIM key and note the selector. Providers often suggest something like scph (date-based, auto-generated by SparkPost).
SparkPost → Configuration → Sending Domains → DNS Records.
Publish the record
- Create a
TXTrecord at hostselector._domainkey(replaceselectorwith your actual selector name). - Paste the full value starting with
v=DKIM1; k=rsa; p=and save. - Wait for DNS propagation.
Verify DKIM
- Send a test email to a Gmail address and use “Show original” to confirm “DKIM: PASS”.
- Or run:
dig TXT selector._domainkey.yourdomain.com +short
Common mistakes
- Using the wrong host so the record becomes
selector._domainkey.yourdomain.com.yourdomain.com. - Breaking the value by wrapping or truncating the TXT string.
- Publishing a record for the wrong selector and then validating on another.
Related for SparkPost
Free Deliverability Scan
Check SPF, DKIM, DMARC and List-Unsubscribe for your domain in seconds.