Skip to content
Hermesmail
Docs pages

Vercel DNS setup

Follow this walkthrough when your domain's authoritative nameservers belong to Vercel (ns1.vercel-dns.com and ns2.vercel-dns.com).

DNS settings: Open Vercel DNS settings

Quick path: Open Domains in the team's dashboard, choose the domain and add each record to its DNS records.

Where records go

  1. Sign in to the Vercel dashboard and open your team's Domains page.
  2. Select your domain and scroll to the DNS Records section.
  3. Add each required Hermesmail record (TXT for DKIM, MX for MAIL FROM and TXT for SPF), plus the optional _dmarc TXT record.
  4. Set Priority to 10 on the MX record, leave TTL at the default value, and click Add after each entry.

How Vercel handles the zone name

Vercel appends your domain name automatically to the Name field. Enter only the relative host prefix—hermes._domainkey, send and _dmarc—and leave off the trailing domain name.

Entering the full hostname inside Name creates a doubled record (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.

Entering TXT values over 255 characters

A Hermesmail 2048-bit DKIM value is 394 characters long. Paste the full p=... string directly into the Value field in the Vercel dashboard; Vercel's DNS backend stores long TXT values and segments them into 255-character DNS strings automatically.

If a CLI command or older form rejects an unquoted string past 255 characters, split the value inside that single TXT record into adjacent double-quoted chunks under 255 characters each ("p=<first part>" "<second part>"), never across two separate TXT records.

Keep records DNS-only (not proxied)

Vercel serves MX and TXT entries as plain authoritative DNS records with no HTTP proxy attached. Make sure neither hermes._domainkey nor send is assigned as a project domain, redirect or CNAME in Vercel, because a CNAME or routing record on those names prevents mail records from verifying.

Next steps

Return to Sending domains and DNS for the example record set and re-check schedule, or open Domain verification troubleshooting if any record fails.