aboutsummaryrefslogtreecommitdiffstats
path: root/config/bind
diff options
context:
space:
mode:
authorJean Cyr <jcyr@dillobits.com>2013-11-10 11:55:54 -0500
committerJean Cyr <jcyr@dillobits.com>2013-11-10 11:55:54 -0500
commit7bef8eca7511523919bbb2cb084e010d67c8fd94 (patch)
tree6bda1dc4dbba246f8942f8e780783f5e4c8a4043 /config/bind
parent48ebcfa9b56921dc0470f43504a9bd3426cf1953 (diff)
downloadpfsense-packages-7bef8eca7511523919bbb2cb084e010d67c8fd94.tar.gz
pfsense-packages-7bef8eca7511523919bbb2cb084e010d67c8fd94.tar.bz2
pfsense-packages-7bef8eca7511523919bbb2cb084e010d67c8fd94.zip
Disable logging should not mean default logging
- Prevent bind from flooding logs when 'enable logging' is not checked.
Diffstat (limited to 'config/bind')
-rw-r--r--config/bind/bind.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc
index 436f352e..146632c9 100644
--- a/config/bind/bind.inc
+++ b/config/bind/bind.inc
@@ -238,6 +238,9 @@ EOD;
$bind_conf .="\t\t};\n\n";
}
}
+ else {
+ $bind_conf .="\t\tlogging { category default { null; }; };\n\n";
+ }
#Config Zone domain
if(!is_array($config["installedpackages"]["bindacls"]) || !is_array($config["installedpackages"]["bindacls"]["config"])){