Maintained by: NLnet Labs

Unbound configuration and statistics output for inspection

Marcos Renato da Silva Junior
Fri Apr 20 22:44:21 CEST 2018


Hi,

I'm sending Unbound configuration and statistics output for inspection.

I'm using a Raspberry Pi 3 Model B (quad-core 64-bit ARM Cortex A53 
clocked at 1.2 GHz / 1GB RAM).



*unbound.conf
*

server:
     verbosity: 1
     extended-statistics: yes
     num-threads: 4
     interface: 127.0.0.1
     interface: 192.168.0.10
     port: 53
     outgoing-range: 32768
     so-rcvbuf: 32m
     so-sndbuf: 4m
     so-reuseport: yes
     msg-cache-size: 256m
     msg-cache-slabs: 8
     num-queries-per-thread: 16384
     rrset-cache-size: 256m
     rrset-cache-slabs: 8
     cache-min-ttl: 3600
     cache-max-ttl: 86400
     infra-cache-slabs: 8
     infra-cache-numhosts: 100000
     do-ip4: yes
     do-ip6: no
     do-udp: yes
     do-tcp: yes
     access-control: 127.0.0.0/8 allow_snoop
     access-control: 192.168.0.0/24 allow_snoop
     root-hints: "/etc/unbound/root.hints"
     hide-identity: yes
     hide-version: yes
     harden-glue: yes
     harden-dnssec-stripped: yes
     qname-minimisation: yes
     use-caps-for-id: yes
     private-address: 10.0.0.0/8
     private-address: 172.16.0.0/12
     private-address: 192.168.0.0/16
     unwanted-reply-threshold: 10000
     prefetch: yes
     auto-trust-anchor-file: "/var/lib/unbound/root.key"
     val-clean-additional: yes
     key-cache-slabs: 8

python:
remote-control:


*unbound-control stats_noreset*

thread0.num.queries=3494
thread0.num.cachehits=2532
thread0.num.cachemiss=962
thread0.num.prefetch=0
thread0.num.zero_ttl=0
thread0.num.recursivereplies=957
thread0.requestlist.avg=0.701663
thread0.requestlist.max=6
thread0.requestlist.overwritten=0
thread0.requestlist.exceeded=0
thread0.requestlist.current.all=1
thread0.requestlist.current.user=1
thread0.recursion.time.avg=0.303316
thread0.recursion.time.median=0.224744
thread0.tcpusage=0
thread1.num.queries=73589
thread1.num.cachehits=57547
thread1.num.cachemiss=16042
thread1.num.prefetch=19
thread1.num.zero_ttl=0
thread1.num.recursivereplies=16016
thread1.requestlist.avg=770.348
thread1.requestlist.max=1140
thread1.requestlist.overwritten=0
thread1.requestlist.exceeded=0
thread1.requestlist.current.all=27
thread1.requestlist.current.user=24
thread1.recursion.time.avg=4.227354
thread1.recursion.time.median=0.571973
thread1.tcpusage=0
thread2.num.queries=2979
thread2.num.cachehits=2027
thread2.num.cachemiss=952
thread2.num.prefetch=0
thread2.num.zero_ttl=0
thread2.num.recursivereplies=952
thread2.requestlist.avg=0.781513
thread2.requestlist.max=8
thread2.requestlist.overwritten=0
thread2.requestlist.exceeded=0
thread2.requestlist.current.all=0
thread2.requestlist.current.user=0
thread2.recursion.time.avg=0.341321
thread2.recursion.time.median=0.226255
thread2.tcpusage=0
thread3.num.queries=78730
thread3.num.cachehits=44207
thread3.num.cachemiss=34523
thread3.num.prefetch=7
thread3.num.zero_ttl=0
thread3.num.recursivereplies=34517
thread3.requestlist.avg=959.337
thread3.requestlist.max=1332
thread3.requestlist.overwritten=0
thread3.requestlist.exceeded=0
thread3.requestlist.current.all=5
thread3.requestlist.current.user=5
thread3.recursion.time.avg=2.023900
thread3.recursion.time.median=0.679607
thread3.tcpusage=0
total.num.queries=158792
total.num.cachehits=106313
total.num.cachemiss=52479
total.num.prefetch=26
total.num.zero_ttl=0
total.num.recursivereplies=52442
total.requestlist.avg=866.582
total.requestlist.max=1332
total.requestlist.overwritten=0
total.requestlist.exceeded=0
total.requestlist.current.all=33
total.requestlist.current.user=30
total.recursion.time.avg=3.044398
total.recursion.time.median=0.425645
total.tcpusage=0
time.now=1524255882.678851
time.up=2216.518175
time.elapsed=2216.518175
mem.cache.rrset=41517759
mem.cache.message=17565809
mem.mod.iterator=16480
mem.mod.validator=4737904
histogram.000000.000000.to.000000.000001=1118
histogram.000000.000001.to.000000.000002=0
histogram.000000.000002.to.000000.000004=0
histogram.000000.000004.to.000000.000008=0
histogram.000000.000008.to.000000.000016=0
histogram.000000.000016.to.000000.000032=0
histogram.000000.000032.to.000000.000064=0
histogram.000000.000064.to.000000.000128=0
histogram.000000.000128.to.000000.000256=0
histogram.000000.000256.to.000000.000512=0
histogram.000000.000512.to.000000.001024=31
histogram.000000.001024.to.000000.002048=71
histogram.000000.002048.to.000000.004096=16
histogram.000000.004096.to.000000.008192=17
histogram.000000.008192.to.000000.016384=27
histogram.000000.016384.to.000000.032768=757
histogram.000000.032768.to.000000.065536=1350
histogram.000000.065536.to.000000.131072=1294
histogram.000000.131072.to.000000.262144=6919
histogram.000000.262144.to.000000.524288=10743
histogram.000000.524288.to.000001.000000=17401
histogram.000001.000000.to.000002.000000=8270
histogram.000002.000000.to.000004.000000=2245
histogram.000004.000000.to.000008.000000=1018
histogram.000008.000000.to.000016.000000=331
histogram.000016.000000.to.000032.000000=249
histogram.000032.000000.to.000064.000000=96
histogram.000064.000000.to.000128.000000=187
histogram.000128.000000.to.000256.000000=127
histogram.000256.000000.to.000512.000000=129
histogram.000512.000000.to.001024.000000=45
histogram.001024.000000.to.002048.000000=1
histogram.002048.000000.to.004096.000000=0
histogram.004096.000000.to.008192.000000=0
histogram.008192.000000.to.016384.000000=0
histogram.016384.000000.to.032768.000000=0
histogram.032768.000000.to.065536.000000=0
histogram.065536.000000.to.131072.000000=0
histogram.131072.000000.to.262144.000000=0
histogram.262144.000000.to.524288.000000=0
num.query.type.A=107017
num.query.type.SOA=34
num.query.type.PTR=22108
num.query.type.MX=12082
num.query.type.AAAA=17429
num.query.type.SRV=122
num.query.class.IN=158792
num.query.opcode.QUERY=158792
num.query.tcp=1
num.query.tcpout=601
num.query.ipv6=0
num.query.flags.QR=0
num.query.flags.AA=0
num.query.flags.TC=0
num.query.flags.RD=158792
num.query.flags.RA=0
num.query.flags.Z=0
num.query.flags.AD=0
num.query.flags.CD=0
num.query.edns.present=0
num.query.edns.DO=0
num.answer.rcode.NOERROR=122187
num.answer.rcode.FORMERR=0
num.answer.rcode.SERVFAIL=2097
num.answer.rcode.NXDOMAIN=34471
num.answer.rcode.NOTIMPL=0
num.answer.rcode.REFUSED=0
num.answer.rcode.nodata=9250
num.answer.secure=6963
num.answer.bogus=9
num.rrset.bogus=2
unwanted.queries=4
unwanted.replies=552
msg.cache.count=93978
rrset.cache.count=169816
infra.cache.count=55319
key.cache.count=25473


*netstat -su*

Udp:
     3808695 packets received
     101812 packets to unknown port received
     561522 packet receive errors
     2764219 packets sent
     561519 receive buffer errors
     0 send buffer errors
     InCsumErrors: 3
     IgnoredMulti: 2322438


*resperf -s **192.168.0.10 -d queryfile-example-current *

DNS Resolution Performance Testing Tool
Nominum Version 2.1.0.0

[Status] Command line: resperf -s 192.168.0.10 -d queryfile-example-current
[Status] Sending
[Status] Reached 65536 outstanding queries
[Status] Waiting for more responses
Warning: received a response with an unexpected id: 32256
Warning: received a response with an unexpected id: 51678
Warning: received a response with an unexpected id: 51796
Warning: received a response with an unexpected id: 55065
Warning: received a response with an unexpected id: 56611
Warning: received a response with an unexpected id: 57597
[Status] Testing complete

Statistics:

   Queries sent:         145688
   Queries completed:    100099
   Queries lost:         45589
   Response codes:       NOERROR 75272 (75.20%), SERVFAIL 1213 (1.21%), 
NXDOMAIN 23614 (23.59%)
   Run time (s):         58.222167
   Maximum throughput:   14544.000000 qps
   Lost at that point:   0.26%


-- 
Marcos Renato da Silva Junior

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20180420/f7f542c8/attachment.html>