]>
git.proxmox.com Git - mirror_acme.sh.git/blob - dnsapi/dns_myapi.sh
3 #Here is a sample custom api script.
4 #This file name is "dns_myapi.sh"
5 #So, here must be a method dns_myapi_add()
6 #Which will be called by acme.sh to add the txt record to your api system.
7 #returns 0 means success, otherwise error.
10 #Report Bugs here: https://github.com/acmesh-official/acme.sh
12 ######## Public functions #####################
14 # Please Read this guide first: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide
16 #Usage: dns_myapi_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
21 _debug fulldomain
"$fulldomain"
22 _debug txtvalue
"$txtvalue"
23 _err
"Not implemented!"
27 #Usage: fulldomain txtvalue
28 #Remove the txt record after validation.
33 _debug fulldomain
"$fulldomain"
34 _debug txtvalue
"$txtvalue"
37 #################### Private functions below ##################################