mirror of
https://github.com/systemd/systemd.git
synced 2025-02-24 17:57:34 +03:00
man: document nss-{resolve,myhostname} resolving in the other direction, too
This commit is contained in:
parent
ce266330fc
commit
946f7ce32c
@ -77,7 +77,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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user