Updated dnsapi2 (markdown)

mrbaiwei 2023-12-04 09:16:14 +08:00
parent f6d26bbfef
commit e846c7810f

@ -83,6 +83,7 @@
- [159. Use Lima-City (Trafficplex)](#dns_limacity)
- [160. Use TencentCloud (DNSPod) API](#dns_tencent)
- [161. Use Samba AD DC API](#dns_samba)
- [162. Use West.cn API](#dns_west_cn)
- [Use custom API](#dns_myapi)
- [Use lexicon DNS API](#dns_lexicon)
@ -2075,6 +2076,25 @@ The `SAMBA_HOST`, `SAMBA_USER` and `SAMBA_PASS` settings will be saved in `~/.ac
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/4852)
<a name="dns_west_cn"/>
## 162. Use West.cn API
Please visit https://www.west.cn/manager/API/APIconfig.asp to obtain the API key.
```sh
export WEST_Username="<Your Username>"
export WEST_Key="<Your APIKey>"
```
To issue a cert, run the following:
```sh
./acme.sh --issue --dns dns_west_cn -d example.com -d *.example.com
```
The login variables will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/4894)
<a name="dns_myapi"/>