2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

Add documentation for min-{ncache,cache}-ttl

This commit is contained in:
Ondřej Surý
2018-11-08 02:10:52 +07:00
parent cf9c2ef305
commit 3f95f4ffbb
3 changed files with 69 additions and 31 deletions

View File

@@ -4311,6 +4311,8 @@ badresp:1,adberr:0,findfail:0,valfail:0]
<command>max-ncache-ttl</command>,
<command>max-stale-ttl</command>,
<command>max-cache-size</command>, and
<command>min-cache-ttl</command>,
<command>min-ncache-ttl</command>,
<command>zero-no-soa-ttl</command>.
</para>
@@ -8995,6 +8997,38 @@ avoid-v6-udp-ports { 40000; range 50000 60000; };
</listitem>
</varlistentry>
<varlistentry>
<term><command>min-ncache-ttl</command></term>
<listitem>
<para>
To reduce network traffic and increase performance, the server
stores negative answers. <command>min-ncache-ttl</command> is
used to set a minimum retention time for these answers in the
server in seconds. For convenience, TTL-style time unit
suffixes may be used to specify the value. The default
<command>min-ncache-ttl</command> is <literal>0</literal>
seconds. <command>min-ncache-ttl</command> cannot exceed 90
seconds and will be truncated to 90 seconds if set to a
greater value.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>min-cache-ttl</command></term>
<listitem>
<para>
Sets the minimum time for which the server will cache ordinary
(positive) answers in seconds. For convenience, TTL-style time
unit suffixes may be used to specify the value. The default
<command>min-cache-ttl</command> is <literal>0</literal>
seconds. <command>min-cache-ttl</command> cannot exceed 90
seconds and will be truncated to 90 seconds if set to a
greater value.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>max-ncache-ttl</command></term>
<listitem>