mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-05-18 20:03:55 +08:00
Reordered DNScale entry
30
dnsapi2.md
30
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
|
||||
<a name="dns_myapi"/>
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
<a name="dns_dnscale"/>
|
||||
|
||||
## 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
|
||||
<a name="dns_myapi"/>
|
||||
|
||||
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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user