Admin: Verify Your Email Domain in Salesforce
Verify your email domain in Salesforce so users can send emails without delivery failures, blocks, or substitute sender addresses. Salesforce provides two methods: setting up an active DKIM key (recommended by Salesforce for high deliverability and DMARC alignment) or registering an Authorized Email Domain with a DNS TXT record.
Before You Begin
- You need access to Salesforce Setup as an administrator.
- You need a DNS administrator who can add DNS records to your domain. Both methods require a DNS change.
- Know your root email domain, for example yourcompany.com.
Method 1: Set Up an Active DKIM Key (Recommended)
A DKIM key signs your outgoing emails with a cryptographic signature. An active DKIM key fulfills Salesforce's domain verification requirement and helps email providers trust your messages.
Create the DKIM Key in Salesforce
- Click the gear icon in the top right, and then click Setup.
- In Quick Find, type DKIM Keys and select it.
- Click Create New Key.
- Fill in the following fields:
- RSA Key Size: Select 2048-bit.
- Selector: Enter a unique identifier, for example YourCompany1.
- Alternate Selector: Enter a second identifier, for example YourCompany2.
- Domain: Enter your root email domain that appears in your users' From addresses, for example yourcompany.com. You cannot change this after you save.
- Domain Match: Enter the Exact domain only or subdomains if applicable, for example yourcompany.com. Clicking in the empty box should populate it automatically. Do not use wildcards.
- Click Save.
- Click the key's Selector to open it. If TXT Record Status shows Publishing in progress, wait a few minutes and refresh the page.
- Copy the CNAME Record and Alternate CNAME Record values. Each has a host name and a target value that ends in .key.salesforce.com.
- Give the CNAME values for each domain to your DNS administrator.
Salesforce publishes the key. The page displays two CNAME records with specific host names and target values.
Publish the CNAME Records in Your DNS Provider
Your DNS administrator completes this step. DNS changes can take time to propagate.
- Log in to your DNS provider.
- Create CNAME record 1. Use the Selector host and point it to the Salesforce public key target.
- Create CNAME record 2. Use the Alternate Selector host and point it to the alternate target.
- Confirm the records have propagated. Run a public CNAME lookup, such as dig CNAME [selector]._domainkey.yourcompany.com, or use an online DNS checker.
Activate the DKIM Key in Salesforce
Complete this step after your DNS administrator has published the CNAME records.
- Go to .
- Click your new DKIM key.
- Click Activate.
- Send a test email to confirm delivery.
The Status field updates to Active. Salesforce now recognizes the domain you entered as verified.
Method 2: Use an Authorized Email Domain
If you only need domain verification without DKIM signing, you can authorize domain ownership with a TXT verification record. Salesforce recommends DKIM keys over this method.
Add Your Domain Under Authorized Email Domains
- In Setup, type Authorized Email Domains in Quick Find and select it.
- Click Add.
- Enter your domain, for example yourcompany.com, and click Save.
Salesforce generates a verification code for the domain, in the format orgId=code.
Publish the TXT Record in Your DNS Provider
Your DNS administrator completes this step.
- Open your domain's DNS manager.
- Create a new DNS record with the following values:
- Type: TXT
- Name / Host: @ or the specific subdomain host prompted by Salesforce
- Value or Content: Paste the verification token provided by Salesforce.
The TXT record is visible when you check with an external DNS lookup tool.
Complete the Authorized Email Domain Verification in Salesforce
- Go to .
- Click Edit or Verifynext to your domain.
- Select Verify domain ownership and click Save.
The status column updates to Verified.
Confirm Your Email Domain Verification Status
Confirm that Salesforce recognizes your domain and will not block or alter outbound user emails:
- In Setup, go to .
- Look under Domain Verification, or run a Test Deliverability to a test address.
- Confirm that users can send directly from their assigned @yourcompany.com addresses without substitute rewriting or bounces.