summaryrefslogtreecommitdiff
path: root/man/resolvectl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-09-28 12:46:21 +0200
committerLennart Poettering <lennart@poettering.net>2022-09-30 14:24:08 +0200
commitfffbf1dc996691298fd5e53f15c98e7d7257235a (patch)
treeec17e989fbc6b95949d96598be96cf97099cc005 /man/resolvectl.xml
parent72c2d39ecb2fcd4d6c78b65c56b7a9eab02a3048 (diff)
downloadsystemd-fffbf1dc996691298fd5e53f15c98e7d7257235a.tar.gz
resolvectl: add new "monitor" verb
Diffstat (limited to 'man/resolvectl.xml')
-rw-r--r--man/resolvectl.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/man/resolvectl.xml b/man/resolvectl.xml
index 19fb0780b5..a9cdfe9187 100644
--- a/man/resolvectl.xml
+++ b/man/resolvectl.xml
@@ -199,6 +199,19 @@
automatically, an explicit reverting is not necessary in that case.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><command>monitor</command></term>
+
+ <listitem><para>Show a continous stream of local client resolution queries and their
+ responses. Whenever a local query is completed the query's DNS resource lookup key and resource
+ records are shown. Note that this displays queries issued locally only, and does not immediately
+ relate to DNS requests submitted to configured DNS servers or the LLMNR or MulticastDNS zones, as
+ lookups may be answered from the local cache, or might result in multiple DNS transactions (for
+ example to validate DNSSEC information). If CNAME/CNAME redirection chains are followed, a separate
+ query will be displayed for each element of the chain. Use <option>--json=</option> to enable JSON
+ output.</para></listitem>
+ </varlistentry>
+
<xi:include href="systemctl.xml" xpointer="log-level" />
</variablelist>
</refsect1>
@@ -379,9 +392,17 @@
query response are shown. Otherwise, this output is suppressed.</para></listitem>
</varlistentry>
+ <xi:include href="standard-options.xml" xpointer="json" />
+
+ <varlistentry>
+ <term><option>-j</option></term>
+
+ <listitem><para>Short for <option>--json=auto</option></para></listitem>
+ </varlistentry>
+
+ <xi:include href="standard-options.xml" xpointer="no-pager" />
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
- <xi:include href="standard-options.xml" xpointer="no-pager" />
</variablelist>
</refsect1>