Browse Source

Update dns_miab.sh

The MIAB API requires that the txtvlaue to a TXT record includes the "value=" and "ttl=" components as part of the TXT record when adding a new record.
pull/5259/head
Roland Giesler 3 months ago
committed by GitHub
parent
commit
435bb3f1d3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      dnsapi/dns_miab.sh

3
dnsapi/dns_miab.sh

@ -19,7 +19,8 @@ dns_miab_add() {
txtvalue=$2
_info "Using miab challange add"
_debug fulldomain "$fulldomain"
_debug txtvalue "$txtvalue"
# Added to accomodate the new TXT record format used by the API
_debug txtvalue "value="+="$txtvalue"+"&ttl=300"
#retrieve MIAB environemt vars
if ! _retrieve_miab_env; then

Loading…
Cancel
Save