Turn on loggingrndc querylog
View bind sever query logtail -f /var/log/syslog
Turn off loggingrndc querylog
To permanently turn it on, modify the config file
# vi /etc/named.conf
...
options {
querylog yes;
}...
logging {
channel querylog {
file "/var/log/querylog";
severity debug 3;
};
};