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.
- Open the AWS Management Console and navigate to Route 53.
- Choose Hosted zones in the navigation pane and select the public hosted zone for your domain.
- Click Create record for each required Hermesmail entry (
TXTfor DKIM,MXfor MAIL FROM andTXTfor SPF), plus the optional_dmarcTXTrecord. - For the
MXrecord, enter priority 10 followed by a space and your region'sfeedback-smtp.<region>.amazonses.comhostname on one line in the Value box (for example,<priority> feedback-smtp.<region>.amazonses.com, using the region shown on your Hermesmail domain page). - Leave the default TTL and Simple routing policy selected, then click Create records.
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.
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".
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.
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.