]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/resolved.conf.xml
resolved: switch cache option to a tri-state option (systemd#5552).
[thirdparty/systemd.git] / man / resolved.conf.xml
index a647a4ace7786018a98ac5a74101acef3efbf8b7..213be1d7b2c72c43e85d86ecdf9bababb1384943 100644 (file)
 
       <varlistentry>
         <term><varname>Cache=</varname></term>
-        <listitem><para>Takes a boolean argument. If <literal>yes</literal> (the default), resolving a domain name
+        <listitem><para>Takes a boolean or <literal>no-negative</literal> as argument. If <literal>yes</literal> (the default), resolving a domain name
         which already got queried earlier will return the previous result as long as it is still valid, and thus does
         not result in a new network request. Be aware that turning off caching comes at a performance penalty, which
         is particularly high when DNSSEC is used.</para>
+        If <literal>no-negative</literal>, only positive answers are cached.
 
         <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>