fix syntax
This commit is contained in:
@ -63,7 +63,7 @@ sub do_rewrite {
|
||||
|
||||
foreach my $i (sort {$a->{zone} cmp $b->{zone}} @vh) {
|
||||
next if ($i->{type} eq '_dnssec');
|
||||
print $fh "zone \"$i->{zone}\" { type slave; file \"/var/cache/bind/db.$i->{zone}\"; masters { $i->{master}; allow-notify {key \"notify-key\";}; }; };\n";
|
||||
print $fh "zone \"$i->{zone}\" { type slave; file \"/var/cache/bind/db.$i->{zone}\"; masters { $i->{master}; }; allow-notify {key \"notify-key\";}; };\n";
|
||||
}
|
||||
close $fh;
|
||||
print "Installing new slave host list\n";
|
||||
|
||||
Reference in New Issue
Block a user