diff --git a/dnsapi2.md b/dnsapi2.md index 1375641..bb51f37 100644 --- a/dnsapi2.md +++ b/dnsapi2.md @@ -113,6 +113,7 @@ - [189. Use QUIC.cloud DNS API](#dns_qc) - [190. Use Infoblox UDDI DNS API](#dns_infoblox_uddi) - [191. Use HostUp DNS API](#dns_hostup) +- [192. Use Sotoon domain API](#dns_sotoon) - [Use custom API](#dns_myapi) - [Use lexicon DNS API](#dns_lexicon) @@ -2896,6 +2897,29 @@ The variables above are saved in ~/.acme.sh/account.conf for reuse. Report any bugs or issues [here](https://github.com/hostup/acme.sh/issues/1). + + +## 192. Use Sotoon domain API + +Get your API token at https://ocean.sotoon.ir/profile/tokens +Get workspace details at https://ocean.sotoon.ir/profile/workspaces + +```sh +export Sotoon_Token="" +export Sotoon_WorkspaceUUID="" +export Sotoon_WorkspaceName="" +``` + +To issue a cert: +```sh +./acme.sh --issue --dns dns_sotoon -d example.com -d *.example.com +``` + +The `Sotoon_Token`,`Sotoon_WorkspaceUUID`,`Sotoon_WorkspaceName` 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/6656) + + ## Use custom API