BordenIT, LLC Admin
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
|