Browse Source

Revert "Fixed TXT record name in dns_desec.sh"

This reverts commit 4258403ffb.
pull/5239/head
JNail 2 months ago
parent
commit
132757ce8e
  1. 2
      dnsapi/dns_desec.sh

2
dnsapi/dns_desec.sh

@ -59,7 +59,7 @@ dns_desec_add() {
fi fi
_debug txtvalues "$txtvalues" _debug txtvalues "$txtvalues"
_info "Adding record" _info "Adding record"
body="[{\"subname\":\"$_sub_domain\":\"$_domain\", \"type\":\"TXT\", \"records\":[$txtvalues], \"ttl\":3600}]"
body="[{\"subname\":\"$_sub_domain\", \"type\":\"TXT\", \"records\":[$txtvalues], \"ttl\":3600}]"
if _desec_rest PUT "$REST_API/$_domain/rrsets/" "$body"; then if _desec_rest PUT "$REST_API/$_domain/rrsets/" "$body"; then
if _contains "$response" "$txtvalue"; then if _contains "$response" "$txtvalue"; then

Loading…
Cancel
Save