summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-03-26 18:40:52 +0100
committerLennart Poettering <lennart@poettering.net>2021-04-23 12:02:24 +0200
commit2f166bb79b026ca3dfa1117b1a01aecbabcaccf3 (patch)
treea60b6a1add812d4ea8d2d2a80d95ae8b8501850f
parentresolved: synthesize _outbound magic hostname here too (diff)
downloadsystemd-2f166bb79b026ca3dfa1117b1a01aecbabcaccf3.tar.xz
systemd-2f166bb79b026ca3dfa1117b1a01aecbabcaccf3.zip
man: document _outbound
-rw-r--r--man/nss-myhostname.xml7
-rw-r--r--man/resolvectl.xml10
-rw-r--r--man/systemd-resolved.service.xml7
3 files changed, 19 insertions, 5 deletions
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml
index 8d5b549c3b..8a603fb9ce 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.</para></listitem>
+
+ <listitem><para>The hostname <literal>_outbound</literal> 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.</para></listitem>
</itemizedlist>
<para>Various software relies on an always-resolvable local
diff --git a/man/resolvectl.xml b/man/resolvectl.xml
index 6dd4674456..bd1a636d60 100644
--- a/man/resolvectl.xml
+++ b/man/resolvectl.xml
@@ -299,11 +299,11 @@
<listitem><para>Takes a boolean parameter; used in conjunction with <command>query</command>. If true
(the default), select domains are resolved on the local system, among them
- <literal>localhost</literal> and <literal>_gateway</literal> or entries from
- <filename>/etc/hosts</filename>. If false these domains are not resolved locally, and either fail (in
- case of <literal>localhost</literal> or <literal>_gateway</literal> and suchlike) or go to the
- network via regular DNS/mDNS/LLMNR lookups (in case of <filename>/etc/hosts</filename>
- entries).</para></listitem>
+ <literal>localhost</literal>, <literal>_gateway</literal> and <literal>_outbound</literal>, or
+ entries from <filename>/etc/hosts</filename>. If false these domains are not resolved locally, and
+ either fail (in case of <literal>localhost</literal>, <literal>_gateway</literal> or
+ <literal>_outbound</literal> and suchlike) or go to the network via regular DNS/mDNS/LLMNR lookups
+ (in case of <filename>/etc/hosts</filename> entries).</para></listitem>
</varlistentry>
<varlistentry>
diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml
index ed6214cd62..9c7c482549 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.</para></listitem>
+ <listitem><para>The hostname <literal>_outbound</literal> 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.</para></listitem>
+
<listitem><para>The mappings defined in <filename>/etc/hosts</filename> are resolved to their
configured addresses and back, but they will not affect lookups for non-address types (like MX).
Support for <filename>/etc/hosts</filename> may be disabled with <varname>ReadEtcHosts=no</varname>,