How do I add SendGrid mail records to Cloudflare?

You would want to confirm the kind of records you need to have in your DNS zone file with SendGrid directly. As far as what the DNS entries would generally look like in your Cloudflare DNS entries for certain SendGrid records, please see below:

CNAME email is an alias of
SPF v=spf1 a mx ~all
TXT      v=spf1 a mx ~all
CNAME    is an alias of
CNAME smtpapi._domainkey.e.EXAMPLE.COM is an alias of

Important: These DNS records should be 'grey-clouded' in the Cloudflare dashboard, when you have an record orange-clouded it converts it to an A record and we present our IP addresses. This can break DNS records that are used for verification like Sendgrid.

Please see SendGrid's documentation on DNS entries as well.

Not finding what you need?

95% of questions can be answered using the search tool. This is the quickest way to get a response.

Powered by Zendesk