Generate DKIM keys in Salesforce Setup and publish the public key in your DNS to sign outgoing email.
CNAME
YOUR_SELECTOR._domainkey
YOUR_SELECTOR._domainkey.yourdomain.com.sf._domainkey.salesforce.com
Salesforce generates DKIM keys in Setup. The exact CNAME records depend on your configuration.
Go to Setup > search for "DKIM Keys" in the Quick Find box.
Click "Create New Key". Enter your domain, choose a selector name, and set the key size (2048-bit recommended).
Salesforce generates CNAME records for the DKIM key and an alternate key. Copy both.
Create the CNAME records in your DNS provider as shown by Salesforce.
Return to Salesforce Setup and activate the DKIM key once DNS has propagated.
After adding your DNS records, use our free DKIM checker to verify everything is configured correctly. DNS changes typically propagate within minutes, but can take up to 48 hours.
Go to Setup > DKIM Keys (search in Quick Find). Click "Create New Key" to generate a key pair.
Yes. Salesforce provides a primary and alternate CNAME. You can rotate keys by publishing the alternate and switching the active key.
Use 2048-bit for maximum security. 1024-bit is acceptable if your DNS provider has record length limitations.