From d0889b0ada26f03cb4dcfe39b1c4667d3b0dd9d8 Mon Sep 17 00:00:00 2001 From: Sasha Reid Date: Tue, 10 Mar 2026 10:03:26 +0100 Subject: [PATCH] Adding Hostinger documentation; adding missing anchor for newly added DNSAPI records, pushing custom API instructions back to the bottom --- dnsapi2.md | 68 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 47 insertions(+), 21 deletions(-) diff --git a/dnsapi2.md b/dnsapi2.md index 5a57f56..3d83ae8 100644 --- a/dnsapi2.md +++ b/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 + +## 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) + + +## 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) + + +## 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) + ## 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) - - - -## Use lexicon DNS API - -[How to use lexicon DNS API](https://github.com/acmesh-official/acme.sh/wiki/How-to-use-lexicon-DNS-API) -----------------------------------