I've got a CentOS 5.5 box running BIND 9.3.6, and I need to find out how many DNS queries this system has had over a period of time. I know about "RNDC stats" and I've also read that the stats that are generated upon output are for the total amount of time that the process has been running (correct?).
What I dont see here in these stats is info relative to the record types that were served up. Which isn't a big deal - but what I do need is to find say, total DNS queries for a month, as we're looking to outsource DNS.
here is the "rndc stats" output:
+++ Statistics Dump +++ (1289517741)
--- Statistics Dump --- (1289517741)
guess the "success" line is what I'm most interested in, so I need to know whether this is for a given threshold, or since the process was last started. I can see in "history" that there was a "service named restart" - a few hundred commands back.. HA! but how to tell WHEN that was?