From edb4843fbd6ff744ef0ab8fe39d66d0938c8974e Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 13 Feb 2016 13:53:18 -0500 Subject: man: show output in example systemd-resolve commands I think example output allows the reader of the man page to see what functionlity is provided without running the commands themselves. Specific values in the examples are bound to get out of date but this is not a problem. --- man/systemd-resolve.xml | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/systemd-resolve.xml b/man/systemd-resolve.xml index 802d9cbbe6..5bd05368d7 100644 --- a/man/systemd-resolve.xml +++ b/man/systemd-resolve.xml @@ -263,27 +263,58 @@ Retrieve the addresses of the <literal>www.0pointer.net</literal> domain - $ systemd-resolve www.0pointer.net + $ systemd-resolve www.0pointer.net +www.0pointer.net: 2a01:238:43ed:c300:10c3:bcf3:3266:da74 + 85.214.157.71 + +-- Information acquired via protocol DNS in 611.6ms. +-- Data is authenticated: no + Retrieve the domain of the <literal>85.214.157.71</literal> IP address - $ systemd-resolve 85.214.157.71 + $ systemd-resolve 85.214.157.71 +85.214.157.71: gardel.0pointer.net + +-- Information acquired via protocol DNS in 1.2997s. +-- Data is authenticated: no + Retrieve the MX record of the <literal>0pointer.net</literal> domain - $ systemd-resolve -t MX 0pointer.net + $ systemd-resolve -t MX yahoo.com --legend=no +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 + Resolve an SRV service - $ systemd-resolve --service _xmpp-server._tcp gmail.com + $ systemd-resolve --service _xmpp-server._tcp gmail.com +_xmpp-server._tcp/gmail.com: alt1.xmpp-server.l.google.com:5269 [priority=20, weight=0] + 173.194.210.125 + alt4.xmpp-server.l.google.com:5269 [priority=20, weight=0] + 173.194.65.125 + ... + + + Retrieve a PGP key + + $ systemd-resolve --openpgp zbyszek@fedoraproject.org +d08ee310438ca124a6149ea5cc21b6313b390dce485576eff96f8722._openpgpkey.fedoraproject.org. IN OPENPGPKEY + mQINBFBHPMsBEACeInGYJCb+7TurKfb6wGyTottCDtiSJB310i37/6ZYoeIay/5soJjlMyf + MFQ9T2XNT/0LM6gTa0MpC1st9LnzYTMsT6tzRly1D1UbVI6xw0g0vE5y2Cjk3xUwAynCsSs + ... + + -- cgit v1.2.3-54-g00ecf