From b8d31865d1cc29f5bcafb25a66b2c264f6ff899e Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Tue, 18 Jul 2023 16:01:37 +0200 Subject: [PATCH] fix: ipv6 --- dyndns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyndns.sh b/dyndns.sh index 6ce687c..9da2ba7 100755 --- a/dyndns.sh +++ b/dyndns.sh @@ -56,7 +56,7 @@ configure_record() { # re-enable glob expansion set +f - data="{\"type\": \"A\", \"name\": \"$sub\", \"data\": \"$ip\"}" + data="{\"type\": \"$type\", \"name\": \"$sub\", \"data\": \"$ip\"}" url="$dns_list/$record_id" if [[ -z $record_id ]]; then