Updated dnsapi (markdown)

DUVERNOY Matthieu 2021-08-25 23:29:13 +02:00
parent 409aa229c5
commit 8215139bfe

@ -2664,6 +2664,27 @@ Please report any issue to https://github.com/acmesh-official/acme.sh/issues/355
See: <https://github.com/acmesh-official/acme.sh/wiki/Using-Oracle-Cloud-Infrastructure-DNS>
## 134. Utilisation de l'API DNS Hostline Hébergement VPS
Créer un token API sur votre compte [Hostline Hébergement VPS](https://www.hostline.fr).
Ajouter les variables API suivantes :
```
export HOSTLINE_Token="xxx" (obligatoire)
export HOSTLINE_Url="https://api.hostline.fr" (optionnel)
export HOSTLINE_Ttl="60" ttl custom record (optionnel)
```
Pour générer un certificat exécuter la commande correspondante à votre cas :
```
acme.sh --issue --dns dns_hostline -d www.example.com # simple domain
acme.sh --issue --dns dns_hostline -d example.com -d www.example.com # multi domain
acme.sh --issue --dns dns_hostline -d example.com -d *.example.com # wildcard
```
Les variables `HOSTLINE_Token`, `HOSTLINE_Url` (optionnel) et `HOSTLINE_Ttl` (optionnel) doivent être définies dans le fichier `/root/.acme.sh/account.conf`.
Si vous rencontrez un problème sur l'API Hostline Hébergement VPS, merci de rapporter votre problème sur le lien suivant : [https://github.com/acmesh-official/acme.sh/issues/3675](https://github.com/acmesh-official/acme.sh/issues/3675)
# Use custom API