Thanks Ashley for your discovery! I also had trouble getting any version of Bind 9 to log as it used to log in previous versions (using common logging statements in named.conf). Missing any user reports in corresponding newsgroups I thought I was the only one with this problem! It seems to me that this is a bug in bind 9.xx. Between named restarts, either it logs nothing at all, or only logs lame dns entries, or only logs queries, but always without a trace of logic. And to all of above, Bind 9 truncates its log file each time after each reload. Commenting out category "default" indeed seems to convince Bind 9 to log normally at last. Greets, Philippe Wiede pw@megapublic.com Ashley wrote:
I discoverd (the hard way) in SuSE 7.1 the /etc/named.conf file by default does not log anything of category 'default', which is basically everything you are trying to log. Comment out the appropriate line and syslog will get bind8 messages as it should:
In /etc/named.conf: # # do not be verbose about these problems... # logging { # category default { null; }; ### comment out this line ### category lame-servers { null; }; category cname { null; }; };