mail2dns
    Latest v1.0.0

Set up DNS for Amazon SES

Amazon SES logo

To use Amazon SES with a custom domain, you need to add specific DNS records to your domain's DNS configuration. This allows Amazon SES to send and receive emails on behalf of your domain.

mail2dns is the fastest way to create the DNS records. You can use mail2dns with the supported DNS providers listed below to create the necessary records in one command.

CLI Usage

mail2dns setup <your-domain> ses <dns-provider>
Copied

DNS records required for Amazon SES

Amazon SES requires the following DNS records to send and receive email from your domain. These are created automatically by the mail2dns setup command:

TXT Record

_amazonses{VERIFY_TOKEN}

MX Record

@inbound-smtp.{REGION}.amazonaws.com

TXT Record

@v=spf1 include:amazonses.com ~all

TXT Record

_dmarcv=DMARC1; p=none;

CNAME Record

{DKIM_TOKEN_1}._domainkey{DKIM_TOKEN_1}.dkim.amazonses.com

CNAME Record

{DKIM_TOKEN_2}._domainkey{DKIM_TOKEN_2}.dkim.amazonses.com

CNAME Record

{DKIM_TOKEN_3}._domainkey{DKIM_TOKEN_3}.dkim.amazonses.com

Request a new provider

Don’t see your email or DNS provider? Let us know what we should support next. Your feedback helps us decide what to build.

If you provide your email, it will only be used to contact you about adding the provider.