Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Correctly interpreting RNDC Stats

Avatar of kapshure
kapshureFlag for United States of America asked on
LinuxDNS
19 Comments1 Solution4835 ViewsLast Modified:
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)
success 154162821      
referral 295177
nxrrset 30021771
nxdomain 9025909
recursion 0
failure 10616
--- 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?

thanks team.
ASKER CERTIFIED SOLUTION
Avatar of arnold
Commented:
This problem has been solved!
Unlock 1 Answer and 19 Comments.
See Answers