I have seen a couple of post on SF like;
I want to graph statistics on 2 bind resolvers and 2 bind authoritative servers (into Cacti). It seems that adding the following to named.conf (or named.conf.options) enables the dumping of statistics when you run the file rndc stats
:
statistics-file "/var/cache/bind/named.stats";
zone-statistics yes;
The stats in the named.stats file given are pretty poor;
cat /var/cache/bind/named.stats
+++ Statistics Dump +++ (1359639340)
success 25
referral 0
nxrrset 0
nxdomain 3
recursion 43
failure 0
duplicate 0
dropped 0
--- Statistics Dump --- (1359639340)
I believe there is a poor amount of statistics given because of the version of bind running, is that true?
named -version
BIND 9.4.2-P2.1
Look at all the stats this chap gets for example. Do I need to upgrade bind to get better stats, or is there some other way?