Update the following in to the file "named.conf.local"
#vim /etc/bind/named.conf.local
------------------------------------------
logging {
channel "debug" {
file "/var/log/bind/query.log";
print-time yes;
print-category yes;
};
category "default" { "debug"; };
category "general" { "debug"; };
category "database" { "debug"; };
category "security" { "debug"; };
category "config" { "debug"; };
category "resolver" { "debug"; };
category "xfer-in" { "debug"; };
category "xfer-out" { "debug"; };
category "notify" { "debug"; };
category "client" { "debug"; };
category "unmatched" { "debug"; };
category "network" { "debug"; };
category "update" { "debug"; };
category "update-security" { "debug"; };
category "queries" { "debug"; };
category "dispatch" { "debug"; };
category "dnssec" { "debug"; };
category "lame-servers" { "debug"; };
category "delegation-only" { "debug"; };
};
------------------------------------------
# mkdir /var/log/bind/
# cd /var/log/bind/
# touch query.log
# chown bind /var/log/bind/query.log
# service bind9 restart
Hi,
ReplyDeleteThe information was useful.but I have a query, wht's the tertiary dns and also wht changes do we do for it in named.conf