aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2016-03-21 17:13:54 +0100
committerJoachim Tingvold <joachim@tingvold.com>2016-03-21 17:13:54 +0100
commit43eb5c971842f23bc1a7650215d9397b0fae9bb9 (patch)
tree72dcf789e8fa2c62f23f13bc19a806d3c7ae3169 /bootstrap
parent4eedfbd1a9cbb447690f86fece8b2ff5a5fc2626 (diff)
Add some debug to bind.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/make-named.pl36
1 files changed, 36 insertions, 0 deletions
diff --git a/bootstrap/make-named.pl b/bootstrap/make-named.pl
index 4812d81..2681506 100755
--- a/bootstrap/make-named.pl
+++ b/bootstrap/make-named.pl
@@ -56,6 +56,42 @@ options {
listen-on-v6 { any; };
};
+logging {
+ category "default" { "debug"; };
+ category "general" { "debug"; };
+ category "database" { "debug"; };
+ category "security" { "debug"; "stats"; };
+ category "config" { "debug"; "stats"; };
+ category "resolver" { "debug"; "stats"; };
+ category "xfer-in" { "debug"; "stats"; };
+ category "xfer-out" { "debug"; "stats"; };
+ category "notify" { "debug"; "stats"; };
+ category "client" { "debug"; };
+ category "unmatched" { "debug"; };
+ category "network" { "debug"; };
+ category "update" { "debug"; };
+ category "queries" { "stats"; };
+ category "dispatch" { "debug"; };
+ category "dnssec" { "debug"; };
+ category "lame-servers" { "debug"; };
+
+ channel "debug" {
+ file "/etc/bind/nameddbg" versions 2 size 50m;
+ print-time yes;
+ print-category yes;
+ print-severity yes;
+ severity debug 9;
+ };
+
+ channel "stats" {
+ file "/etc/bind/namedstats" versions 2 size 50m;
+ print-time yes;
+ print-category yes;
+ print-severity yes;
+ severity debug 3;
+ };
+};
+
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret $nms::config::ddns_key;