resolve: add "systemd-resolve --status" command

The new command shows the per-link and global DNS configuration currently in
effect. This is useful to quickly see the DNS settings resolved acquired from
networkd and that was pushed into it via the bus APIs.
This commit is contained in:
Lennart Poettering
2016-06-15 21:43:36 +02:00
parent a37129796c
commit be371fe039
2 changed files with 526 additions and 3 deletions

View File

@@ -294,8 +294,15 @@
<listitem><para>Flushes all DNS resource record caches the service maintains locally.</para></listitem> <listitem><para>Flushes all DNS resource record caches the service maintains locally.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>--status</option></term>
<listitem><para>Shows the global and per-link DNS settings in currently in effect.</para></listitem>
</varlistentry>
<xi:include href="standard-options.xml" xpointer="help" /> <xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" /> <xi:include href="standard-options.xml" xpointer="version" />
<xi:include href="standard-options.xml" xpointer="no-pager" />
</variablelist> </variablelist>
</refsect1> </refsect1>

File diff suppressed because it is too large Load Diff