From 531cdd82c549a45797671555e89b69a61d10f8c0 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 29 Apr 2024 20:48:51 +0300 Subject: [PATCH] unbound/cache.conf.SAMPLE: fix oversight, logging.conf: reducei nterval to quaterly --- etc/unbound/unbound.conf.d/cache.conf.SAMPLE | 3 ++- etc/unbound/unbound.conf.d/logging.conf | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/etc/unbound/unbound.conf.d/cache.conf.SAMPLE b/etc/unbound/unbound.conf.d/cache.conf.SAMPLE index 6a232321..d4ed51c1 100644 --- a/etc/unbound/unbound.conf.d/cache.conf.SAMPLE +++ b/etc/unbound/unbound.conf.d/cache.conf.SAMPLE @@ -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` diff --git a/etc/unbound/unbound.conf.d/logging.conf b/etc/unbound/unbound.conf.d/logging.conf index 48cbd9f1..a2ff358d 100644 --- a/etc/unbound/unbound.conf.d/logging.conf +++ b/etc/unbound/unbound.conf.d/logging.conf @@ -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