How to set up SPF, DKIM and DMARC for Resend

The DKIM, SPF and MX records Resend needs, and why your main SPF record stays as it is.

Resend is a developer-focused email API, and its domain setup is one of the cleanest: three records, two of them on a send subdomain, and no changes to your main SPF record. Verification is usually done within minutes.

See what's already in place. Rigcheck shows your SPF, DKIM and DMARC records, and detects Resend once its DKIM key is published.

Before you start

  • A Resend account.
  • Access to your DNS host, wherever your domain's DNS records are managed (Cloudflare, GoDaddy, Namecheap, Route 53 and so on). This isn't always where you bought the domain. Rigcheck shows your DNS host at the top of your results.
  • A decision on which domain to verify. Resend recommends a subdomain, like updates.yourdomain.com, which keeps app email separate from your main domain's reputation. The steps are the same either way.

Step 1: Add your domain

In Resend, go to Domains, click Add Domain, enter your domain, and choose the region you'll send from. Resend shows the records to add.

Step 2: Add the DNS records

TypeNameValueWhat it does
TXTresend._domainkeyp=... (from Resend)DKIM signing key
MXsendfeedback-smtp.us-east-1.amazonses.com, priority 10Bounce handling
TXTsendv=spf1 include:amazonses.com ~allSPF for the bounce subdomain

The MX value depends on your region; copy it from Resend. If you verified a subdomain, the names become resend._domainkey.updates and send.updates.

The SPF and MX records go on send, so your main SPF record doesn't change, and they can't conflict with your main domain's MX records.

Newer domains may look different. Resend's docs say domains created after August 2026 may be given CNAME records for this part instead of the MX and TXT pair. Add exactly what your domain's Records tab shows. A CNAME can't share its name with any other record, so if send already has an A, TXT or MX record, remove it or choose a different Return-Path subdomain, such as bounce.

Most DNS hosts add your domain automatically, so enter names in the short form your provider shows. Typing the full name can produce something like s1._domainkey.yourdomain.com.yourdomain.com, which silently fails. If you're not sure, add one record and look at how your host displays it.

Some DNS hosts add your domain to the end of MX values too, turning the value into feedback-smtp.us-east-1.amazonses.com.yourdomain.com. If yours does, add a period to the end of the value.

If your DNS is on Cloudflare, set every CNAME record to DNS only (grey cloud), not proxied. A proxied record hides the CNAME, and verification fails.

Step 3: Verify

Click Verify DNS Records on your domain in Resend. It's often verified within 15 minutes, though it can take up to 72 hours.

DMARC

If your domain has no DMARC record yet, add a TXT record named _dmarc:

Host_dmarc
TypeTXT
Valuev=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

If you already have one, keep it. A domain can only have one DMARC record, and it covers mail from Resend too. Start with p=none, then tighten it once your reports look clean: DMARC p=none vs quarantine vs reject walks through it.

Confirm it works

  1. Run your domain through Rigcheck. DKIM should show a key for resend, and DMARC should be in place on your main domain.
  2. Send a test message through Resend to a personal Gmail address. Open it, tap the three-dot menu and choose Show original. You should see PASS next to SPF, DKIM and DMARC, with your own domain listed for each.

Check your Resend setup. See which records pass and get the exact fix for anything missing.

Check my setup

Browse all guides