SendGrid
Domain Authentication with the s1 and s2 CNAMEs
DKIM for SendGrid
SendGrid's Domain Authentication sets up DKIM (and its own bounce domain) with CNAME records, then rotates keys for you.
Who does it
A SendGrid Administrator teammate (or one given the Sender Authentication permission), plus whoever manages your DNS.
Records (automated security on, the default)
| Type | Name | Purpose |
|---|---|---|
| CNAME | s1._domainkey | DKIM key 1 |
| CNAME | s2._domainkey | DKIM key 2 (used at rotation) |
| CNAME | em1234 (number varies) | SendGrid's bounce address on your domain |
Copy the exact targets SendGrid shows. It also lists a _dmarc TXT record: see the note below.
Steps
- Open Settings › Sender Authentication and click Get Started under Domain Authentication.
- Pick your DNS host, choose whether to brand links, and enter the domain in your From address (root domain only, no
www). Leave Use automated security on. - Add the records at your DNS host.
- Click Verify. If only some records pass, wait (up to 48 hours) and try again.
DMARC Busta already publishes your DMARC record. Skip any step that asks you to add or change a _dmarc record; a second DMARC record breaks DMARC for your whole domain.
If DKIM management is turned on for this domain in DMARC Busta, we host your _domainkey records. Add this record in DMARC Busta instead of at your DNS host: open the domain's DKIM tab, click Import External Key, choose the platform, and enter the selector and value it gives you.
Check it worked
SendGrid shows the domain as verified. Send a test and look for dkim=pass with header.d= your domain.
Pitfalls
- GoDaddy, Route 53, Namecheap and others add the domain for you: enter
em1234, notem1234.example.com. - Subdomains don't inherit; authenticate each From domain you use.
- Duplicate records block verification. Remove old SendGrid records first.
- On Cloudflare, set these CNAMEs to DNS only.