Overview per host

Hetzner: set up and check SPF, DKIM, DMARC and MX

Everything a domain at Hetzner needs for secure, deliverable mail on one page: where the DNS records live, which values the Hetzner mailboxes expect, the mistakes that happen most often at Hetzner, and a step-by-step guide per record. The domain check tests your domain right here.

Guides for Hetzner

Domain check for Hetzner

The domain check tests a domain at Hetzner in one run: name servers and DNSSEC, MX, SPF, DKIM and DMARC, plus certificate, redirects and registration. If the name servers are not those of Hetzner, another provider is responsible for the DNS records.

Hetzner: what you should know

At Hetzner, DNS and mail live in different interfaces. You manage the DNS zone in the Hetzner Console at console.hetzner.com, in the project that holds the zone, while the mailboxes and DKIM key of a web hosting package are in konsoleH. If the domain uses the konsoleH name servers, Hetzner sets a default SPF record automatically according to its documentation and can set the DKIM record itself. In a zone you created yourself in the Hetzner Console (Cloud, Robot) and with external name servers nothing happens automatically: what konsoleH shows then has to be copied into the zone by hand.

Running your own mail server on a Hetzner server additionally needs a reverse DNS record (PTR) for the IP address, which Hetzner lets you set in the server management. Without a PTR matching the mail server’s host name, many receivers reject the mail even when SPF, DKIM and DMARC are correct.

Mail values at Hetzner at a glance

The values a domain at Hetzner needs for sending mail; the guides above cover the details.

  • MX: Hetzner does not name fixed mail servers for all packages in its help; the package’s control panel or the MX checker for an existing domain shows which apply.
  • SPF: with the konsoleH name servers Hetzner sets a default SPF record automatically, so check it instead of creating one and add further senders to the same record. With external name servers or a zone you created yourself in the Hetzner Console you create the TXT record yourself; the Hetzner documentation names no value.
  • DKIM: In konsoleH the "Enable DKIM" function generates the key pair; with external name servers create the TXT record shown there yourself.
  • DMARC: TXT record at _dmarc, start with v=DMARC1; p=none and a reporting address, then p=quarantine and p=reject after a few weeks of reports.

How to reach the Hetzner DNS editor

Every record, whether SPF, DKIM, DMARC or MX, is created in the same place:

  • In the Hetzner Console (console.hetzner.com) open the project that holds the zone of the domain.
  • Open the DNS section of the project and select the zone of the domain.
  • Add a new record: enter type, name (@ for the apex domain) and value, lower the TTL if needed.
  • Save; the Hetzner name servers serve the record shortly after.
  • The former DNS Console at dns.hetzner.com was shut down in May 2026; all zones now live in the Hetzner Console.

Click path at Hetzner

Path in the Hetzner Console (console.hetzner.com).

New record
Type
TXT
Name
_dmarc
Value
v=DMARC1; p=none; rua=mailto:dmarc@example.com
TTL
keep the default

Button:Add

Schematic sketch using the field names from the Hetzner help, not a picture of the interface: which value goes into which field.

Official guide from Hetzner: Adding records(opens in a new tab)retrieved 10 Nov 2026

Frequently asked questions

Where do I find the DNS settings at Hetzner?
In the Hetzner Console (console.hetzner.com) open the project that holds the zone of the domain. Open the DNS section of the project and select the zone of the domain.
Does Hetzner set SPF, DKIM and MX automatically?
Partly, and only if the domain’s name servers are at Hetzner; what exactly is created automatically is listed above under the mail values. If the name servers are elsewhere or another service sends, you add the values yourself. DMARC is always your own decision.
What goes wrong most often at Hetzner?
DKIM is enabled in konsoleH, but the TXT record shown is missing from the zone because the domain uses external name servers or a zone you created yourself. Mail gets signed, yet the receiver finds no key and the signature counts as invalid. Copy the record shown into the zone and check it in the DKIM checker with the selector from the record.
How do I check my domain at Hetzner?
With the domain check on this page: it shows the responsible name servers, MX, SPF, DKIM and DMARC, plus certificate, redirects and domain expiry, each with a recommendation. So that nothing changes unnoticed, DomainWarn then keeps checking the domain.

DomainWarn checks SPF, DKIM, DMARC, DNS and certificates of all client domains regularly and reports changes before mail lands in spam.

Monitor this domain continuously14-day free trial, no credit card.

Other hosts

All hosts at a glance