Browse Source

Merge pull request #5331 from lifeboy/revert-TXT-add-update

Revert txt add update
pull/5043/head
neil 2 months ago
committed by GitHub
parent
commit
5c78a5e4fe
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      dnsapi/dns_miab.sh

3
dnsapi/dns_miab.sh

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

Loading…
Cancel
Save