Skip to content
Hermesmail
Docs pages

Porkbun DNS setup

Follow this walkthrough when your domain uses Porkbun's authoritative nameservers (*.ns.porkbun.com).

DNS settings: Open Porkbun DNS settings

Quick path: Open Domain Management from your account, then the DNS records of the domain, and add each record there.

Where records go

  1. Sign in to Porkbun and open Domain Management.
  2. Click DNS beside your domain to open Manage DNS Records.
  3. For each required Hermesmail entry (TXT for DKIM, MX for MAIL FROM and TXT for SPF) and the optional _dmarc TXT record, select the Type, enter Host and Answer, leave TTL at its default, and click Add.
  4. Set Priority to 10 on the MX record.

How Porkbun handles the zone name

Porkbun displays your domain suffix next to the Host input and appends it automatically. Enter only the relative host prefix—hermes._domainkey, send and _dmarc—never the full domain name.

Repeating .example.test inside Host publishes hermes._domainkey.example.test.example.test and fails verification with appended_twice. For a subdomain sending domain such as updates.example.test, enter hermes._domainkey.updates and send.updates.

Entering TXT values over 255 characters

Porkbun's Answer field accepts long TXT values directly and splits values past 255 characters automatically when serving DNS. A Hermesmail 2048-bit DKIM value is 394 characters long; paste the complete p=... string as one uninterrupted value with no extra quotes or line breaks.

Do not split the key across two separate TXT records at hermes._domainkey, because publishing multiple TXT entries at the DKIM selector fails verification with multiple_values.

Keep records DNS-only (not proxied)

Porkbun DNS answers directly without proxying traffic. Do not configure URL forwarding, ALIAS or CNAME records on hermes._domainkey or send, so mail servers resolve Hermesmail's TXT and MX records exactly as published.

Next steps

Return to Sending domains and DNS for the example record table and re-check intervals, or open Domain verification troubleshooting if verification stalls.