unbound: break statistics interval from logging.conf to min-ttl*

This commit is contained in:
Aminda Suomalainen 2024-04-30 17:11:32 +03:00
parent 819d6a782e
commit 9671adf293
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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