aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/make-named.pl
diff options
context:
space:
mode:
authorNicolai Tellefsen <niccofyren@gmail.com>2016-03-21 20:33:44 +0100
committerNicolai Tellefsen <niccofyren@gmail.com>2016-03-21 20:33:44 +0100
commit5ba657e0bca0e4970b08583f6dfc94bfae34741c (patch)
tree44ed77deecd40ca984aae4bfa1bb949cb87bf7a0 /bootstrap/make-named.pl
parentd528cad67897dd2c3b98ec15a82868ac2764e2c7 (diff)
parent727e4ab31aa6d1a754711d4cd29dbcefae2e952a (diff)
Merge branch 'master' of https://github.com/tech-server/tgmanage
Diffstat (limited to 'bootstrap/make-named.pl')
-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;