summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJan Vcelak <jv@fcelda.cz>2018-01-13 16:30:46 +0100
committerDaniel Salzman <daniel.salzman@nic.cz>2018-01-17 16:09:08 +0100
commit6a667b051e8f6b6b844a6038b9a90a08c1bb4826 (patch)
tree950238ad949bf892d581b884f7f5c15aa6e2bbf6 /doc
parentkdig: re-align help output (diff)
downloadknot-6a667b051e8f6b6b844a6038b9a90a08c1bb4826.tar.xz
knot-6a667b051e8f6b6b844a6038b9a90a08c1bb4826.zip
kdig: document +ednsopt in manual page
Diffstat (limited to 'doc')
-rw-r--r--doc/man/kdig.1in6
-rw-r--r--doc/man_kdig.rst6
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/man/kdig.1in b/doc/man/kdig.1in
index 4265ad16a..da28073ca 100644
--- a/doc/man/kdig.1in
+++ b/doc/man/kdig.1in
@@ -287,6 +287,12 @@ Attach EDNS(0) cookie to the query.
\fB+\fP[\fBno\fP]\fBbadcookie\fP
Repeat a query with the correct cookie.
.TP
+\fB+\fP[\fBno\fP]\fBednsopt\fP[=\fICODE\fP[:\fIHEX\fP]]
+Send custom EDNS option. The \fICODE\fP is EDNS option code in decimal, \fIHEX\fP
+is an optional hex encoded string to use as EDNS option value. This argument
+can be used multiple times. +nodnsopt clears all EDNS options specified by
++ednsopt.
+.TP
\fB+noidn\fP
Disable the IDN transformation to ASCII and vice versa. IDNA2003 support depends
on libidn availability during project building!
diff --git a/doc/man_kdig.rst b/doc/man_kdig.rst
index a44b07a7f..2d25e5a2c 100644
--- a/doc/man_kdig.rst
+++ b/doc/man_kdig.rst
@@ -266,6 +266,12 @@ Options
**+**\ [\ **no**\ ]\ **badcookie**
Repeat a query with the correct cookie.
+**+**\ [\ **no**\ ]\ **ednsopt**\[\ =\ *CODE*\[:*HEX*\]\]
+ Send custom EDNS option. The *CODE* is EDNS option code in decimal, *HEX*
+ is an optional hex encoded string to use as EDNS option value. This argument
+ can be used multiple times. +nodnsopt clears all EDNS options specified by
+ +ednsopt.
+
**+noidn**
Disable the IDN transformation to ASCII and vice versa. IDNA2003 support depends
on libidn availability during project building!