summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-10 21:43:34 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-10 23:48:50 +0100
commit358a9d51147f721c3e1701ea7df3522ca049254c (patch)
tree069f97e28319a66f8a661c506c793a27185fd858 /man
parentbe73bb486a1a1bb43a04319c3cb0b639edd6b98f (diff)
man: document that nss-myhostname handles *.localhost and *.localdomain too
(And similar for resolved) Fixes: #1630
Diffstat (limited to 'man')
-rw-r--r--man/nss-myhostname.xml6
-rw-r--r--man/systemd-resolved.service.xml6
2 files changed, 6 insertions, 6 deletions
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml
index 859bec29e3..251bdecbad 100644
--- a/man/nss-myhostname.xml
+++ b/man/nss-myhostname.xml
@@ -71,9 +71,9 @@
is on the local loopback) and the IPv6 address ::1 (which is the
local host).</para></listitem>
- <listitem><para>The hostname <literal>localhost</literal> is
- resolved to the IP addresses 127.0.0.1 and
- ::1.</para></listitem>
+ <listitem><para>The hostname <literal>localhost</literal> (as well as any hostname ending in
+ <literal>.localhost</literal>, <literal>.localdomain</literal> or equal to <literal>localdomain</literal>) is
+ resolved to the IP addresses 127.0.0.1 and ::1.</para></listitem>
<listitem><para>The hostname <literal>gateway</literal> is
resolved to all current default routing gateway addresses,
diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml
index 1b63afdded..4b4ea52aba 100644
--- a/man/systemd-resolved.service.xml
+++ b/man/systemd-resolved.service.xml
@@ -87,9 +87,9 @@
is on the local loopback) and the IPv6 address ::1 (which is the
local host).</para></listitem>
- <listitem><para>The hostname <literal>localhost</literal> is
- resolved to the IP addresses 127.0.0.1 and
- ::1.</para></listitem>
+ <listitem><para>The hostname <literal>localhost</literal> (as well as any hostname ending in
+ <literal>.localhost</literal>, <literal>.localdomain</literal> or equal to <literal>localdomain</literal>) is
+ resolved to the IP addresses 127.0.0.1 and ::1.</para></listitem>
<listitem><para>The hostname <literal>gateway</literal> is
resolved to all current default routing gateway addresses,