Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

The show dns stats command in expert mode does not filter any output, and it allows the use of the pipe symbol ( | ). In expert mode, show dns stats can run with |grep and behave as follows:

    • Removes the internal statistic file.
    • Runs rndc stats to write data to the internal statistic file.
    • Displays the raw content of the internal statistic file.

Examples

Expert Mode > show dns stats | grep Server\ Statistics -A 4

++ Name Server Statistics ++

2 IPv4 requests received

2 recursive queries rejected

2 responses sent

2 other query failures

Expert Mode > show dns stats | grep "Server Statistics" -A 4

access to file ‘statistics’ not allowed

  • No labels