named.conf 파일에 아래 내용 추가 후 Bind 재시작 하면 로그 파일 생성됩니다.

[[email protected] ~]# cd /etc/named
[[email protected] ~]# mkdir log ; chmod 777 log
[[email protected] ~]# vi named.conf

logging {
channel systemlog {
file “log/named.log”;
severity debug;
print-time yes;
};
channel audit_log {
file “log/security.log”;
severity debug;
print-time yes;
};
channel xfer_log {
file “log/xfer.log”;
severity debug;
print-time yes;
};
category default { systemlog; };
category security { audit_log; systemlog; };
category config { systemlog; };
category xfer-in { xfer_log; };
category xfer-out { xfer_log; };
category notify { audit_log; };
category update { audit_log; };
category queries { audit_log; };
category lame-servers { audit_log; };
};