mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
man: more hyperlinks and other fixes
Closes https://github.com/systemd/systemd/issues/29814.
This commit is contained in:
@@ -363,17 +363,21 @@ DNSStubListenerExtra=udp:[2001:db8:0:f102::13]:9953</programlisting>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>StaleRetentionSec=<replaceable>SECONDS</replaceable></term>
|
||||
<listitem><para>Takes a duration value, which determines the length of time DNS resource records can be retained
|
||||
in the cache beyond their Time To Live (TTL). This allows these records to be returned as stale records.
|
||||
By default, this value is set to zero, meaning that DNS resource records are not stored in the cache after their TTL expires.</para>
|
||||
<listitem><para>Takes a duration value, which determines the length of time DNS resource records can
|
||||
be retained in the cache beyond their Time To Live (TTL). This allows these records to be returned as
|
||||
stale records. By default, this value is set to zero, meaning that DNS resource records are not
|
||||
stored in the cache after their TTL expires.</para>
|
||||
|
||||
<para>This is useful when a DNS server failure occurs or becomes unreachable.
|
||||
In such cases, systemd-resolved continues to use the stale records to answer DNS queries, particularly when no valid response
|
||||
can be obtained from the upstream DNS servers. However, this doesn't apply to NXDOMAIN responses, as those are still perfectly valid responses.
|
||||
This feature enhances resilience against DNS infrastructure failures and outages.</para>
|
||||
<para>This is useful when a DNS server failure occurs or becomes unreachable. In such cases,
|
||||
<citerefentry><refentrytitle>systemd-resolved</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
||||
continues to use the stale records to answer DNS queries, particularly when no valid response can be
|
||||
obtained from the upstream DNS servers. However, this doesn't apply to NXDOMAIN responses, as those
|
||||
are still perfectly valid responses. This feature enhances resilience against DNS infrastructure
|
||||
failures and outages.</para>
|
||||
|
||||
<para>systemd-resolved always attempts to reach the upstream DNS servers first, before providing the client application with any stale data.
|
||||
If this feature is enabled, cache will not be flushed when changing servers.</para>
|
||||
<para><command>systemd-resolved</command> always attempts to reach the upstream DNS servers first,
|
||||
before providing the client application with any stale data. If this feature is enabled, cache will
|
||||
not be flushed when changing servers.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v254"/>
|
||||
</listitem>
|
||||
|
||||
Reference in New Issue
Block a user