mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-05-18 20:03:55 +08:00
Add sitehost.nz DNS API documentation
17
dnsapi2.md
17
dnsapi2.md
@@ -128,6 +128,7 @@
|
||||
- [204. Use BEST-HOSTING DNS API](#dns_bh)
|
||||
- [205. Use Gname.com DNS API](#dns_gname)
|
||||
- [206. Use cPanel UAPI DNS](#dns_cpanel_uapi)
|
||||
- [207. Use sitehost.nz DNS API](#dns_sitehost)
|
||||
- [Use custom API](#dns_myapi)
|
||||
|
||||
|
||||
@@ -3252,6 +3253,22 @@ The `cPanel_Username`, `cPanel_Apitoken`, `cPanel_Hostname`, and `cPanel_TTL` wi
|
||||
|
||||
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6877).
|
||||
|
||||
<a name="dns_sitehost"/>
|
||||
|
||||
## 207. Use SiteHost DNS API
|
||||
|
||||
[SiteHost](https://www.sitehost.nz) is a New Zealand-based hosting service with API DNS management available. Your client ID is visible when logged into the [dashboard](https://cp.sitehost.nz). You can generate an API key by navigating to the `API` section of the dashboard - ensure you enable DNS access for it.
|
||||
|
||||
```sh
|
||||
export SITEHOST_API_KEY="your_api_key"
|
||||
export SITEHOST_CLIENT_ID="your_client_id"
|
||||
|
||||
acme.sh --issue --dns dns_sitehost -d example.com -d *.example.com`
|
||||
```
|
||||
|
||||
The `SITEHOST_API_KEY` and `SITEHOST_CLIENT_ID` will be saved in ~/.acme.sh/account.conf and will be reused when needed.
|
||||
|
||||
Report any bugs or issues https://github.com/acmesh-official/acme.sh/issues/6892
|
||||
|
||||
## Use custom API
|
||||
<a name="dns_myapi"/>
|
||||
|
||||
Reference in New Issue
Block a user