Give the ability to change the negative cache ttl.
This commit is contained in:
parent
faf5b50aef
commit
88610faf0c
|
@ -30,6 +30,8 @@ unbound_so_reuseport: 'yes'
|
|||
unbound_outgoing_range: 8192
|
||||
unbound_num_queries_per_thread: 4096
|
||||
|
||||
unbound_max_negative_ttl: 3600
|
||||
|
||||
# Stub zones
|
||||
# One of stub_host or stub_addr must be defined
|
||||
# stub_prime and stub_first are both optional, default 'yes'
|
||||
|
|
|
@ -32,6 +32,9 @@ server:
|
|||
so-rcvbuf: {{ unbound_so_rcvbuf }}
|
||||
so-sndbuf: {{ unbound_so_sndbuf }}
|
||||
|
||||
# Negative TTL
|
||||
cache-max-negative-ttl: {{ unbound_max_negative_ttl }}
|
||||
|
||||
# Faster UDP with multithreading (only on Linux).
|
||||
so-reuseport: {{ unbound_so_reuseport }}
|
||||
# with libevent
|
||||
|
@ -52,7 +55,7 @@ stub-zone:
|
|||
{% if zone.stub_addr is defined %}
|
||||
stub-addr: {{ zone.stub_addr }}
|
||||
{% endif %}
|
||||
stub-prime: {{ zone.stub_prime | default('yes') }}
|
||||
stub-prime: {{ zone.stub_prime | default('no') }}
|
||||
stub-first: {{ zone.stub_first | default('yes') }}
|
||||
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue