From: Lennart Poettering Date: Fri, 26 Mar 2021 17:40:52 +0000 (+0100) Subject: man: document _outbound X-Git-Tag: v249-rc1~275^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f166bb79b026ca3dfa1117b1a01aecbabcaccf3;p=thirdparty%2Fsystemd.git man: document _outbound --- diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index 8d5b549c3b1..8a603fb9ce4 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -51,6 +51,13 @@ ordered by their metric. This assigns a stable hostname to the current gateway, useful for referencing it independently of the current network configuration state. + + The hostname _outbound is resolved to the local IPv4 and IPv6 + addresses that are most likely used for communication with other hosts. This is determined by + requesting a routing decision to the configured default gateways from the kernel and then using the + local IP addresses selected by this decision. This hostname is only available if there is at least one + local default gateway configured. This assigns a stable hostname to the local outbound IP addresses, + useful for referencing them independently of the current network configuration state. Various software relies on an always-resolvable local diff --git a/man/resolvectl.xml b/man/resolvectl.xml index 6dd46744563..bd1a636d605 100644 --- a/man/resolvectl.xml +++ b/man/resolvectl.xml @@ -299,11 +299,11 @@ Takes a boolean parameter; used in conjunction with query. If true (the default), select domains are resolved on the local system, among them - localhost and _gateway or entries from - /etc/hosts. If false these domains are not resolved locally, and either fail (in - case of localhost or _gateway and suchlike) or go to the - network via regular DNS/mDNS/LLMNR lookups (in case of /etc/hosts - entries). + localhost, _gateway and _outbound, or + entries from /etc/hosts. If false these domains are not resolved locally, and + either fail (in case of localhost, _gateway or + _outbound and suchlike) or go to the network via regular DNS/mDNS/LLMNR lookups + (in case of /etc/hosts entries). diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml index ed6214cd625..9c7c482549d 100644 --- a/man/systemd-resolved.service.xml +++ b/man/systemd-resolved.service.xml @@ -104,6 +104,13 @@ gateway addresses, ordered by their metric. This assigns a stable hostname to the current gateway, useful for referencing it independently of the current network configuration state. + The hostname _outbound is resolved to the local IPv4 and IPv6 + addresses that are most likely used for communication with other hosts. This is determined by + requesting a routing decision to the configured default gateways from the kernel and then using the + local IP addresses selected by this decision. This hostname is only available if there is at least one + local default gateway configured. This assigns a stable hostname to the local outbound IP addresses, + useful for referencing them independently of the current network configuration state. + The mappings defined in /etc/hosts are resolved to their configured addresses and back, but they will not affect lookups for non-address types (like MX). Support for /etc/hosts may be disabled with ReadEtcHosts=no,