To get statistics 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 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 ~]#