unbound/cache.conf.SAMPLE: fix oversight, logging.conf: reducei nterval to quaterly

This commit is contained in:
Aminda Suomalainen 2024-04-29 20:48:51 +03:00
parent 0d0be5f9bc
commit 531cdd82c5
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 7 additions and 3 deletions

View File

@ -21,9 +21,10 @@ server:
# dares setting the minimum cache to something between 40 minute and 60,
# so how about 50 minutes? However it predates RFC 8767.
# TODO FIXME
cache-min-ttl: 3000
#cache-min-ttl: 3000
# Why not just make it hour directly, while that is considered as a
# maximum reasonableish value?
# TODO FIXME
cache-min-ttl: 3600
# Update cache for popular items before they expire. ~10 % traffic
# increase according to `man unbound.conf`

View File

@ -1,5 +1,7 @@
server:
use-syslog: yes
# DNSSEC errors for valid and expired records
ede: yes
#logfile: "/tmp/unbound.log"
# level 0 means no verbosity, only errors. Level 1 gives operational
# information. Level 2 gives detailed operational information. Level 3
@ -9,7 +11,8 @@ server:
# Gives validation EDEs more comprehensive human-readable errors
# https://blog.nlnetlabs.nl/extended-dns-error-support-for-unbound/
val-log-level: 2
# Print statistics to the log hourly
statistics-interval: 3600
# Print statistics to the log hourly or quaterly
#statistics-interval: 3600
statistics-interval: 900
# vim: filetype=unbound.conf