Check your domain
Enter your domain, then pick the record to check:
SPF
em1234.example.com. IN CNAME u00000000.wl000.sendgrid.net.
- With automated security on (the default), SendGrid does not ask for an SPF TXT record. It gives you a CNAME for a return-path subdomain, such as
em1234, and SPF is handled behind it. The example above shows the pattern; your numbers come from SendGrid. - Enter only the host part (
em1234), not the full name. Some DNS providers add your domain automatically, which producesem1234.example.com.example.com. - If automated security is off, SendGrid gives you an MX record for that host and TXT records for SPF, DKIM and DMARC, and you maintain them yourself.
Syntax and the 10-lookup limit are covered in SPF record syntax.
DKIM
- Automated security creates four records: CNAMEs for the return path,
s1._domainkeyands2._domainkey, plus a DMARC TXT record at_dmarcwithv=DMARC1; p=none;. - The DKIM targets look like
s1.domainkey.u00000000.wl000.sendgrid.net. Copy them from SendGrid; they differ per account. - A custom DKIM selector must be three letters or numbers, such as
orgor001, so it does not clash with thesselectors. - Turn automated security off if your DNS provider does not accept underscores in CNAME records.
s1._domainkey.example.com. IN CNAME s1.domainkey.u00000000.wl000.sendgrid.net.
Not sure which selector a message was signed with? See what is a DKIM selector.
DMARC
DMARC is a separate record that you publish yourself, at _dmarc under your domain. Start by only collecting reports, then tighten the policy once the reports show all your senders passing:
_dmarc.example.com. IN TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"
Replace the address with a mailbox you control. What is DMARC explains the policies, and how to read a DMARC report shows what to do with the reports.
Common problems
- The domain appended twice to the host (
em1234.example.com.example.com). - An existing CNAME at the return-path or link-branding host being overwritten.
- A DNS host that rejects underscores in CNAME names.
- Treating the DMARC record SendGrid offers as finished.
p=noneonly collects data; you still need to read the reports and tighten it.
Failing messages are diagnosed in why DKIM or DMARC fails.
Sources
Values on this page come from the provider's own documentation, last checked on 8 November 2026. Providers change these settings, so confirm against the current page before you edit DNS: