mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
unbound: Added cache-max-negative-ttl setting (#6554)
See: https://forum.opnsense.org/index.php?topic=23747.0 Co-authored-by: Henry <henry@mixict.nl>
This commit is contained in:
parent
0c550fc0d9
commit
377446e920
@ -325,6 +325,17 @@
|
||||
not trust (very large) TTL values.
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>unbound.advanced.cachemaxnegativettl</id>
|
||||
<label>Maximum Negative TTL for RRsets and messages</label>
|
||||
<type>text</type>
|
||||
<help>
|
||||
Configure a maximum Negative Time to live in seconds for RRsets and messages in the cache.
|
||||
When the internal TTL expires the negative response cache item is expired.
|
||||
This can be configured to force the resolver to query for data more often in case you wont
|
||||
get a valid answer.
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>unbound.advanced.cacheminttl</id>
|
||||
<label>Minimum TTL for RRsets and messages</label>
|
||||
|
||||
@ -186,6 +186,8 @@
|
||||
</jostletimeout>
|
||||
<cachemaxttl type="NumericField">
|
||||
</cachemaxttl>
|
||||
<cachemaxnegativettl type="NumericField">
|
||||
</cachemaxnegativettl>
|
||||
<cacheminttl type="NumericField">
|
||||
</cacheminttl>
|
||||
<infrahostttl type="NumericField">
|
||||
|
||||
@ -31,6 +31,7 @@ log-local-actions: {{ set_boolean(OPNsense.unboundplus.advanced.loglocalactions)
|
||||
{{ set_numeric_value('outgoing-range', OPNsense.unboundplus.advanced.outgoingrange) }}
|
||||
{{ set_numeric_value('jostle-timeout', OPNsense.unboundplus.advanced.jostletimeout) }}
|
||||
{{ set_numeric_value('cache-max-ttl', OPNsense.unboundplus.advanced.cachemaxttl) }}
|
||||
{{ set_numeric_value('cache-max-negative-ttl', OPNsense.unboundplus.advanced.cachemaxnegativettl) }}
|
||||
{{ set_numeric_value('cache-min-ttl', OPNsense.unboundplus.advanced.cacheminttl) }}
|
||||
{{ set_numeric_value('infra-host-ttl', OPNsense.unboundplus.advanced.infrahostttl) }}
|
||||
infra-keep-probing: {{ set_boolean(OPNsense.unboundplus.advanced.infrakeepprobing) }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user