DNS · SendGrid on Namecheap

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.

  1. Get the records from SendGrid. Settings, Sender Authentication, Authenticate Your Domain. The numbers in em1234 and u1234567 are unique to your account.
  2. 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.
  3. Open the DNS panel at Namecheap. Domain List, Manage, Advanced DNS, Add New Record.
  4. Add each record. The Host field takes the part before your domain. Namecheap appends the rest.
  5. 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.

TypeName fieldValue
CNAMEem1234u1234567.wl123.sendgrid.net
CNAMEs1._domainkeys1.domainkey.u1234567.wl123.sendgrid.net
CNAMEs2._domainkeys2.domainkey.u1234567.wl123.sendgrid.net
TXT_dmarcv=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