Need performance tuning tips

Arista Sampurna aristasampurna at
Wed Sep 7 07:44:51 UTC 2022

I'm creating a dns cache using unbound

Does anybody have some additional performance tuning tips for Unbound?

Best Regards


OS Freebsd 12.3
CPU 24
Memory 32GB
300GB storage
CPU: Intel(R) Xeon(R) CPU E5-2620 v2
Current Queries: 12516
more /usr/local/etc/unbound/unbound.conf
        verbosity: 0
        num-threads: 20
        interface: at 53
        interface: at 53
        ports: 53
        outgoing-num-tcp: 200
        incoming-num-tcp: 200
        outgoing-range: 32768
        so-rcvbuf: 8m
        so-sndbuf: 8m
        so-reuseport: no
        max-udp-size: 4096
        stream-wait-size: 6m
        msg-buffer-size: 65552
        msg-cache-slabs: 8
logfile: /var/log/unbound.log
log-servfail: no
verbosity: 0
log-time-ascii: yes
use-syslog: no
num-queries-per-thread: 4096
        rrset-cache-size: 640m
        msg-cache-size: 320m
        msg-cache-slabs: 1024
        rrset-cache-slabs: 1024
        infra-cache-slabs: 1024
        do-ip4: yes
        do-ip6: yes
        do-udp: yes
        do-tcp: yes
        do-daemonize: yes
access-control: allow
access-control: allow
access-control: allow
access-control: allow
access-control: refuse
        chroot: "/usr/local/etc/unbound"
        username: "unbound"
        directory: "/usr/local/etc/unbound"
        pidfile: "/usr/local/etc/unbound/"
        root-hints: "/usr/local/etc/unbound/named.cache"
        hide-identity: yes
        hide-version: yes
remote control:
control-enable: yes
control-use-cert: no
forward zone:
        names: "."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Unbound-users mailing list