SendGrid, owned by Twilio, calls this domain authentication. Until you finish it, SendGrid sends your mail with its own domain in the signature, and with DMARC enforced on your domain that mail can land in spam or be rejected. Setup is three CNAME records and about 10 minutes of work.
As of November 2026, SendGrid has no free plan: new accounts get a 60-day trial at 100 emails a day, then need a paid plan. If you're still choosing a provider, SendGrid alternatives with a free plan compares the options.
Before you start
- A SendGrid account with permission to change sender authentication settings.
- Access to your DNS host, wherever your domain's DNS records are managed (Cloudflare, GoDaddy, Namecheap, Route 53 and so on). This isn't always where you bought the domain. Rigcheck shows your DNS host at the top of your results.
- A decision on which domain to send from. Sending app email from a subdomain like
mail.yourdomain.comkeeps its reputation separate from your team's everyday email.
Step 1: Start domain authentication
- In SendGrid, go to Settings → Sender Authentication and click Authenticate Your Domain.
- Choose your DNS host from the list. If you send links in your email, say yes to branding links, which adds two more records later.
- Enter the domain you'll send from.
- Leave Use automated security turned on. It's the default, and it's what lets SendGrid handle SPF and rotate keys without you touching DNS again.
Step 2: Add the three CNAME records
SendGrid shows three records, each with a name and value that include numbers specific to your account:
| Name (example) | Points to (example) | What it does |
|---|---|---|
em1234 | u5678.wl012.sendgrid.net | Bounce address on your domain, which handles SPF |
s1._domainkey | s1.domainkey.u5678.wl012.sendgrid.net | DKIM signing key |
s2._domainkey | s2.domainkey.u5678.wl012.sendgrid.net | Second key for rotation |
Copy each name and value from SendGrid rather than typing them. The numbers are unique to your account.
Most DNS hosts add your domain automatically, so enter names in the short form your provider shows. Typing the full name can produce something like s1._domainkey.yourdomain.com.yourdomain.com, which silently fails. If you're not sure, add one record and look at how your host displays it.
If your DNS is on Cloudflare, set every CNAME record to DNS only (grey cloud), not proxied. A proxied record hides the CNAME, and verification fails.
Step 3: SPF (no changes needed)
You don't need to add SendGrid to your main SPF record. SPF is checked against the hidden bounce address (the Return-Path), not the From address your recipients see. With automated security, the em CNAME puts SendGrid's bounce address on a subdomain of yours that points at SendGrid, so SPF passes there and lines up with your domain. If an old SendGrid include: is already in your main record and your domain is verified, you can remove it and free up one of SPF's 10 DNS lookups (see SPF too many DNS lookups).
Step 4: Verify
Back in SendGrid, click Verify. If it fails right after adding the records, wait a few minutes and try again; new records can take a while to appear.
DMARC
If your domain has no DMARC record yet, add a TXT record named _dmarc:
_dmarcTXTv=DMARC1; p=none; rua=mailto:dmarc@yourdomain.comIf you already have one, keep it. A domain can only have one DMARC record, and it covers mail from SendGrid too. Start with p=none, then tighten it once your reports look clean: DMARC p=none vs quarantine vs reject walks through it.
Confirm it works
- Run your domain through Rigcheck. DKIM should show keys for
s1ands2, and DMARC should be in place. - Send a test message through SendGrid to a personal Gmail address. Open it, tap the three-dot menu and choose Show original. You should see PASS next to SPF, DKIM and DMARC, with your own domain listed for each.
Link branding and HTTPS tracking links
If you track clicks, SendGrid rewrites every link in your email to go through a tracking address first. Without link branding, that address is on sendgrid.net. Link branding puts it on your own domain, so readers see your name in the link. It's a separate step: in SendGrid, go to Settings → Sender Authentication → Link Branding, enter the domain, and add the two CNAME records SendGrid shows. Copy them exactly, and on Cloudflare set them to DNS only like the others.
A branded link also needs HTTPS. SendGrid's own changelog says Gmail began warning readers about non-HTTPS links from late October 2026, which lowers clicks on tracked links that don't have it. SendGrid can handle the certificate for you with Auto SSL (as of November 2026):
- When you set up link branding, open Advanced Settings and turn on the automatic SSL option.
- SendGrid asks for two more DNS records, a CNAME and a TXT, which it uses to issue and renew the certificate. Add them along with the two link branding CNAMEs.
- Verify the records as usual.
SendGrid's changelog says Auto SSL can only be set when a branded link is created. For a link branding you already have, SendGrid's support article says to delete it, remove its CNAME records, and set it up again with the same subdomain and Auto SSL on. Links in email you sent earlier don't work while the records are gone, so add the new ones straight away.
The older route is your own certificate through a CDN such as CloudFront, Cloudflare or Fastly: the first link branding CNAME points at the CDN, which passes traffic on to sendgrid.net, and SendGrid support turns on SSL click tracking for the account. You renew that certificate yourself, and the setting applies to every link branding on the account.