Skip to content
Hermesmail
Docs pages

Amazon Route 53 DNS setup

Follow this walkthrough when your domain's authoritative nameservers belong to Amazon Route 53 (ns-*.awsdns-*).

DNS settings: Open Amazon Route 53 DNS settings

Quick path: Open Hosted zones in the Route 53 console, choose the public zone for the domain and create each record in it.

Where records go

  1. Open the AWS Management Console and navigate to Route 53.
  2. Choose Hosted zones in the navigation pane and select the public hosted zone for your domain.
  3. Click Create record for each required Hermesmail entry (TXT for DKIM, MX for MAIL FROM and TXT for SPF), plus the optional _dmarc TXT record.
  4. For the MX record, enter priority 10 followed by a space and your region's feedback-smtp.<region>.amazonses.com hostname on one line in the Value box (for example, <priority> feedback-smtp.<region>.amazonses.com, using the region shown on your Hermesmail domain page).
  5. Leave the default TTL and Simple routing policy selected, then click Create records.

How Route 53 handles the zone name

Route 53 appends the hosted zone suffix (.example.test) to the Record name field automatically and displays it to the right of the input box. Enter only the relative host prefix—hermes._domainkey, send and _dmarc—without typing the domain name again.

Typing the full domain name into Record name creates a doubled host such as hermes._domainkey.example.test.example.test, which fails verification with appended_twice. For a subdomain sending domain (updates.example.test) inside the parent hosted zone, enter hermes._domainkey.updates and send.updates.

Entering TXT values over 255 characters

Route 53 requires every TXT record string to be enclosed in double quotes and enforces the 255-character limit per quoted string. Because a Hermesmail 2048-bit DKIM value is 394 characters long, split it inside a single TXT record value into two quoted chunks of at most 255 characters each, separated by a space:

"p=<first 255 characters of your key>" "<remaining characters of your key>"

Place both quoted chunks on the same line inside one TXT record rather than on separate lines (separate lines in Route 53 create multiple TXT records at the same name and trigger multiple_values). Wrap the shorter SPF and DMARC values in double quotes as well, for example "v=spf1 include:amazonses.com ~all".

Keep records DNS-only (not proxied)

Route 53 is an authoritative DNS host and does not proxy mail records. Leave the Alias toggle switched off on every Hermesmail MX and TXT record so Route 53 serves the exact values written, and make sure no CNAME record exists at hermes._domainkey or send.

Next steps

Return to Sending domains and DNS for the full record table and verification schedule, or open Domain verification troubleshooting if any check reports an error.