You should add in your /etc/named.conf file, under options: options { ... zone-statistics yes; statistics-file "/var/log/stats.dump" ; ... } Then do: # /etc/init.d/bind9 restart Now check that user which is executing parse_bind9stat.pl has permission on /etc/bind/rndc.key by issuing $ /usr/sbin/rndc stats as that user. This should create file /var/log/stats.dump.