Resend Custom Domain DNS Setup (SPF, DKIM & DMARC)

Verify your custom domain in Resend in under 5 minutes without consuming your root apex SPF 10-lookup budget.

Subdomain: send.<domain>DKIM: resend._domainkeyZero Root SPF Bloat

Copy-Ready DNS Records & Configuration

Host / NameTypeValueTTLPurpose
send MX feedback-smtp.us-east-1.amazonses.com (Priority 10) 3600 Dedicated Return-Path MX for bounce handling
send TXT v=spf1 include:amazonses.com ~all 3600 Isolated SPF on send.<domain> — keeps root @ SPF clean
resend._domainkey TXT p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQ... 3600 Copy exact public key from Resend Dashboard -> Domains
_dmarc TXT v=DMARC1; p=quarantine; adkim=r; aspf=r; rua=mailto:dmarc@yourdomain.com; 3600 Relaxed alignment passes both root From: and send.<domain> Return-Path

Interactive SPF, DKIM, DMARC & CAA Record Builder

Select Email Providers (Lookup Weight Shown)

1. SPF TXT Record (Host: @)


      
2. DMARC TXT Record (Host: _dmarc)


      
3. DKIM TXT Record Template


      
4. Complete BIND Zone Snippet (SPF + DMARC + CAA)

    

Step-by-Step Deployment Checklist

  1. In Resend Dashboard -> Domains -> Add Domain, pick your closest AWS region (`us-east-1`, `eu-west-1`, `sa-east-1`, `ap-northeast-1`).
  2. Publish the `send` MX record and `send` TXT SPF record (`v=spf1 include:amazonses.com ~all`) — note that some registrars expect `send` while BIND expects `send.yourdomain.com.`.
  3. Publish `resend._domainkey` TXT record with exact key string (no extra quotes inside Cloudflare/Vercel UI).
  4. Keep DMARC `aspf=r` (relaxed) so `From: hello@yourdomain.com` aligns with `Return-Path: bounce@send.yourdomain.com`.

Common Pitfalls to Avoid

JetBrains SQL Explain Lens + Gumroad

Shipping Production SaaS? Harden Your Email Auth & Database Queries Together

Inspect slow queries inside IntelliJ/DataGrip with SQL Explain Lens and accelerate launches with our Gumroad developer workflow bundles.

Frequently Asked Questions

Do I need include:amazonses.com on my root @ SPF record for Resend?

No! Resend uses `send.<yourdomain>` as the Envelope Sender (Return-Path), so SPF is checked against `send.<yourdomain>`, not your root `@` record.

Should I verify a subdomain like mail.yourdomain.com in Resend?

Yes, for high-volume newsletters or marketing blasts, using a subdomain like `updates.yourdomain.com` isolates sender reputation from your core corporate domain.

Why is Resend stuck on 'Pending' after adding DNS records?

Check for double-domain typos (`resend._domainkey.example.com.example.com`), remove surrounding quotes if your DNS UI adds them automatically, and verify via `dig TXT resend._domainkey.yourdomain.com`.

Related DNS & Email Auth Guides