PKlapp
2025-10-13 18:59:39 +02:00
parent f58168ec60
commit 9fd9519f5a

@@ -109,6 +109,7 @@
- [185. Use WEXBO DNS API](#dns_wexbo)
- [186. Use Wärner Technologie Services DNS-API](#dns_wts)
- [187. Use RESTENA DNS API](#dns_restena)
- [188. Use Hetzner Cloud DNS API](#dns_hetznercloud)
- [Use custom API](#dns_myapi)
- [Use lexicon DNS API](#dns_lexicon)
@@ -2784,6 +2785,31 @@ acme.sh --issue -d example.lu --dns dns_restena
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6532)
<a name="dns_hetznercloud"/>
## 188. Use Hetzner Cloud DNS API
Provider for the Hetzner **Cloud** DNS API (not the legacy/console API).
**Environment variables**
* `HETZNER_TOKEN` *(required)* — Personal Access Token for the Cloud DNS API (**read & write**).
* `HETZNER_TTL` *(optional)* — TTL in seconds for TXT RRsets (default **120**).
* `HETZNER_API` *(optional)* — Override API base URL (default `https://api.hetzner.cloud/v1`).
**Example**
```bash
export HETZNER_TOKEN="your_token_here"
# optional:
# export HETZNER_TTL=120
# export HETZNER_API="https://api.hetzner.cloud/v1"
acme.sh --issue --dns dns_hetznercloud -d test.example.com
```
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6564)
<a name="dns_myapi"/>
## Use custom API