In Linux, it also provides a popular BIND server, which is the most commonly used server software for building DNS servers. There are many articles about BIND installation. Now let's talk about the maintenance topic.
How can we understand the running status of the DNS server? Is it busy and load-intensive? All this is important for system administrators.
# Touch/var/named/chroot/var/named. log
# Chown named. named/var/named/chroot/var/named. log
# Chmod 755/var/named/chroot/var/named. log
# Service named restart
Make sure that selinux is disabled (View/etc/sysconfig/selinux configuration information)
Check whether the collected/var/named/chroot/var/named. log has any fault information.
# LOG configuration information
logging { channel default_syslog { syslog local2; severity error; }; channel audit_log { file "named.log" versions 3 size 20m; severity info; print-time yes; print-category yes; }; category default { audit_log; }; category general { audit_log; }; category security { audit_log; default_syslog; }; category config { default_syslog; }; category resolver { audit_log; }; category xfer-in { audit_log; }; category xfer-out { audit_log; }; category notify { audit_log; }; category client { audit_log; }; category network { audit_log; }; category update { audit_log; }; category queries { audit_log; }; category lame-servers { audit_log; };};
|