summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-08 12:09:31 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-08 17:51:18 +0900
commitb088e905f7634f8f3b9d6495f7bfd7db61eaaba6 (patch)
tree56deec30bcb6aa83c8c3c97fea94cc68cfc85a8c /man
parent27dbecde9686f8041f00662f834b11a218fce963 (diff)
downloadsystemd-b088e905f7634f8f3b9d6495f7bfd7db61eaaba6.tar.gz
systemd-b088e905f7634f8f3b9d6495f7bfd7db61eaaba6.tar.bz2
systemd-b088e905f7634f8f3b9d6495f7bfd7db61eaaba6.zip
man: add missing 'query' command in examples of resolvectl
Diffstat (limited to 'man')
-rw-r--r--man/resolvectl.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/resolvectl.xml b/man/resolvectl.xml
index 96b3e8dad3..7f981ac327 100644
--- a/man/resolvectl.xml
+++ b/man/resolvectl.xml
@@ -370,7 +370,7 @@
<example>
<title>Retrieve the addresses of the <literal>www.0pointer.net</literal> domain</title>
- <programlisting>$ resolvectl www.0pointer.net
+ <programlisting>$ resolvectl query www.0pointer.net
www.0pointer.net: 2a01:238:43ed:c300:10c3:bcf3:3266:da74
85.214.157.71
@@ -382,7 +382,7 @@ www.0pointer.net: 2a01:238:43ed:c300:10c3:bcf3:3266:da74
<example>
<title>Retrieve the domain of the <literal>85.214.157.71</literal> IP address</title>
- <programlisting>$ resolvectl 85.214.157.71
+ <programlisting>$ resolvectl query 85.214.157.71
85.214.157.71: gardel.0pointer.net
-- Information acquired via protocol DNS in 1.2997s.
@@ -393,7 +393,7 @@ www.0pointer.net: 2a01:238:43ed:c300:10c3:bcf3:3266:da74
<example>
<title>Retrieve the MX record of the <literal>yahoo.com</literal> domain</title>
- <programlisting>$ resolvectl -t MX yahoo.com --legend=no
+ <programlisting>$ resolvectl --legend=no -t MX query yahoo.com
yahoo.com. IN MX 1 mta7.am0.yahoodns.net
yahoo.com. IN MX 1 mta6.am0.yahoodns.net
yahoo.com. IN MX 1 mta5.am0.yahoodns.net