#one command to enable and disable querylog in /var/log/messages
rndc querylog