Add Domain to Resend
First, log in to your Resend Account and add a domain.
It is best practice to use a
subdomain
(updates.example.com) instead of the root domain (example.com). This allows
for proper reputation segmentation based on topics or purpose (e.g.
transactional and marketing).
Log in to Cloudflare
Log in to your Cloudflare account and go to the DNS Records of your domain.
Add MX SPF Record
Click “Add Record” on Cloudflare:- Set the Type to
MX. - Type
sendfor theNameof the record. - Copy the MX Value from Resend into the
Mail Serverfield. - Use the default
AutoforTTL. - Add
10for thePriority. - Select
Save.


| Cloudflare | Resend | Example Value |
|---|---|---|
| Type | Type | MX |
| Name | Name | send |
| Mail Server | Value | feedback-smtp.us-east-1.amazonses.com |
| Priority | Priority | 10 |
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:- Set the Type to
TXT. - Type
sendfor theNameof the record. - Copy the TXT Value Resend into
Contentfield. - Use the default
AutoforTTL. - Select
Save.


| Cloudflare | Resend | Example Value |
|---|---|---|
| Type | Type | TXT |
| Name | Name | send |
| Content | Value | "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:- Set the Type to
TXT. - Type
resend._domainkeyfor theNameof the record. - Copy the TXT Value Resend into
Contentfield. - Use the default
AutoforTTL. - Select
Save.


| Cloudflare | Resend | Example Value |
|---|---|---|
| Type | Type | TXT |
| Name | Name | resend._domainkey |
| Target | Value | p=example_demain_key_value |
| 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.Cloudflare returns 'Code: 1004' when adding CNAME Records.
Cloudflare returns 'Code: 1004' when adding CNAME Records.
Confirm your proxy settings are set to
DNS Only on the record you are adding.Resend shows my domain verification failed.
Resend shows my domain verification failed.
Review the records you added to Cloudflare to rule out copy and paste errors.
It has been longer than 72 hours and my domain is still Pending.
It has been longer than 72 hours and my domain is still Pending.