Forum Discussion
Tricia_94121
Nimbostratus
Jul 12, 2011BIND Statistics?
4 Replies
- JRahm
Admin
They might not support the BIND stats from a PD or troubleshooting standpoint, but it still works just fine. Just configure named.conf as you would on a normal BIND server. I did a quick test adding:
zone-statistics yes;
to my test.com zone and then kicked off an rndc stats at the command line, which generated named.stats as expected in /var/named/config/namedb:[root@golgotha:Active] namedb cat named.stats +++ Statistics Dump +++ (1312814126) ++ Incoming Requests ++ 272 QUERY 4 UPDATE ++ Incoming Queries ++ 132 A 4 SOA 132 AAAA 4 AXFR ++ Outgoing Queries ++ [View: external] [View: _bind] ++ Name Server Statistics ++ 276 IPv4 requests received 12 TCP requests received 132 recursive queries rejected 272 responses sent 70 queries resulted in successful answer 136 queries resulted in authoritative answer 66 queries resulted in nxrrset 132 other query failures 4 requested transfers completed 4 updates completed ++ Zone Maintenance Statistics ++ ++ Resolver Statistics ++ [Common] [View: external] [View: _bind] ++ Cache DB RRsets ++ [View: external (Cache: external)] [View: _bind (Cache: _bind)] ++ Socket I/O Statistics ++ 2 UDP/IPv4 sockets opened 1 UDP/IPv6 sockets opened 3 TCP/IPv4 sockets opened 1 TCP/IPv6 sockets opened 31 TCP/IPv4 sockets closed 32 TCP/IPv4 connections accepted ++ Per Zone Query Statistics ++ [test.com (view: external)] 66 queries resulted in successful answer 130 queries resulted in authoritative answer 64 queries resulted in nxrrset 4 requested transfers completed 1 updates completed --- Statistics Dump --- (1312814126) - Tricia_94121
Nimbostratus
I am not used to configuring BIND directly. I have used it in the past through a GUI front end. Can you give me some pointers on how to configure BIND for this logging? - JRahm
Admin
I should clarify that you only need to enable at the zone-specific level if you've disabled globally or are not configured globally. Configuring zone specifically just gives you flexibility, but if you want it all, just configure it globally in named.conf. - Tricia_94121
Nimbostratus
Thanks I got that to work. Now is there a way to break it down to list how many queries per record?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
