Logwatch config for unbound

Alex al-unbound at none.at
Tue Feb 11 23:30:45 UTC 2025


Dear Listmembers.

Sorry for disturbing you but I haven't found any Logwatch configs for unbound 
with a internet search.

https://www.startpage.com/do/metasearch.pl?query=logwatch+unbound

Nor in the logwatch repo.
https://sourceforge.net/p/logwatch/git/ci/master/tree/conf/services/
https://sourceforge.net/p/logwatch/git/ci/master/tree/conf/logfiles/

Have anybody done some logwatch config for unbound?

Here some unbound infos.
I use Unbound mainly as stub resolver.
https://unbound.docs.nlnetlabs.nl/en/latest/use-cases/local-stub.html

Unbound version.
```shell
# unbound-control status
version: 1.19.2
verbosity: 1
threads: 4
modules: 3 [ subnetcache validator iterator ]
uptime: 91050 seconds
options: reuseport control(ssl)
unbound (pid 896) is running...
```

Unbound config.
```shell
# cat /etc/unbound/unbound.conf.d/server.conf
server:
#        statistics-interval: 30
#        extended-statistics: yes
         num-threads: 4

         interface: 127.0.0.55

         prefer-ip4: yes

         do-ip6: yes
         do-ip4: yes
         msg-cache-size: 100m
         msg-cache-slabs: 8

         rrset-cache-size: 256m
         rrset-cache-slabs: 8

         cache-min-ttl: 11000
         cache-max-ttl: 28800 # > 8 h

         infra-cache-slabs: 8

         log-time-ascii: yes
         log-queries: yes
         log-replies: yes
         log-tag-queryreply: yes
#        log-destaddr: yes
         log-servfail: yes

	use-caps-for-id: yes
	prefetch: no

         key-cache-size: 256m
         key-cache-slabs: 8

#        tls-system-cert: yes
         tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
         so-sndbuf: 4m
         so-rcvbuf: 4m
         so-reuseport: yes

         # https://nlnetlabs.nl/documentation/unbound/howto-optimise/
         # with libevent
         outgoing-range: 8192
         num-queries-per-thread: 4096
```

Thanks for any input.

Best regards
Alex


More information about the Unbound-users mailing list