Gandi DNS setup
Follow this walkthrough when your domain uses Gandi's authoritative nameservers (*.gandi.net). Ensure LiveDNS is enabled on the domain before adding records.
DNS settings: Open Gandi DNS settings
Quick path: Open Domain, choose the domain and add each record on its DNS records tab; the domain must be on LiveDNS.
- Sign in to the Gandi dashboard, open Domain and select your domain.
- Open the DNS records tab (verify that the domain is using LiveDNS rather than classic DNS or external nameservers).
- Click Add Record—or switch to Text Mode for zone-file editing—to add each required Hermesmail entry (
TXTfor DKIM,MXfor MAIL FROM andTXTfor SPF), plus the optional_dmarcTXTrecord. - For the
MXrecord, enter priority 10 and terminate the target hostname with a trailing dot (feedback-smtp.<region>.amazonses.com.) when editing in LiveDNS zone format.
Gandi LiveDNS appends your domain name automatically to any relative host name (any name without a trailing dot). Enter only the short names—hermes._domainkey, send and _dmarc—and leave off .example.test.
Omitting the trailing dot on a full hostname 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.
Gandi LiveDNS enforces the RFC 1035 limit of 255 characters per individual string inside a TXT record. Because a Hermesmail 2048-bit DKIM value is
394
characters long, open Text Mode (or the record editor) and split the value inside one TXT record into two adjacent double-quoted strings of at most 255 characters each:
hermes._domainkey 1800 IN TXT "p=<first 255 characters of your key>" "<remaining characters of your key>"
Place both quoted chunks on the same TXT record rather than creating two separate TXT records at hermes._domainkey, which triggers multiple_values.
Gandi LiveDNS answers queries directly without proxying traffic. Make sure no CNAME or web-redirection record sits at hermes._domainkey or send, so receiving mail servers read your TXT and MX records verbatim.
Return to Sending domains and DNS for the example record table and re-check schedule, or open Domain verification troubleshooting if any record check fails.