DNS · Sending platform

SendGrid DNS records: DKIM, SPF and DMARC setup

The records

Illustrative values. Copy the real ones from SendGrid: Settings, Sender Authentication, Authenticate Your Domain. The numbers in em1234 and u1234567 are unique to your account.

TypeNameValueWhat it is for
CNAMEem1234u1234567.wl123.sendgrid.netReturn-Path, which is where SPF is checked
CNAMEs1._domainkeys1.domainkey.u1234567.wl123.sendgrid.netDKIM key 1
CNAMEs2._domainkeys2.domainkey.u1234567.wl123.sendgrid.netDKIM key 2
TXT_dmarcv=DMARC1; p=none;DMARC policy

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.

SPF, DKIM and DMARC at a glance

SPF
Handled by the em CNAME. No change to the root SPF record.
DKIM
Two CNAMEs, s1._domainkey and s2._domainkey.
DMARC
SendGrid's setup includes a TXT record at _dmarc with v=DMARC1; p=none;. If the domain already has a DMARC record, keep the existing one. A domain may have only one.

SendGrid verifies when you click Verify; DNS changes can take up to 48 hours to be visible.

Step by step at your DNS host

What to type differs by host, mainly in how the name field behaves and whether values need quotes.

Record shapes read from SendGrid’s documentation on 11 November 2026. Other platforms: Mailchimp · Klaviyo · Amazon SES · Instantly.

Check the records after you save

Look up the live DNS. This tool does not spend credits.

Related