diff --git a/dnsapi2.md b/dnsapi2.md index fa708ca..122b7dc 100644 --- a/dnsapi2.md +++ b/dnsapi2.md @@ -130,6 +130,7 @@ - [206. Use cPanel UAPI DNS](#dns_cpanel_uapi) - [207. Use sitehost.nz DNS API](#dns_sitehost) - [208. Use EuroDNS DNS API](#dns_eurodns) +- [209. Use DNScale DNS API](#dns_dnscale) - [Use custom API](#dns_myapi) @@ -3310,6 +3311,31 @@ Let's assume you want to name it `myapi`: ./acme.sh --issue --dns dns_myapi -d example.com -d *.example.com ``` + + +## 209. Use DNScale DNS API + +[DNScale](https://dnscale.eu) is an EU-based authoritative DNS hosting platform with a +REST API. Authentication is a single bearer token — there's no separate client ID. + +Create an API token at the [DNScale dashboard](https://app.dnscale.eu) under **API +Keys**. Grant it the scopes `zones:read`, `records:read`, and `records:write`. Scope +the token to the specific zone(s) you'll be issuing certs for when possible. + +```sh +export DNSCALE_Token="your_api_token" + +acme.sh --issue --dns dns_dnscale -d example.com -d *.example.com + +An optional DNSCALE_Api variable overrides the API base URL (defaults to +https://api.dnscale.eu). + +The DNSCALE_Token (and DNSCALE_Api if set) is saved to ~/.acme.sh/account.conf on first +use, so subsequent renewals don't need the env vars. + +Report any bugs or issues here: https://github.com/acmesh-official/acme.sh/issues/6909 +``` + ## Wiki documentation for dnsapi2 Please add the following to the [dnsapi2 wiki page](https://github.com/acmesh-official/acme.sh/wiki/dnsapi2):