mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 19:29:22 +01:00
unbound/cache.conf.SAMPLE: fix oversight, logging.conf: reducei nterval to quaterly
This commit is contained in:
parent
0d0be5f9bc
commit
531cdd82c5
@ -21,9 +21,10 @@ server:
|
|||||||
# 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.
|
||||||
# TODO FIXME
|
# TODO FIXME
|
||||||
cache-min-ttl: 3000
|
#cache-min-ttl: 3000
|
||||||
# Why not just make it hour directly, while that is considered as a
|
# Why not just make it hour directly, while that is considered as a
|
||||||
# maximum reasonableish value?
|
# maximum reasonableish value?
|
||||||
|
# TODO FIXME
|
||||||
cache-min-ttl: 3600
|
cache-min-ttl: 3600
|
||||||
# Update cache for popular items before they expire. ~10 % traffic
|
# Update cache for popular items before they expire. ~10 % traffic
|
||||||
# increase according to `man unbound.conf`
|
# increase according to `man unbound.conf`
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
server:
|
server:
|
||||||
use-syslog: yes
|
use-syslog: yes
|
||||||
|
# DNSSEC errors for valid and expired records
|
||||||
|
ede: yes
|
||||||
#logfile: "/tmp/unbound.log"
|
#logfile: "/tmp/unbound.log"
|
||||||
# level 0 means no verbosity, only errors. Level 1 gives operational
|
# level 0 means no verbosity, only errors. Level 1 gives operational
|
||||||
# information. Level 2 gives detailed operational information. Level 3
|
# information. Level 2 gives detailed operational information. Level 3
|
||||||
@ -9,7 +11,8 @@ 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
|
# Print statistics to the log hourly or quaterly
|
||||||
statistics-interval: 3600
|
#statistics-interval: 3600
|
||||||
|
statistics-interval: 900
|
||||||
|
|
||||||
# vim: filetype=unbound.conf
|
# vim: filetype=unbound.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user