Set up SendGrid DKIM and DNS records on Amazon Route 53
The exact name and value to enter at Amazon Route 53 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 Amazon Route 53 hosts your DNS. Run dig +short NS yourdomain.com and expect: Names like ns-123.awsdns-45.com. If you see something else, edits at Amazon Route 53 have no effect.
- Open the DNS panel at Amazon Route 53. Hosted zones, your domain, Create record.
- Add each record. Enter only the part before your domain in Record name. Route 53 appends the zone name.
- Verify in SendGrid. SendGrid verifies when you click Verify; DNS changes can take up to 48 hours to be visible.
What to type at Amazon Route 53
Placeholders such as account numbers and tokens are illustrative. Use the values SendGrid shows you, with the name entered the way Amazon Route 53 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 Amazon Route 53
- Enter only the part before your domain in Record name. Route 53 appends the zone name.
- TXT values must be wrapped in double quotes.
- The root TXT record set holds several values, one per line. Add a new line to the existing set; do not create a second record set.
- Edit the public hosted zone. A private hosted zone is invisible to the internet.
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 · Namecheap. Another platform on Amazon Route 53: 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.
- Amazon Route 53 DKIM record: setup steps and live check
How to add a DKIM record at Amazon Route 53: 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.