Bind: how to get statistics information
To get statistics//http://godfatherhost.com/cloud/index.html information about query numbers that Bind has served you need to add next line to configuration file:
statistics-file “/var/stats/named.stats”;
It should be added in a ‘global’ options statement. After that you need to restart Bind and run:
rndc stats
Bind will dump statistics to this file. Note that if you// http://godfatherhost.com/dedicated/index.html run Bind chrooted it will be in a chroot filesystem.
[root@playground ~]# cat /var/named/var/stats/named.stats
+++ Statistics Dump +++ (1322570392) success 4826691 referral 14062 nxrrset 1213695 nxdomain 68008 recursion 544168 failure 25343 [root@playground ~]#


















