Add Domain to Resend

Login to your Resend Account and add a domain.

It is a best practice to use a subdomain instead of the root domain. This allows for proper reputation segmentation based on topics or purpose (e.g. transactional and marketing).

Login to Cloudflare

Login to your Cloudflare account and go to the DNS Records of your domain.

Add MX SPF Record

Click “Add Record” on Cloudflare.

Add the MX Record from your domain in Resend to Cloudflare and click “Save”.


Below is a mapping of the record fields from Resend to Cloudflare:

CloudflareResendExample Value
TypeTypeMX
NameNamesend
Mail ServerValuefeedback-smtp.us-east-1.amazonses.com
PriorityPriority10

Omit your domain from the record values in Resend when you paste. Instead of send.example.com, paste only send (or send.subdomain if you’re using a subdomain).

Do not use the same priority for multiple records. If Priority 10 is already in use, try a number slightly higher like 11 or 12.

Add TXT SPF Record

Click “Add Record” on Cloudflare.

Add the TXT Record from your domain in Resend to Cloudflare and click “Save”.


Below is a mapping of the record fields from Resend to Cloudflare:

CloudflareResendExample Value
TypeTypeTXT
NameNamesend
ContentValue"v=spf1 include:amazonses.com ~all"
TTL-Auto

Omit your domain from the record values in Resend when you paste. Instead of send.example.com, paste only send (or send.subdomain if you’re using a subdomain).

Add TXT DKIM Records

Click “Add Record” on Cloudflare.

Add the TXT Record from your domain in Resend to Cloudflare and click “Save”.


Below is a mapping of the record fields from Resend to Cloudflare:

CloudflareResendExample Value
TypeTypeTXT
NameNameresend._domainkey
TargetValuep=MIGfMA0GCSqGSIbRL/a21QojogA+rYqIQXB/3DQEBDAQAB
Proxy Status-DNS Only (disabled)
TTL-Auto

Omit your domain from the record values in Resend when you paste. Instead of resend._domainkey.example.com, paste only resend._domainkey (or resend._domainkey.subdomain if you’re using a subdomain).

Complete Verification

Now click Verify DNS Records on your Domain in Resend. It may take up to 72 hours to complete the verification process (often much faster).

Troubleshooting

If your domain is not successfully verified, these are some common troubleshooting methods.