cancel
Showing results for 
Search instead for 
Did you mean: 

Unbound cachemiss

Community Veteran
Posts: 2,286
Thanks: 109
Fixes: 4
Registered: ‎18-02-2013

Unbound cachemiss

Anbody got any thoughts on cachemiss, or does anybody use unbound at all,  i'm getting a large miss rate on the cache.
sudo unbound-control stats_noreset
thread0.num.queries=2124
thread0.num.cachehits=842
thread0.num.cachemiss=1282
thread0.num.prefetch=52
thread0.num.recursivereplies=1282
thread0.requestlist.avg=2.20315
thread0.requestlist.max=15
thread0.requestlist.overwritten=0
thread0.requestlist.exceeded=0
thread0.requestlist.current.all=0
thread0.requestlist.current.user=0
thread0.recursion.time.avg=0.065179
thread0.recursion.time.median=0.0348001
total.num.queries=2124
total.num.cachehits=842
total.num.cachemiss=1282
total.num.prefetch=52
total.num.recursivereplies=1282
total.requestlist.avg=2.20315
total.requestlist.max=15
total.requestlist.overwritten=0
total.requestlist.exceeded=0
total.requestlist.current.all=0
total.requestlist.current.user=0
total.recursion.time.avg=0.065179
total.recursion.time.median=0.0348001
time.now=1375785915.452042
time.up=304078.842774
time.elapsed=8218.070397
2 REPLIES
Community Veteran
Posts: 5,211
Thanks: 493
Fixes: 22
Registered: ‎10-06-2010

Re: Unbound cachemiss

It's not surprising that there are a lot of cache misses considering a web browser or Windows operating system has its own cache, and only looks up hosts it doesn't already know the IP address of. Plus entries would only stay in the cache for the time that they are valid for, which might be only 10 minutes.
Community Veteran
Posts: 2,286
Thanks: 109
Fixes: 4
Registered: ‎18-02-2013

Re: Unbound cachemiss

That makes perfect sense ejs, i also use the router as a secoundary dns, so it does add up to a fair amount of misses when thinking about it that way, I just wasn't expecting so many misses i guess.
It stops the router cache/forwarder falling over which is the point of using it in the first place.
hits to the router for dns this month 1386481
hits for the unbound dns since i installed it about 2 weeks ago 192247