]>
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/Neilpang/acme.sh
12 ######## Public functions #####################
14 #Usage: dns_myapi_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
19 _debug fulldomain
"$fulldomain"
20 _debug txtvalue
"$txtvalue"
21 _err
"Not implemented!"
25 #Usage: fulldomain txtvalue
26 #Remove the txt record after validation.
31 _debug fulldomain
"$fulldomain"
32 _debug txtvalue
"$txtvalue"
35 #################### Private functions below ##################################