SPF, DKIM and DMARC for SendGrid
1. SPF
No include goes in your root SPF record.
With automated security (the default), the CNAME records from Domain Authentication handle SPF, so nothing goes in your root SPF record. With automated security off, SendGrid shows include:sendgrid.net in a TXT record for its own em#### subdomain.
Source: SendGrid SPF documentation
2. DKIM
Settings > Sender Authentication > Authenticate Your Domain: add the CNAME records it shows (DKIM selectors s1 and s2 with automated security on).
Selector(s) named in the docs: s1, s2. Enter them as DKIM selectors when you check your domain.
Source: SendGrid DKIM documentation
3. DMARC
DMARC is a record you publish yourself; it covers all services that send as your domain. Start with monitoring:
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com;
Publish it as a TXT record named _dmarc. When reports show your mail passes, move to quarantine and then reject. Build yours.
4. Check it
After the records are live, check your domain to confirm SPF stays within 10 DNS lookups and DKIM is found.
Provider docs change. If something here no longer matches, follow the provider's page and tell us at support@shieldbyte.app.