bind:enable_logging
This is an old revision of the document!
Table of Contents
Bind - Enable Logging
The rndc command controls the operation of a name server. If rndc is invoked with no command line options or arguments, it prints a short summary of the supported commands and the available options and their arguments.
Turn on logging
Type the following command as root to toggle query logging:
rndc querylog
View bind sever query log
Once this is done, you can view all logged queries usimg /var/log/messages file. To view those queries, type:
tail -f /var/log/messages
Turn off logging
Type the following command as root to toggle query logging:
rndc querylog
bind/enable_logging.1476620284.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)