]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document that nss-myhostname handles *.localhost and *.localdomain too
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2016 20:43:34 +0000 (21:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2016 22:48:50 +0000 (23:48 +0100)
(And similar for resolved)

Fixes: #1630
man/nss-myhostname.xml
man/systemd-resolved.service.xml

index 859bec29e3ec5dc0fe7dc895da7558cc0debab81..251bdecbad1f993a45bce7180d0682249a2bf8c4 100644 (file)
@@ -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,
index 1b63afdded269540b7a315e4916fc5a3b7cd6cbb..4b4ea52aba0fa217d9b656096b6e92cb40bfcfb6 100644 (file)
@@ -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,