From: Florian Klink Date: Sat, 17 Jul 2021 17:49:42 +0000 (+0200) Subject: man: document nss-{resolve,myhostname} resolving in the other direction, too X-Git-Tag: v250-rc1~929^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20103%2Fhead;p=thirdparty%2Fsystemd.git man: document nss-{resolve,myhostname} resolving in the other direction, too --- diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index 4a33149a73a..f9d0ff43f43 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -77,7 +77,12 @@ This resolves well-known hostnames like localhost and the machine hostnames locally. It is consistent with the behaviour of nss-resolve, and still allows overriding via - /etc/hosts. + /etc/hosts. + + Please keep in mind that nss-myhostname (and nss-resolve) 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. diff --git a/man/nss-resolve.xml b/man/nss-resolve.xml index 97c3768100b..4f9e1f9c5a5 100644 --- a/man/nss-resolve.xml +++ b/man/nss-resolve.xml @@ -52,6 +52,12 @@ it is still recommended (see examples below) to keep nss-myhostname configured in /etc/nsswitch.conf, to keep those names resolveable if systemd-resolved is not running. + + Please keep in mind that nss-myhostname (and nss-resolve) 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. +