DNS · Amazon SES on Cloudflare

Set up Amazon SES DKIM and DNS records on Cloudflare

The exact name and value to enter at Cloudflare for each Amazon SES record, with the mistakes that stop it verifying.

  1. Get the records from Amazon SES. SES console, Configuration, Identities, your domain, Authentication tab, Publish DNS records.
  2. Confirm Cloudflare hosts your DNS. Run dig +short NS yourdomain.com and expect: Two names ending in .ns.cloudflare.com. If you see something else, edits at Cloudflare have no effect.
  3. Open the DNS panel at Cloudflare. Dashboard, your domain, DNS, Records, Add record.
  4. Add each record. Enter only the part before your domain. Cloudflare appends the zone name. Set every one of these CNAMEs to DNS only (the grey cloud). A proxied CNAME answers with Cloudflare's own addresses instead of the target, and the lookup fails.
  5. Verify in Amazon SES. AWS says DNS changes can take up to 72 hours to be detected.

What to type at Cloudflare

Placeholders such as account numbers and tokens are illustrative. Use the values Amazon SES shows you, with the name entered the way Cloudflare expects it.

TypeName fieldValuePriority
CNAMEabc123token1._domainkeyabc123token1.dkim.amazonses.com
CNAMEdef456token2._domainkeydef456token2.dkim.amazonses.com
CNAMEghi789token3._domainkeyghi789token3.dkim.amazonses.com
MXmailfeedback-smtp.us-east-1.amazonses.com10
TXTmailv=spf1 include:amazonses.com ~all
TXT_dmarcv=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

Where it goes wrong on Cloudflare

  • Enter only the part before your domain. Cloudflare appends the zone name.
  • Set every one of these CNAMEs to DNS only (the grey cloud). A proxied CNAME answers with Cloudflare's own addresses instead of the target, and the lookup fails.
  • TXT records cannot be proxied, so there is no cloud toggle on them.
  • If Cloudflare Email Routing is on, the domain already has an SPF record of Cloudflare's. Merge into it; do not add a second.

Specific to Amazon SES

  • Easy DKIM signs with a 2048-bit key by default. The three tokens are generated per identity and per AWS Region, and the part after the token varies by Region, so copy the full values from the console.
  • Without a custom MAIL FROM domain, SES uses a subdomain of amazonses.com as the envelope sender. SPF passes, but for Amazon's domain, so only DKIM aligns with your From address.
  • The MAIL FROM subdomain must not be one you send from or receive mail at, and it must have exactly one MX record. With more than one, the setup fails.
  • Replace us-east-1 in the MX value with the Region you send from.
  • If your DNS is in Route 53 on the same AWS account, SES can publish the records for you.

Check it from the command line

Replace yourdomain.com and the placeholder names with your own. Each command should print the value you entered.

dig +short CNAME abc123token1._domainkey.yourdomain.com
dig +short CNAME def456token2._domainkey.yourdomain.com
dig +short CNAME ghi789token3._domainkey.yourdomain.com
dig +short MX mail.yourdomain.com
dig +short TXT mail.yourdomain.com
dig +short TXT _dmarc.yourdomain.com

Amazon SES record shapes read from its documentation on 11 November 2026. Amazon SES on another host: GoDaddy · Namecheap · Amazon Route 53. Another platform on Cloudflare: SendGrid · Mailchimp · Klaviyo · Instantly.

Check the records after you save

Look up the live DNS. This tool does not spend credits.

Related