====== Bind Named Custom Query Log ======
Tutorial berikut adalah membuat file query log bind/named dengan nama lain agar terpisah dari /var/log/messsages dan anda bisa buat dengan seperti ini
#edit named
nano /etc/named.conf
buat kode seperti ini
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
channel default_log {
file "/var/log/named_default" versions 3 size 5m;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
channel queries_log {
file "/var/log/named_queries" versions 3 size 5m;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
category default{
default_log;
};
category queries {
queries_log;
};
};
Selamat mencoba.
Sumber :
- https://kb.isc.org/docs/aa-01526
- https://forum.directadmin.com/threads/named-error.44609/