Defaults.Exposed

Defaults.Exposed › Setup › DKIM

How to set up DKIM on AWS Route 53

Publish your mail provider's DKIM key in your Route 53 hosted zone so your emails carry a tamper-proof signature.

Why this matters to your business

DKIM (DomainKeys Identified Mail) adds an invisible digital signature to every email you send. The receiving mail provider uses a public key you’ve published in your DNS to confirm two things: the message really came from your domain, and nobody altered it on the way.

In plain terms: DKIM is a seal of authenticity on your email. It makes impersonation harder and improves the chance your genuine mail reaches the inbox rather than spam. Like the others, it’s free and it’s a one-time setup.

Important: DKIM has two halves

DKIM is the one record where it really matters who does what:

So: generate in the mail platform, publish in the DNS host.

First, confirm Route 53 runs your DNS

A DKIM record only works if Route 53 is answering DNS for your domain. In the Route 53 console, open Hosted zones, select your domain, and note the four NS (nameserver) values. Those must match the nameservers set at your registrar. If you registered the domain through Route 53 they usually already match; if it’s registered elsewhere — or you have more than one hosted zone for the domain — check carefully. If the live nameservers point to another provider, add the DKIM record there instead; it won’t take effect at Route 53.

Get the key from your mail provider

In your mail provider’s admin area, look for the DKIM or email-authentication setting and generate/enable a key. What you get back depends on the provider, and it changes how you enter it in Route 53:

Copy the host names and values exactly.

Step-by-step on Route 53

  1. Sign in to the AWS console and open Route 53.
  2. In the left menu, choose Hosted zones, then click the name of your domain.
  3. Click Create record.
  4. If a wizard with routing options appears, switch to the simple form (look for Quick create record).
  5. In Record name, enter only the selector part — for example google._domainkey or selector1._domainkey. Do not add your domain name on the end; Route 53 appends the zone for you automatically (it shows your domain beside the field).
  6. Set Record type to TXT or CNAME to match exactly what your provider gave you (Google = TXT; Microsoft 365 and Amazon SES = CNAME).
  7. In Value:
    • For a TXT key, paste the long value wrapped in double quotes: "v=DKIM1; k=rsa; p=...".
    • For a CNAME, paste the target host your provider gave you, with no quotes (e.g. selector1-yourdomain._domainkey.yourdomain.onmicrosoft.com).
  8. Leave TTL at the default.
  9. Click Create records. Repeat for each record (Microsoft 365 needs two; Amazon SES needs three).

Route 53 quirks people get wrong

Verify it worked

After saving and allowing a little propagation time, run the free check on this site. It will confirm in plain language whether your DKIM record is published and readable.

Done? Check your domain free to confirm it worked — and see your full grade across all 34 checks.