diff --git a/dnsapi2.md b/dnsapi2.md index 122b7dc..a3146e0 100644 --- a/dnsapi2.md +++ b/dnsapi2.md @@ -3296,21 +3296,6 @@ The `EURODNS_APP_ID` and `EURODNS_API_KEY` will be saved in `~/.acme.sh/account. Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6904) -## Use custom API - - -If your API is not supported yet, you can write your own DNS API. - -Let's assume you want to name it `myapi`: - -1. Create a bash script named `~/.acme.sh/dns_myapi.sh`, -2. In the script you must have a function named `dns_myapi_add()` which will be called by acme.sh to add the DNS records. -3. Then you can use your API to issue cert like this: - -```sh -./acme.sh --issue --dns dns_myapi -d example.com -d *.example.com -``` - ## 209. Use DNScale DNS API @@ -3336,6 +3321,21 @@ 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 ``` +## Use custom API + + +If your API is not supported yet, you can write your own DNS API. + +Let's assume you want to name it `myapi`: + +1. Create a bash script named `~/.acme.sh/dns_myapi.sh`, +2. In the script you must have a function named `dns_myapi_add()` which will be called by acme.sh to add the DNS records. +3. Then you can use your API to issue cert like this: + +```sh +./acme.sh --issue --dns dns_myapi -d example.com -d *.example.com +``` + ## Wiki documentation for dnsapi2 Please add the following to the [dnsapi2 wiki page](https://github.com/acmesh-official/acme.sh/wiki/dnsapi2):