Set up DNS for Resend
To use Resend with a custom domain, you need to add specific DNS records to your domain's DNS configuration. This allows Resend to send emails on behalf of your domain.
mail2dns is the fastest way to create the DNS records. You can use mail2dns with the supported DNS providers listed below to create the necessary records in one command.
CLI Usage
mail2dns setup <your-domain> resend <dns-provider> Copied
Supported DNS Providers
Follow the relevant setup guide for using mail2dns to set up your DNS configuration for Resend
Set up Resend on Amazon Route 53
Set up Resend on Azure DNS
Set up Resend on Cloudflare
Set up Resend on DigitalOcean
Set up Resend on GoDaddy
Set up Resend on Google Cloud
Set up Resend on Hetzner
Set up Resend on Netlify
Set up Resend on Spaceship
Set up Resend on Vercel
Is your DNS provider missing? Let us know
DNS records required for Resend
Resend requires the following DNS records to send email from your domain. These are created automatically by the mail2dns setup command:
TXT Record
@ → v=spf1 include:spf.resend.com ~all
TXT Record
_dmarc → v=DMARC1; p=none;
CNAME Record
resend._domainkey → {DKIM}