rndc stats query

Jeremy C. Reed reed at reedmedia.net
Fri Sep 14 14:05:50 UTC 2007

On Fri, 14 Sep 2007, David Moran wrote:

> I am implementing dnsgraph on multiple bind9 instances and and  
> generating the dns query statistics but using remote rndc calls. The  
> problem that i am facing is that no matter which remote bind9  
> instance i stat, the stats are all written to the same file and  
> therefore I cannot decipher which stats file belongs to which bind9  
> instance resulting in not being able to display separate dns query  
> information.
> Has anybody come across a method of performing multiple remote rndc  
> stats calls and saving the output in separate files?

Use statistics-file option to choose file name to append to. (If I 
understand you correctly, your "multiple bind9 instance" use different 
named.conf configurations.)

(There is an alternative to "rndc stats" too in upcoming BIND 9.5.)

  Jeremy C. Reed

More information about the bind-users mailing list