mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
unbound: break statistics interval from logging.conf to min-ttl*
This commit is contained in:
parent
819d6a782e
commit
9671adf293
@ -11,8 +11,5 @@ server:
|
|||||||
# Gives validation EDEs more comprehensive human-readable errors
|
# Gives validation EDEs more comprehensive human-readable errors
|
||||||
# https://blog.nlnetlabs.nl/extended-dns-error-support-for-unbound/
|
# https://blog.nlnetlabs.nl/extended-dns-error-support-for-unbound/
|
||||||
val-log-level: 2
|
val-log-level: 2
|
||||||
# Print statistics to the log hourly or quaterly
|
|
||||||
#statistics-interval: 3600
|
|
||||||
statistics-interval: 900
|
|
||||||
|
|
||||||
# vim: filetype=unbound.conf
|
# vim: filetype=unbound.conf
|
||||||
|
@ -10,5 +10,7 @@ server:
|
|||||||
# Client-Hello that no one has implemented for system resolver (in April
|
# Client-Hello that no one has implemented for system resolver (in April
|
||||||
# 2024) that I know of.
|
# 2024) that I know of.
|
||||||
cache-min-ttl: 3600
|
cache-min-ttl: 3600
|
||||||
|
# Also print statistics then
|
||||||
|
statistics-interval: 900
|
||||||
|
|
||||||
# vim: filetype=unbound.conf
|
# vim: filetype=unbound.conf
|
||||||
|
@ -2,12 +2,11 @@ server:
|
|||||||
# Increases TTL of all queries to 900 seconds (5 minutes) if upstream has
|
# Increases TTL of all queries to 900 seconds (5 minutes) if upstream has
|
||||||
# a lower one. I have been using this since August 2019 without issues.
|
# a lower one. I have been using this since August 2019 without issues.
|
||||||
#cache-min-ttl: 900
|
#cache-min-ttl: 900
|
||||||
|
#statistics-interval: 900
|
||||||
# https://blog.apnic.net/2019/11/12/stop-using-ridiculously-low-dns-ttls/
|
# https://blog.apnic.net/2019/11/12/stop-using-ridiculously-low-dns-ttls/
|
||||||
# dares setting the minimum cache to something between 40 minute and 60,
|
# dares setting the minimum cache to something between 40 minute and 60,
|
||||||
# so how about 50 minutes? However it predates RFC 8767.
|
# so how about 50 minutes? However it predates RFC 8767.
|
||||||
#cache-min-ttl: 3000
|
#cache-min-ttl: 3000
|
||||||
# Why not just make it hour directly, while that is considered as a
|
#statistics-interval: 3000
|
||||||
# maximum reasonableish value?
|
|
||||||
#cache-min-ttl: 3600
|
|
||||||
|
|
||||||
# vim: filetype=unbound.conf
|
# vim: filetype=unbound.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user