diff --git a/dnsapi.md b/dnsapi.md index 0042433..fd2a95a 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -2664,6 +2664,27 @@ Please report any issue to https://github.com/acmesh-official/acme.sh/issues/355 See: +## 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