MailDoctor Email deliverability check

Guides

Resend: SPF, DKIM and DMARC setup

Your app sends through Resend, and a receiver reports an SPF, DKIM or DMARC failure, or the domain won't verify. Resend needs a DKIM key on your domain and SPF on its Return-Path subdomain, send by default. Here are the records and what aligns.

The DNS records Resend asks for

Add the domain on Resend's Domains page. Resend generates the records for each domain and lists them in the domain's Records tab; copy the host names and values exactly as Resend shows them. The records below are the ones Resend's own Cloudflare guide walks through. example.com is the domain you added; Resend recommends a subdomain such as updates.example.com.

Some domains show CNAME records for sending instead of the MX and TXT pair: one on the Return-Path subdomain and one on an r-prefixed sibling, such as send and rsend. Add both.

Which check aligns with DMARC

DKIM alignment alone is enough for DMARC to pass. Resend's docs say the same: an email must pass SPF or DKIM, not necessarily both.

Common mistakes

Check your setup

  1. Check your domain with MailDoctor (form below) for SPF, DMARC and the rest.
  2. Check the key with the DKIM key checker. Use the selector from the DKIM record name Resend gives you: the part before ._domainkey.
  3. Check the Return-Path subdomain's SPF record with the SPF lookup counter.
  4. Send yourself a message through Resend and paste its headers into the email header analyzer. It shows the Return-Path, the DKIM domain, and which of them aligns.

Marketing mail: Resend Broadcasts track unsubscribe preferences. For lists you manage yourself, add the List-Unsubscribe and List-Unsubscribe-Post headers. See Add an unsubscribe link.

Sources, checked 27 November 2026: Add and verify a domain · Verified domains · Custom Return Path · Implementing DMARC · Cloudflare

Check the domain you send from. Grade, problems and the exact records to fix them.