summaryrefslogtreecommitdiff
path: root/update-ddns.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-02-23 21:43:04 +0100
committerErich Eckner <git@eckner.net>2017-02-23 21:43:04 +0100
commit1eb6985c1f2970bc157d8a25139285518127a027 (patch)
tree97d8d9f9b2f167c737e292995b3a614f6ec6ff00 /update-ddns.in
parent2258556c58336bd9dfe4b013a1a644fe3d8ae6d3 (diff)
downloadupdate-ddns-1eb6985c1f2970bc157d8a25139285518127a027.tar.xz
dig kann nun dns-Server uebergeben bekommen
Diffstat (limited to 'update-ddns.in')
-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}' | \