Amazon SES Easy DKIM, Custom MAIL FROM & DMARC Guide

Achieve 100% SPF and DKIM DMARC alignment on Amazon SES using Easy DKIM (2048-bit RSA) and a Custom MAIL FROM subdomain.

3 Easy DKIM CNAMEsCustom MAIL FROM2048-bit RSA

Copy-Ready DNS Records & Configuration

Host / NameTypeValueTTLPurpose
<token1>._domainkey CNAME <token1>.dkim.amazonses.com 3600 Easy DKIM CNAME #1 (DNS Only / unproxied)
<token2>._domainkey CNAME <token2>.dkim.amazonses.com 3600 Easy DKIM CNAME #2
<token3>._domainkey CNAME <token3>.dkim.amazonses.com 3600 Easy DKIM CNAME #3
mail MX 10 feedback-smtp.<region>.amazonses.com 3600 Custom MAIL FROM bounce receiver
mail TXT v=spf1 include:amazonses.com ~all 3600 Custom MAIL FROM SPF (1 DNS lookup)

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. Create a Domain Identity in AWS SES Console and select **Easy DKIM** with **RSA_2048_BIT** key length.
  2. Publish all three `<token>._domainkey` CNAME records (if using Route 53 in the same AWS account, SES can publish them automatically).
  3. Enable a **Custom MAIL FROM domain** (e.g. `mail.yourdomain.com`) and add the MX + TXT SPF records on that subdomain so SPF aligns with your `From:` domain instead of `amazonses.com`.
  4. Verify DMARC passes both `spf=pass` and `dkim=pass` using our SPF/DMARC Builder.

Common Pitfalls to Avoid

JetBrains Plugin + Gumroad

Never Commit SMTP Passwords, DKIM Private Keys, or API Secrets to Git

EnvGuard for JetBrains IDEs scans .env, YAML, and DNS config files locally before commit — paired with our DevOps & AI Automation Kits on Gumroad.

Frequently Asked Questions

Why does Amazon SES require 3 DKIM CNAME records?

SES publishes three selectors so AWS can automatically rotate active signing keys without requiring you to edit DNS records.

How many SPF lookups does include:amazonses.com use?

Only 1 DNS lookup, because `amazonses.com` lists direct `ip4:` CIDRs without nested includes.

Can I use Amazon SES with Cloudflare DNS?

Yes — just ensure all three `_domainkey` CNAME records have Cloudflare Proxy turned OFF (DNS Only / grey cloud).

Related DNS & Email Auth Guides