From 132757ce8ef0117b41a7f8c8f7c68d8f024f0222 Mon Sep 17 00:00:00 2001 From: JNail Date: Sun, 4 Aug 2024 23:14:44 +0200 Subject: [PATCH] Revert "Fixed TXT record name in dns_desec.sh" This reverts commit 4258403ffbcec758fb4cbdc2c0801d83779d56a2. --- dnsapi/dns_desec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_desec.sh b/dnsapi/dns_desec.sh index c74e244f..0d6a6c2f 100644 --- a/dnsapi/dns_desec.sh +++ b/dnsapi/dns_desec.sh @@ -59,7 +59,7 @@ dns_desec_add() { fi _debug txtvalues "$txtvalues" _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 _contains "$response" "$txtvalue"; then