diff options
author | Pavel Sapezhko <me@weastur.com> | 2020-11-24 16:44:07 +0300 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-11-27 09:03:42 +0900 |
commit | 6d8325f66a40d802b280492416660246db3476a6 (patch) | |
tree | 16695803d633369cc9e7c5fdb9d4139ddd225048 /man/resolved.conf.xml | |
parent | 2bb703e440c844162cc258dfa0385c33d7bc32b3 (diff) | |
download | systemd-6d8325f66a40d802b280492416660246db3476a6.tar.gz |
resolved: allow cache responses from local DNS servers
Diffstat (limited to 'man/resolved.conf.xml')
-rw-r--r-- | man/resolved.conf.xml | 12 |
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> |