Comment on page
Hetzner DNS Console
This provider does not recognize any special metadata fields unique to Hetzner DNS Console.
An example configuration:
var REG_NONE = NewRegistrar("none");
var DSP_HETZNER = NewDnsProvider("hetzner");
D("example.com", REG_NONE, DnsProvider(DSP_HETZNER),
As of June 2022, the Hetzner DNS Console API does not accept spaces in CAA records.
0 issue "letsencrypt.org; validationmethods=dns-01; accounturi=https://acme-v02.api.letsencrypt.org/acme/acct/1234"
Removing the spaces might still work for any consumer of the record.
0 issue "letsencrypt.org;validationmethods=dns-01;accounturi=https://acme-v02.api.letsencrypt.org/acme/acct/1234"
Hetzner DNS Console does not allow changing the SOA record via their API. There is an alternative method using an import of a full BIND file, but this approach does not play nice with incremental changes or ignored records. At this time you cannot update SOA records via DNSControl.
Hetzner is rate limiting requests quite heavily.
The rate limit and remaining quota is advertised in the API response headers.
DNSControl will burst through half of the quota, and then it spreads the requests evenly throughout the remaining window. This allows you to move fast and be able to revert accidental changes to the DNS config in a timely manner.
Every response from the Hetzner DNS Console API includes your limits:
curl --silent --include \
--header 'Auth-API-Token: ...' \
Content-Type application/json; charset=utf-8
Date Sat, 01 Apr 2023 00:00:00 GMT
With the above values, DNSControl will not delay the next 12 requests (until it hits
Ratelimit-Remaining: 21 # 42/2) and then slow down requests with a delay of
7s/22 ≈ 300msbetween requests (about 3 requests per second). Performing these 12 requests might take longer than 7s, at which point the quota resets and DNSControl will burst through the quota again.
DNSControl will retry rate-limited requests (status 429) and respect the advertised