mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-11 10:22:23 +08:00
Wiki adjustment for [#6563](https://github.com/acmesh-official/acme.sh/pull/6563)
26
dnsapi2.md
26
dnsapi2.md
@@ -109,6 +109,7 @@
|
|||||||
- [185. Use WEXBO DNS API](#dns_wexbo)
|
- [185. Use WEXBO DNS API](#dns_wexbo)
|
||||||
- [186. Use Wärner Technologie Services DNS-API](#dns_wts)
|
- [186. Use Wärner Technologie Services DNS-API](#dns_wts)
|
||||||
- [187. Use RESTENA DNS API](#dns_restena)
|
- [187. Use RESTENA DNS API](#dns_restena)
|
||||||
|
- [188. Use Hetzner Cloud DNS API](#dns_hetznercloud)
|
||||||
- [Use custom API](#dns_myapi)
|
- [Use custom API](#dns_myapi)
|
||||||
- [Use lexicon DNS API](#dns_lexicon)
|
- [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)
|
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"/>
|
<a name="dns_myapi"/>
|
||||||
|
|
||||||
## Use custom API
|
## Use custom API
|
||||||
|
|||||||
Reference in New Issue
Block a user