From d0cfa74408107ddfa84eb89d7195d6950166f082 Mon Sep 17 00:00:00 2001 From: "BordenIT, LLC Admin" <49888529+bordenit@users.noreply.github.com> Date: Sat, 11 Nov 2023 16:02:41 -0500 Subject: [PATCH] Update dns_gd.sh --- dnsapi/dns_gd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_gd.sh b/dnsapi/dns_gd.sh index 1729115e5e..ad142141ce 100755 --- a/dnsapi/dns_gd.sh +++ b/dnsapi/dns_gd.sh @@ -51,7 +51,7 @@ dns_gd_add() { fi _add_data="{\"data\":\"$txtvalue\"}" - for t in $(echo "$response" | tr '{' "\n" | grep "\"name\":\"$_sub_domain\"" | tr ',' "\n" | grep '"data"' | cut -d : -f 2); do + for t in $(echo "$response" | tr '{' "\n" | grep "\"name\":\"$fulldomain\"" | tr ',' "\n" | grep '"data"' | cut -d : -f 2); do _debug2 t "$t" # ignore empty (previously removed) records, to prevent useless _acme-challenge TXT entries if [ "$t" ] && [ "$t" != '""' ]; then