summaryrefslogtreecommitdiff
path: root/man/resolvectl.xml
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2018-07-16 15:16:37 -0700
committerLennart Poettering <lennart@poettering.net>2018-07-17 21:20:52 +0200
commit06c28aa0d83edde4fdd173ced33a646b8f7b0073 (patch)
tree13efb894d118aa835d7da57e9154880aee3dc3b0 /man/resolvectl.xml
parent81d39f0d2cd63e35389df7b9ebefc3049d1a2305 (diff)
downloadsystemd-06c28aa0d83edde4fdd173ced33a646b8f7b0073.tar.gz
resolvectl: Take empty string argument to clear lists in "dns", "domain" and "nta" options
The current CLI does not support a way to clear these lists, since without any additional arguments, the command will list the current values. Introduce a new way to clear the lists by passing a single '' argument to these subcommands. Update the man page to document this. Tested: $ build/resolvectl domain eth1 Link 3 (eth1): ~. $ build/resolvectl domain eth1 '' $ build/resolvectl domain eth1 Link 3 (eth1): $ build/resolvectl domain eth1 '~.' '~example.com' $ build/resolvectl domain eth1 Link 3 (eth1): ~. ~example.com $ build/resolvectl domain eth1 '' $ build/resolvectl domain eth1 Link 3 (eth1): $ build/resolvectl domain eth1 '~.' $ build/resolvectl domain eth1 Link 3 (eth1): ~. And similar for "dns" and "nta".
Diffstat (limited to 'man/resolvectl.xml')
-rw-r--r--man/resolvectl.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/man/resolvectl.xml b/man/resolvectl.xml
index ff5b8ad101..cf97628f86 100644
--- a/man/resolvectl.xml
+++ b/man/resolvectl.xml
@@ -258,8 +258,12 @@
<literal>~</literal>, and configures a per-interface search or route-only domain. The <option>llmnr</option>,
<option>mdns</option>, <option>dnssec</option> and <option>dnsovertls</option> commands may be used to configure
the per-interface LLMNR, MulticastDNS, DNSSEC and DNSOverTLS settings. Finally, <option>nta</option> command
- may be used to configure additional per-interface DNSSEC NTA domains. For details about these settings, their
- possible values and their effect, see the corresponding options in
+ may be used to configure additional per-interface DNSSEC NTA domains.</para></listitem>
+
+ <listitem><para>Options <option>dns</option>, <option>domain</option> and <option>nta</option> can take
+ a single empty string argument to clear their respective value lists.</para></listitem>
+
+ <listitem><para>For details about these settings, their possible values and their effect, see the corresponding options in
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
</listitem>
</varlistentry>