diff options
author | Florian Klink <flokli@flokli.de> | 2021-07-17 19:49:42 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-23 12:00:20 +0200 |
commit | 3e7476e5719e543f6d42fd54f9871b6aed232189 (patch) | |
tree | cd1c666bd2457710f056629307d44aade8dcb48a | |
parent | ba1b0207bb6d344de0266a1694745ae9f12114a3 (diff) | |
download | systemd-3e7476e5719e543f6d42fd54f9871b6aed232189.tar.gz |
man: document nss-{resolve,myhostname} resolving in the other direction, too
(cherry picked from commit 946f7ce32cef44d9bfcf2dc594bb193341434f57)
(cherry picked from commit f869a39bceb35406d3193058d6ab5308c2e28f17)
-rw-r--r-- | man/nss-myhostname.xml | 7 | ||||
-rw-r--r-- | man/nss-resolve.xml | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index ce03b66ce4..55d6ddd411 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -70,7 +70,12 @@ This resolves well-known hostnames like <literal>localhost</literal> and the machine hostnames locally. It is consistent with the behaviour of <command>nss-resolve</command>, and still allows overriding via - <filename>/etc/hosts</filename>. + <filename>/etc/hosts</filename>.</para> + + <para>Please keep in mind that <command>nss-myhostname</command> (and <command>nss-resolve</command>) also resolve + in the other direction — from locally attached IP adresses to + hostnames. If you rely on that lookup being provided by DNS, you might + want to order things differently. </para> </refsect1> diff --git a/man/nss-resolve.xml b/man/nss-resolve.xml index 78c92030ac..717515027d 100644 --- a/man/nss-resolve.xml +++ b/man/nss-resolve.xml @@ -52,6 +52,12 @@ it is still recommended (see examples below) to keep <command>nss-myhostname</command> configured in <filename>/etc/nsswitch.conf</filename>, to keep those names resolveable if <command>systemd-resolved</command> is not running.</para> + + <para>Please keep in mind that <command>nss-myhostname</command> (and <command>nss-resolve</command>) also resolve + in the other direction — from locally attached IP adresses to + hostnames. If you rely on that lookup being provided by DNS, you might + want to order things differently. + </para> </refsect1> <refsect1> |