Guides › Transactional

Amazon SES SPF record & DKIM setup

The exact SPF include for Amazon SES, how many of your 10 DNS lookups it costs right now, and how to turn on DKIM so you pass DMARC.

SPF

If Amazon SES is your only sender, publish this TXT record at your root domain (@):
v=spf1 include:amazonses.com ~all

Already have an SPF record? Don't add a second one. Add include:amazonses.com before the ~all, or use the SPF merger.

Live lookup cost: 1 lookup

Current record at amazonses.com:

v=spf1 ip4:199.255.192.0/22 ip4:199.127.232.0/22 ip4:54.240.0.0/18 ip4:69.169.224.0/20 ip4:23.249.208.0/20 ip4:23.251.224.0/19 ip4:76.223.176.0/20 ip4:54.240.64.0/18 ip4:76.223.128.0/19 ip4:216.221.160.0/19 ip4:206.55.144.0/20 ip4:24.110.64.0/18 ip4:98.77.0.0/16 -all

Measured live from DNS and refreshed daily. Amazon SES can change this at any time, which is exactly why monitoring matters.

DKIM

Easy DKIM: three CNAME records named <token>._domainkey. Configure a custom MAIL FROM domain so SPF aligns.

DMARC

SPF and DKIM only protect you once DMARC ties them to your visible From: address. If you don't have one yet, start with:

TXT record at _dmarc
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com;

Official documentation: Amazon SES docs

Using Amazon SES with another service?

Check that Amazon SES is set up correctly on your domain