From: Lennart Poettering Date: Wed, 10 Feb 2016 20:43:34 +0000 (+0100) Subject: man: document that nss-myhostname handles *.localhost and *.localdomain too X-Git-Tag: v229~10^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=358a9d51147f721c3e1701ea7df3522ca049254c;p=thirdparty%2Fsystemd.git man: document that nss-myhostname handles *.localhost and *.localdomain too (And similar for resolved) Fixes: #1630 --- diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index 859bec29e3e..251bdecbad1 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). - The hostname localhost is - resolved to the IP addresses 127.0.0.1 and - ::1. + The hostname localhost (as well as any hostname ending in + .localhost, .localdomain or equal to localdomain) is + resolved to the IP addresses 127.0.0.1 and ::1. The hostname gateway is resolved to all current default routing gateway addresses, diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml index 1b63afdded2..4b4ea52aba0 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). - The hostname localhost is - resolved to the IP addresses 127.0.0.1 and - ::1. + The hostname localhost (as well as any hostname ending in + .localhost, .localdomain or equal to localdomain) is + resolved to the IP addresses 127.0.0.1 and ::1. The hostname gateway is resolved to all current default routing gateway addresses,