# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1421661312 -3600 # Node ID b642c116da13ef67adb609e4bbe441d28e9f47a3 # Parent dcebfb4a011c24e7fc73a6878886e3735cff4a19 put there a hint about allow-new-zones diff -r dcebfb4a011c -r b642c116da13 local.pm.ex-2 --- 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; }