Turning log on bind for troubleshooting

Eduardo Bonsi beartcom at pacbell.net
Tue Nov 15 19:49:32 UTC 2011


Sebastian;

Thanks! I was looking at this log statement last night. I found two 
statements: Not sure what is the best one to debug.
They are also not clear where to insert these statements:
On options or some place else in the end of named.conf.

http://www.zytrax.com/books/dns/ch7/logging.html

logging{
   channel simple_log {
     file "/var/log/named/bind.log" versions 3 size 5m;
     severity warning;
     print-time yes;
     print-severity yes;
     print-category yes;
   };
   category default{
     simple_log;
   };
};

********************************************************
http://www.netadmintools.com/art233.html

logging {
category "default" { "debug"; };
category "general" { "debug"; };
category "database" { "debug"; };
category "security" { "debug"; };
category "config" { "debug"; };
category "resolver" { "debug"; };
category "xfer-in" { "debug"; };
category "xfer-out" { "debug"; };
category "notify" { "debug"; };
category "client" { "debug"; };
category "unmatched" { "debug"; };
category "network" { "debug"; };
category "update" { "debug"; };
category "queries" { "debug"; };
category "dispatch" { "debug"; };
category "dnssec" { "debug"; };
category "lame-servers" { "debug"; };
channel "debug" {
file "/tmp/nameddbg" versions 2 size 50m;
print-time yes;
print-category yes;
};
};



On 11/15/11 12:42 AM, Sebastian Tymków wrote:
> Hi,
>
> Look at this : http://www.zytrax.com/books/dns/ch7/logging.html
> For troubleshooting I suggest using debug mode.
>
> Best regards,
> Sebastian
>
> On Tue, Nov 15, 2011 at 9:13 AM, Eduardo Bonsi<beartcom at pacbell.net>  wrote:
>> What is the best statement to insert on name.conf to generate logs for
>> troubleshooting bind 9.x?
>>
>> Thanks!
>>
>>
>>
>> --
>> BEARTCOMMUNICATIONS
>> Eduardo Bonsi
>> System - Network Admin
>> beartcom at pacbell.net
>> webmaster at beart.com
>> _______________________________________________
>> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
>> unsubscribe from this list
>>
>> bind-users mailing list
>> bind-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/bind-users
>>
>


-- 
BEARTCOMMUNICATIONS
Eduardo Bonsi
System - Network Admin
beartcom at pacbell.net
webmaster at beart.com



More information about the bind-users mailing list