From 6f24483e980dc0dee55edd461560a960899e0266 Mon Sep 17 00:00:00 2001 From: Oskar Johansson Date: Fri, 16 May 2014 16:20:23 +0200 Subject: Bugfix: Slave zones honour allow transfer Fix bug where slave zones didn't honour the allow-transfer setting and wrote "none" in the config at all times --- config/bind/bind.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 9b4a444d..4f6e0d87 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -347,7 +347,7 @@ EOD; switch ($zonetype){ case "slave": $bind_conf .= "\t\tmasters { $zoneipslave; };\n"; - $bind_conf .= "\t\tallow-transfer {none;};\n"; + $bind_conf .= "\t\tallow-transfer { $zoneallowtransfer;};\n"; $bind_conf .= "\t\tnotify no;\n"; break; case "forward": -- cgit v1.2.3