add dns_cyberpanel custom api for acme ssl

This commit is contained in:
usmannasir
2024-10-05 22:19:06 +05:00
parent afea741bfa
commit 2a62ebe713

View File

@@ -24,7 +24,7 @@ Author: Neil Pang <usman@cyberpersons.com>
dns_cyberpanel_add() {
fulldomain=$1
txtvalue=$2
_info "Using myapi"
_info "Using CyberPanel ACME API"
_debug fulldomain "$fulldomain"
_debug txtvalue "$txtvalue"
_info "cyberpanel createDNSRecord --domainName $fulldomain --name $fulldomain --recordType TXT --value $txtvalue --priority 0 --ttl 3600"