mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-05-18 20:03:55 +08:00
Adding Hostinger documentation; adding missing anchor for newly added DNSAPI records, pushing custom API instructions back to the bottom
68
dnsapi2.md
68
dnsapi2.md
@@ -122,8 +122,10 @@
|
||||
- [198. Use bHosted.nl DNS API](#dns_bhosted)
|
||||
- [199. Use FireStorm.ch DNS API](#dns_firestorm)
|
||||
- [200. Use subreg.cz DNS API](#dns_subreg)
|
||||
- [201. Use Hostinger.com DNS API](#dns_hostinger)
|
||||
- [202. Use lexicon DNS API](#dns_lexicon)
|
||||
- [Use custom API](#dns_myapi)
|
||||
- [Use lexicon DNS API](#dns_lexicon)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -3096,6 +3098,50 @@ export FST_Url="https://api.firestorm.ch/acme-dns"
|
||||
|
||||
The `FST_Key` and `FST_Secret` will be saved in `~/.acme.sh/account.conf` and reused for automatic renewal.
|
||||
|
||||
|
||||
dns_subreg
|
||||
<a name="dns_subreg"/>
|
||||
## 200. Use Subreg API:
|
||||
|
||||
```sh
|
||||
export SUBREG_API_USERNAME="Username"
|
||||
export SUBREG_API_PASSWORD="Password"
|
||||
```
|
||||
|
||||
To issue a cert:
|
||||
```sh
|
||||
./acme.sh --issue --dns dns_subreg -d example.nl -d *.example.nl --dnssleep 120
|
||||
```
|
||||
|
||||
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6835)
|
||||
|
||||
<a name="dns_hostinger"/>
|
||||
## 201. Use Hostinger API:
|
||||
|
||||
Hostinger is a VPS and Domain registrar with DNS functionality.
|
||||
|
||||
You will need an API token; you can read how to create and use an API token in the [Hostinger API authentication documentation](https://developers.hostinger.com/#description/authentication)
|
||||
|
||||
The API documentation for DNS zone management is located at [https://developers.hostinger.com](https://developers.hostinger.com/#tag/dns-zone)
|
||||
|
||||
There is only one necessary credential, the API token stored in `HOSTINGER_Token`:
|
||||
|
||||
```sh
|
||||
export HOSTINGER_Token=EXAMPLE_TRi7VCHHwXZhf9BVEUzzdYcPVLjJECTWX34mhxWQ
|
||||
```
|
||||
|
||||
To issue a cert:
|
||||
```sh
|
||||
./acme.sh --issue --dns dns_hostinger -d example.nl -d *.example.nl
|
||||
```
|
||||
|
||||
Report any bugs or issues to the open github issue [here](https://github.com/acmesh-official/acme.sh/issues/6831)
|
||||
|
||||
<a name="dns_lexicon"/>
|
||||
## 202. Use lexicon DNS API:
|
||||
|
||||
[How to use lexicon DNS API](https://github.com/acmesh-official/acme.sh/wiki/How-to-use-lexicon-DNS-API)
|
||||
|
||||
<a name="dns_myapi"/>
|
||||
## Use custom API
|
||||
|
||||
@@ -3111,20 +3157,6 @@ Let's assume you want to name it `myapi`:
|
||||
./acme.sh --issue --dns dns_myapi -d example.com -d *.example.com
|
||||
```
|
||||
|
||||
## 200. Use Subreg API:
|
||||
|
||||
```sh
|
||||
export SUBREG_API_USERNAME="Username"
|
||||
export SUBREG_API_PASSWORD="Password"
|
||||
```
|
||||
|
||||
To issue a cert:
|
||||
```sh
|
||||
./acme.sh --issue --dns dns_subreg -d example.nl -d *.example.nl --dnssleep 120
|
||||
```
|
||||
|
||||
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6835)
|
||||
|
||||
## Wiki documentation for dnsapi2
|
||||
Please add the following to the [dnsapi2 wiki page](https://github.com/acmesh-official/acme.sh/wiki/dnsapi2):
|
||||
|
||||
@@ -3135,12 +3167,6 @@ For more details, please check our sample script: [dns_myapi.sh](https://github.
|
||||
|
||||
See: [DNS API Dev Guide](https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide)
|
||||
|
||||
<a name="dns_lexicon"/>
|
||||
|
||||
|
||||
## Use lexicon DNS API
|
||||
|
||||
[How to use lexicon DNS API](https://github.com/acmesh-official/acme.sh/wiki/How-to-use-lexicon-DNS-API)
|
||||
|
||||
-----------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user