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,