Set up SendGrid DKIM and DNS records on Namecheap
The exact name and value to enter at Namecheap for each SendGrid record, with the mistakes that stop it verifying.
- Get the records from SendGrid. Settings, Sender Authentication, Authenticate Your Domain. The numbers in em1234 and u1234567 are unique to your account.
- Confirm Namecheap hosts your DNS. Run dig +short NS yourdomain.com and expect: Names ending in registrar-servers.com. If you see something else, edits at Namecheap have no effect.
- Open the DNS panel at Namecheap. Domain List, Manage, Advanced DNS, Add New Record.
- Add each record. The Host field takes the part before your domain. Namecheap appends the rest.
- Verify in SendGrid. SendGrid verifies when you click Verify; DNS changes can take up to 48 hours to be visible.
What to type at Namecheap
Placeholders such as account numbers and tokens are illustrative. Use the values SendGrid shows you, with the name entered the way Namecheap expects it.
| Type | Name field | Value |
|---|---|---|
| CNAME | em1234 | u1234567.wl123.sendgrid.net |
| CNAME | s1._domainkey | s1.domainkey.u1234567.wl123.sendgrid.net |
| CNAME | s2._domainkey | s2.domainkey.u1234567.wl123.sendgrid.net |
| TXT | _dmarc | v=DMARC1; p=none; |
Where it goes wrong on Namecheap
- The Host field takes the part before your domain. Namecheap appends the rest.
- Allow up to about 30 minutes before testing.
- The Mail Settings dropdown on the same page can create or change records by itself. Set that first, then add these.
Specific to SendGrid
- These are the records for automated security, which is on by default. SendGrid manages the SPF and DKIM values behind the CNAMEs, so you do not have to update them when its infrastructure changes.
- With automated security turned off, SendGrid gives you an MX record and TXT records instead of CNAMEs, and you maintain them yourself.
- SPF for SendGrid mail is checked on the em subdomain, not on your root domain. Your root SPF record does not need include:sendgrid.net when the CNAME is in place.
- SendGrid warns that some DNS hosts append your domain to whatever you type. Entering em1234.yourdomain.com can produce em1234.yourdomain.com.yourdomain.com; in that case enter only em1234.
Check it from the command line
Replace yourdomain.com and the placeholder names with your own. Each command should print the value you entered.
dig +short CNAME em1234.yourdomain.com dig +short CNAME s1._domainkey.yourdomain.com dig +short CNAME s2._domainkey.yourdomain.com dig +short TXT _dmarc.yourdomain.com
SendGrid record shapes read from its documentation on 11 November 2026. SendGrid on another host: Cloudflare · GoDaddy · Amazon Route 53. Another platform on Namecheap: Mailchimp · Klaviyo · Amazon SES · Instantly.
Check the records after you save
Look up the live DNS. This tool does not spend credits.
Related
- SendGrid DNS records: DKIM, SPF and DMARC setup
SendGrid domain authentication needs three CNAME records and one TXT record. Two CNAMEs (s1._domainkey and s2._domainkey) carry DKIM, one CNAME on a subdomain such as em1234 carries SPF through the Return-Path, and the TXT record at _dmarc is DMARC. You do not edit your root SPF record.
- Namecheap DKIM record: setup steps and live check
How to add a DKIM record at Namecheap: the exact host, value and menu path, then a free live lookup to confirm it published.
- SPF checker: validate an SPF record and count its DNS lookups
Check a domain's SPF record: one record or two, how it ends, and how many of the ten DNS lookups it uses.
- DMARC checker: read a domain's DMARC policy
Look up a DMARC record and see what the policy does, where reports go, and what weakens it.