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.
This commit is contained in:
parent
1d59d43286
commit
435bb3f1d3
@ -19,7 +19,8 @@ dns_miab_add() {
|
|||||||
txtvalue=$2
|
txtvalue=$2
|
||||||
_info "Using miab challange add"
|
_info "Using miab challange add"
|
||||||
_debug fulldomain "$fulldomain"
|
_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
|
#retrieve MIAB environemt vars
|
||||||
if ! _retrieve_miab_env; then
|
if ! _retrieve_miab_env; then
|
||||||
|
Loading…
Reference in New Issue
Block a user