Tweaks + explicit no log directives added

This commit is contained in:
2025-07-17 22:48:31 +02:00
parent f8b323cbb2
commit 3dc353f058

View File

@@ -1,7 +1,7 @@
# /etc/unbound/unbound.conf : unbound conf. file for cantal # /etc/unbound/unbound.conf : unbound conf. file for cantal
# #
# Last edition : 2025-07-06 # Last edition : 2025-07-17
# Last editor : @Campanu # Last editor : Lucas MATHIEU
# #
server: server:
@@ -56,6 +56,9 @@ server:
num-threads: 2 num-threads: 2
so-reuseport: yes so-reuseport: yes
so-rcvbuf: 4m
so-sndbuf: 4m
prefetch: yes prefetch: yes
prefetch-key: yes prefetch-key: yes
@@ -69,8 +72,8 @@ server:
neg-cache-size: 4m neg-cache-size: 4m
key-cache-size: 16m key-cache-size: 16m
msg-cache-size: 128m msg-cache-size: 64m
rrset-cache-size: 256m rrset-cache-size: 128m
infra-cache-numhosts: 100000 infra-cache-numhosts: 100000
@@ -82,18 +85,22 @@ server:
ede: yes ede: yes
ede-serve-expired: yes ede-serve-expired: yes
# RFC 8767: Serving Stale Data # RFC 8767: Serving Stale Data
serve-expired: yes serve-expired: yes
serve-expired-ttl: 86400 serve-expired-ttl: 86400
serve-expired-ttl-reset: no serve-expired-ttl-reset: no
serve-expired-reply-ttl: 30 serve-expired-reply-ttl: 30
serve-expired-client-timeout: 1800 serve-expired-client-timeout: 1800
# Logging # Logging
use-syslog: no
logfile: "/var/log/unbound.log" logfile: "/var/log/unbound.log"
verbosity: 1 verbosity: 1
log-time-ascii: yes log-time-ascii: yes
log-queries: no
log-replies: no
log-servfail: no
log-local-actions: no
remote-control: remote-control:
control-enable: no control-enable: no