summaryrefslogtreecommitdiffstats
path: root/dehydrated/bin/dehydrated-nsupdate
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2021-09-07 19:17:06 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2021-09-07 19:17:06 +0000
commit156e2773eb9a8230b96ba38ca864b383d8bbdd78 (patch)
tree5398323e01e904fdfbfc359f94a4e1a5aabfbf67 /dehydrated/bin/dehydrated-nsupdate
parentReleasing version 20210907. (diff)
downloadservice-tools-156e2773eb9a8230b96ba38ca864b383d8bbdd78.tar.xz
service-tools-156e2773eb9a8230b96ba38ca864b383d8bbdd78.zip
Handling IDN domains in dehydrated-nsupdate by not expanding the punycode.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'dehydrated/bin/dehydrated-nsupdate')
-rwxr-xr-xdehydrated/bin/dehydrated-nsupdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/dehydrated/bin/dehydrated-nsupdate b/dehydrated/bin/dehydrated-nsupdate
index b870e3b..be773f8 100755
--- a/dehydrated/bin/dehydrated-nsupdate
+++ b/dehydrated/bin/dehydrated-nsupdate
@@ -45,11 +45,11 @@ esac
if command -v kdig > /dev/null 2>&1
then
# knot-dnsutils
- DIG="kdig"
+ DIG="kdig +noidn"
elif command -v dig > /dev/null 2>&1
then
# bind-dnsutils
- DIG="dig"
+ DIG="dig +noidnout"
else
echo "'${HOOK}': need dig from bind-dnsutils or knot-dnsutils" >&2
exit 1