diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index 4a33149a73..f9d0ff43f4 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 97c3768100..4f9e1f9c5a 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. +