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 176017b..4779654 100644
--- a/update-ddns.in
+++ b/update-ddns.in
@@ -50,7 +50,7 @@ do
unset updateIp
else
dnsIps="$(
- dig "${dnsName}" ${dnsVer} | \
+ dig $1 "${dnsName}" ${dnsVer} | \
grep -v '^\s*\(;\|$\)' | \
grep "\s${dnsVer}\s" | \
awk '{print $5}' | \