Show Unbound stats in terminal
Unbound is a fantastic piece of linux software for querying and caching DNS requests, to get stats about it’s utilisation you just have to use unbound-control :
- Type in Terminal :
sudo unbound-control -c /etc/unbound/unbound.conf stats_noreset | grep total.num
- Exemple output :
total.num.queries=43607
total.num.queries_ip_ratelimited=0
total.num.cachehits=11913
total.num.cachemiss=31694
total.num.prefetch=3162
total.num.expired=0
total.num.recursivereplies=31694