High resolution time

Andre Martins andre.lfs.martins at gmail.com
Thu Mar 11 13:33:37 UTC 2021

Hi all

I have a server running unbound 1.13.1 on an i7 with one CPU and 8 cores,
16gb of RAM. The usage is pretty low. It's my home DNS, so no more than 50
devices on the network. My internet connection is a fiber 300/150 mbits.

I'm seeing high times in resolution, now it's around 1600ms. It goes down
and then back up, but never below 400ms.

I have tried to optimise my configuration, but no solution so far.

This is an excerpt of my config file with the optimisation
cache-max-ttl: 86400
cache-min-ttl: 7200
harden-dnssec-stripped: yes
serve-expired: yes
outgoing-num-tcp: 50
incoming-num-tcp: 50
num-queries-per-thread: 8192
outgoing-range: 16384
unwanted-reply-threshold: 0
jostle-timeout: 200
msg-cache-size: 50m
rrset-cache-size: 100m
num-threads: 8
msg-cache-slabs: 16
rrset-cache-slabs: 16
infra-cache-slabs: 16
key-cache-slabs: 16
prefetch: yes
prefetch-key: yes
serve-expired-ttl: 86400
udp-connect: yes
rrset-roundrobin: yes
infra-cache-numhosts: 50000
infra-host-ttl: 3600
so-reuseport: yes

Attached my conf file.

Your help is much appreciated

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20210311/1dae7f35/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unbound.conf
Type: application/octet-stream
Size: 3311 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20210311/1dae7f35/attachment.obj>

More information about the Unbound-users mailing list