...
Edit the /etc/named.conf file and in the options {} section these two lines:
Code Block zone-statistics yes; statistics-file "/var/named/slaves/named.stats";
Restart the named service.
Shell service named restart
Run the command below. This will update the /var/named/slaves/named.stats file every time you run it.
Shell rndc stats
Verify the /var/named/slaves/named.stats. In this example, only the Name server statistics are displayed.
Code Block ++ Name Server Statistics ++ 56 IPv4 requests received 47 recursive queries rejected 56 responses sent 8 queries resulted in successful answer 14 queries resulted in authoritative answer 6 queries resulted in nxrrset 42 other query failures
...
Content by Label | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page properties | ||
---|---|---|
| ||
|
...
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.