summaryrefslogtreecommitdiff
path: root/man/resolved.conf.xml
diff options
context:
space:
mode:
authorPavel Sapezhko <me@weastur.com>2020-11-24 16:44:07 +0300
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-11-27 09:03:42 +0900
commit6d8325f66a40d802b280492416660246db3476a6 (patch)
tree16695803d633369cc9e7c5fdb9d4139ddd225048 /man/resolved.conf.xml
parent2bb703e440c844162cc258dfa0385c33d7bc32b3 (diff)
downloadsystemd-6d8325f66a40d802b280492416660246db3476a6.tar.gz
resolved: allow cache responses from local DNS servers
Diffstat (limited to 'man/resolved.conf.xml')
-rw-r--r--man/resolved.conf.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/man/resolved.conf.xml b/man/resolved.conf.xml
index 35a5740c91..3fdf5de58b 100644
--- a/man/resolved.conf.xml
+++ b/man/resolved.conf.xml
@@ -251,8 +251,16 @@
request. Be aware that turning off caching comes at a performance penalty, which is particularly high
when DNSSEC is used. If <literal>no-negative</literal>, only positive answers are cached.</para>
- <para>Note that caching is turned off implicitly if the configured DNS server is on a host-local IP address
- (such as 127.0.0.1 or ::1), in order to avoid duplicate local caching.</para></listitem>
+ <para>Note that caching is turned off by default for host-local DNS servers.
+ See <varname>CacheFromLocalhost=</varname> for details.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>CacheFromLocalhost=</varname></term>
+ <listitem><para>Takes a boolean as argument. If <literal>no</literal> (the default), and response cames from
+ host-local IP address (such as 127.0.0.1 or ::1), the result wouldn't be cached in order to avoid
+ potential duplicate local caching.</para>
+ </listitem>
</varlistentry>
<varlistentry>