Skip to content
Hermesmail
Docs pages

Hetzner DNS setup

Follow this walkthrough when your domain uses Hetzner's authoritative nameservers (*.ns.hetzner.com, *.ns.hetzner.de, *.first-ns.de, *.second-ns.de, *.second-ns.com or *.your-server.de).

DNS settings: Open Hetzner DNS settings

Quick path: Open the project in the Hetzner Console, choose DNS in the side menu, then the zone, and add each record; a konsoleH package keeps its zone in konsoleH.

Where records go

  1. For zones managed in the Hetzner Cloud / Console, sign in to the Hetzner Console, open the project holding your zone, choose DNS in the side menu and select your domain's zone.
  2. For web-hosting packages whose nameservers are managed through konsoleH, open your zone inside konsoleH instead of the Hetzner Console.
  3. Add each required Hermesmail record (TXT for DKIM, MX for MAIL FROM and TXT for SPF), plus the optional _dmarc TXT record.
  4. On the MX record, specify priority 10 and the feedback-smtp.<region>.amazonses.com hostname (with a trailing dot if entering zone-file syntax, e.g. feedback-smtp.<region>.amazonses.com.).

How Hetzner handles the zone name

Hetzner appends the zone name to any record name that does not end with a trailing dot (.). Enter only the relative host prefix—hermes._domainkey, send and _dmarc—without your domain name.

Writing hermes._domainkey.example.test without a trailing dot publishes hermes._domainkey.example.test.example.test and fails with appended_twice. For a subdomain sending domain such as updates.example.test, enter hermes._domainkey.updates and send.updates inside the example.test zone.

Entering TXT values over 255 characters

A Hermesmail 2048-bit DKIM value is 394 characters long, exceeding the 255-character limit of a single DNS text string. In Hetzner DNS, split the value inside one TXT record into adjacent double-quoted chunks of up to 255 characters each separated by a space:

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

DNS resolvers concatenate adjacent quoted strings back into the complete key without spaces. Keep both chunks inside a single TXT record; adding two separate TXT records at hermes._domainkey fails verification with multiple_values.

Keep records DNS-only (not proxied)

Hetzner DNS is a pure authoritative nameserver service and does not proxy records. Ensure no CNAME record exists at hermes._domainkey or send, so mail servers read your TXT and MX entries directly as published.

Next steps

Return to Sending domains and DNS for the example record table and re-check schedule, or open Domain verification troubleshooting if any record reports a problem.