How to change "querylog" default to off

Dave Spenceley ds at
Thu Jan 22 01:20:23 UTC 2004

Daniel Roesen wrote:

> * Kevin Darcy <kcd at>:
>>>maybe I'm missing something but I cant find anywhere in the
>>>documentation that shows how to set "Querylog" to no/off on startup.
>>>On startup I have to use rndc to accomplish this. (Yes it would be
>>>trivial to script but.... one would think there is a default way..
>>>RIGHT???? )
>> logging {
>>     category "queries" { "null"; };
>> };
> That's not what Kevin (and I) want. The logging category should be
> defined so I can START logging easily with "rndc querylog", but should
> be DISABLED by default upon server startup.
> Regards,
> Daniel

Explicitly documented:
"Queries. Using the category queries will enable query logging." 
[B9ARM The category Phrase]

Looks like 'rndc querylog' on startup is the safest option.


More information about the bind-users mailing list