summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update-ddns.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-ddns.in b/update-ddns.in
index 3d005c1..420f37b 100644
--- a/update-ddns.in
+++ b/update-ddns.in
@@ -73,7 +73,7 @@ sed '
updateIps='auto'
else
dnsIps=$(
- dig +short $1 "${dnsName}" ${dnsVers[${j}]} \
+ dig +short $1 "${dnsName}" ${dnsVer} \
| grep -x "${ipRegex}" \
|sort -u
)