summaryrefslogtreecommitdiffstats
path: root/dehydrated
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
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')
-rwxr-xr-xdehydrated/bin/dehydrated-nsupdate4
-rw-r--r--dehydrated/share/man/dehydrated-nsupdate.1.rst3
2 files changed, 5 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
diff --git a/dehydrated/share/man/dehydrated-nsupdate.1.rst b/dehydrated/share/man/dehydrated-nsupdate.1.rst
index db88f5e..b7e02a3 100644
--- a/dehydrated/share/man/dehydrated-nsupdate.1.rst
+++ b/dehydrated/share/man/dehydrated-nsupdate.1.rst
@@ -75,6 +75,9 @@ Features
| **bind9-dnsutils and knot-dnsutils support*
| **dehydrated-nsupdate** works with both nsupdate (bind9) and knsupdate (knot).
+| **IDN handling**
+| **dehydrated-nsupdate** works with IDN domains by not expanding the punycode.
+
Files
=====