I need to debug my DNS and the best way to do so is via logging. Therefore:
[root@cmlin02 ~]# vi /etc/named.conf ... logging { channel "default_syslog" { #syslog local6; file "/var/log/named/named.log" versions 3 size 5m; severity debug; }; category default { default_syslog; }; category general { default_syslog; }; category config { default_syslog; }; category security { default_syslog; }; category resolver { default_syslog; }; category xfer-in { default_syslog; }; category xfer-out { default_syslog; }; category notify { default_syslog; }; category client { default_syslog; }; category network { default_syslog; }; category update { default_syslog; }; #category queries { default_syslog; }; category lame-servers { default_syslog; }; }; ...
[root@cmlin02 ~]# service named restart Stopping named: . [ OK ] Starting named: [ OK ]
[root@cmlin02 ~]# tail -f /var/log/named/named.log ...