Browse Source

Syntax corrections suggested by testing script

pull/5268/head
Lifeboy 3 weeks ago
parent
commit
031d53b04f
  1. 2
      dnsapi/dns_miab.sh

2
dnsapi/dns_miab.sh

@ -16,7 +16,7 @@ Author: Darven Dissek, William Gertz
#Usage: dns_miab_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" #Usage: dns_miab_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_miab_add() { dns_miab_add() {
fulldomain=$1 fulldomain=$1
# Added "value=" and "&ttl=300" to accomodate the new TXT record format used by the MIAB / PMIAB API
# Added "value=" and "&ttl=300" to accomodate the new TXT record format used by the MIAB/PMIAB API
txtvalue="value=" "$2" "&ttl=300" txtvalue="value=" "$2" "&ttl=300"
_info "Using miab challenge add" _info "Using miab challenge add"
_debug fulldomain "$fulldomain" _debug fulldomain "$fulldomain"

Loading…
Cancel
Save