logging { channel querylog { file "/var/log/query.log/var/named/var/log/query.log" versions 5 size 50m; print-category yes; print-severity yes; print-time yes; }; category queries { querylog; }; };
然後
rndc reload
rndc querylog
即可
補充:bind的權限不足以寫入/var/log
沒有留言:
張貼留言