Maintained by: NLnet Labs

About unbound

Marcos Renato da Silva Junior
Thu Apr 19 20:43:46 CEST 2018


Hi,

I am a newbie user in unbound so I decided to do a testing environment 
with a Raspberry Pi 3 B.
Read the documentation available on the website and also the entire 
mailing list.
But I wonder if I'm going the right way.

I am sending my configuration file and "unbound-control stats_noreset" 
and "netstat -su".


unbound.conf

server:
     verbosity: 1
     extended-statistics: yes
     num-threads: 4
     interface: 127.0.0.1
     interface: 192.168.0.1
     port: 53
     outgoing-range: 200
     so-rcvbuf: 4m
     so-sndbuf: 4m
     so-reuseport: yes
     msg-cache-size: 32m
     msg-cache-slabs: 8
     num-queries-per-thread: 100
     rrset-cache-size: 64m
     rrset-cache-slabs: 8
     cache-min-ttl: 3600
     cache-max-ttl: 86400
     infra-cache-slabs: 8
     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
     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=97979
thread0.num.cachehits=78301
thread0.num.cachemiss=19678
thread0.num.prefetch=2863
thread0.num.zero_ttl=0
thread0.num.recursivereplies=19678
thread0.requestlist.avg=1.12382
thread0.requestlist.max=27
thread0.requestlist.overwritten=0
thread0.requestlist.exceeded=0
thread0.requestlist.current.all=0
thread0.requestlist.current.user=0
thread0.recursion.time.avg=0.085215
thread0.recursion.time.median=0.178509
thread0.tcpusage=0
thread1.num.queries=71632
thread1.num.cachehits=55680
thread1.num.cachemiss=15952
thread1.num.prefetch=2122
thread1.num.zero_ttl=0
thread1.num.recursivereplies=15952
thread1.requestlist.avg=0.754897
thread1.requestlist.max=18
thread1.requestlist.overwritten=0
thread1.requestlist.exceeded=0
thread1.requestlist.current.all=0
thread1.requestlist.current.user=0
thread1.recursion.time.avg=0.223222
thread1.recursion.time.median=0.17506
thread1.tcpusage=0
thread2.num.queries=75112
thread2.num.cachehits=58141
thread2.num.cachemiss=16971
thread2.num.prefetch=2104
thread2.num.zero_ttl=0
thread2.num.recursivereplies=16971
thread2.requestlist.avg=0.880367
thread2.requestlist.max=20
thread2.requestlist.overwritten=0
thread2.requestlist.exceeded=0
thread2.requestlist.current.all=0
thread2.requestlist.current.user=0
thread2.recursion.time.avg=1.118908
thread2.recursion.time.median=0.187607
thread2.tcpusage=0
thread3.num.queries=67267
thread3.num.cachehits=51491
thread3.num.cachemiss=15776
thread3.num.prefetch=1888
thread3.num.zero_ttl=0
thread3.num.recursivereplies=15776
thread3.requestlist.avg=0.714731
thread3.requestlist.max=15
thread3.requestlist.overwritten=0
thread3.requestlist.exceeded=0
thread3.requestlist.current.all=0
thread3.requestlist.current.user=0
thread3.recursion.time.avg=0.208193
thread3.recursion.time.median=0.176809
thread3.tcpusage=0
total.num.queries=311990
total.num.cachehits=243613
total.num.cachemiss=68377
total.num.prefetch=8977
total.num.zero_ttl=0
total.num.recursivereplies=68377
total.requestlist.avg=0.884169
total.requestlist.max=27
total.requestlist.overwritten=0
total.requestlist.exceeded=0
total.requestlist.current.all=0
total.requestlist.current.user=0
total.recursion.time.avg=0.025467
total.recursion.time.median=0.179496
total.tcpusage=0
time.now=1524162080.560607
time.up=187632.080603
time.elapsed=101462.841154
mem.cache.rrset=9634110
mem.cache.message=6377505
mem.mod.iterator=16480
mem.mod.validator=1087687
histogram.000000.000000.to.000000.000001=14336
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=1
histogram.000000.000032.to.000000.000064=8
histogram.000000.000064.to.000000.000128=1
histogram.000000.000128.to.000000.000256=6
histogram.000000.000256.to.000000.000512=16
histogram.000000.000512.to.000000.001024=246
histogram.000000.001024.to.000000.002048=1005
histogram.000000.002048.to.000000.004096=388
histogram.000000.004096.to.000000.008192=292
histogram.000000.008192.to.000000.016384=248
histogram.000000.016384.to.000000.032768=3531
histogram.000000.032768.to.000000.065536=5139
histogram.000000.065536.to.000000.131072=4426
histogram.000000.131072.to.000000.262144=12253
histogram.000000.262144.to.000000.524288=14836
histogram.000000.524288.to.000001.000000=8022
histogram.000001.000000.to.000002.000000=2652
histogram.000002.000000.to.000004.000000=501
histogram.000004.000000.to.000008.000000=150
histogram.000008.000000.to.000016.000000=45
histogram.000016.000000.to.000032.000000=39
histogram.000032.000000.to.000064.000000=13
histogram.000064.000000.to.000128.000000=164
histogram.000128.000000.to.000256.000000=47
histogram.000256.000000.to.000512.000000=3
histogram.000512.000000.to.001024.000000=9
histogram.001024.000000.to.002048.000000=0
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=184946
num.query.type.NS=111
num.query.type.SOA=830
num.query.type.PTR=142
num.query.type.TXT=182
num.query.type.AAAA=124459
num.query.type.SRV=1312
num.query.type.ANY=8
num.query.class.IN=311990
num.query.opcode.QUERY=311990
num.query.tcp=78
num.query.tcpout=65
num.query.ipv6=0
num.query.flags.QR=0
num.query.flags.AA=0
num.query.flags.TC=0
num.query.flags.RD=311990
num.query.flags.RA=0
num.query.flags.Z=0
num.query.flags.AD=14
num.query.flags.CD=0
num.query.edns.present=14
num.query.edns.DO=0
num.answer.rcode.NOERROR=289457
num.answer.rcode.FORMERR=0
num.answer.rcode.SERVFAIL=632
num.answer.rcode.NXDOMAIN=21901
num.answer.rcode.NOTIMPL=0
num.answer.rcode.REFUSED=0
num.answer.rcode.nodata=35122
num.answer.secure=35043
num.answer.bogus=4
num.rrset.bogus=0
unwanted.queries=2258
unwanted.replies=5
msg.cache.count=32132
rrset.cache.count=41561
infra.cache.count=9934
key.cache.count=3553


netstat -su

Udp:
     1506059 packets received
     4701 packets to unknown port received
     3 packet receive errors
     850020 packets sent
     0 receive buffer errors
     0 send buffer errors
     InCsumErrors: 3
     IgnoredMulti: 2050989


-- 
Marcos Renato da Silva Junior
Universidade Estadual Paulista - Unesp
Faculdade de Engenharia de Ilha Solteira - FEIS
Departamento de Engenharia Elétrica
15385-000 - Ilha Solteira/SP
(18) 3743-1164

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