--- a/local.pm.ex-2 Mon Jan 19 10:53:16 2015 +0100
+++ b/local.pm.ex-2 Mon Jan 19 10:55:12 2015 +0100
@@ -1,6 +1,4 @@
# Example
-# $Id$
-# $URL$
# remove the next line if you know, what you're doing
#die "Sure? You should adapt this file to your needs!";
@@ -32,6 +30,9 @@
__
+ # set
+ # allow-new-zones yes;
+ # in /etc/bind/named.conf.options
system rndc => (
addzone => $zone,
$txt
@@ -42,7 +43,7 @@
return 0;
}
- warn "zone $zone added via rndc addzone\n";
+ $@ = "zone $zone added via rndc addzone\n";
return 1;
}