Revert "re-add dnssec signed file name"
This reverts commit ec31cc8d65.
This commit is contained in:
@ -62,11 +62,7 @@ sub do_rewrite {
|
|||||||
|
|
||||||
foreach my $i (sort {$a->{zone} cmp $b->{zone}} @vh) {
|
foreach my $i (sort {$a->{zone} cmp $b->{zone}} @vh) {
|
||||||
next if ($i->{type} eq '_dnssec');
|
next if ($i->{type} eq '_dnssec');
|
||||||
if ($ddns->is_dnssec($i->{zone})) {
|
print $fh "zone \"$i->{zone}\" { type slave; file \"/var/cache/bind/db.$i->{zone}\"; masters { $i->{master}; }; };\n";
|
||||||
print $fh "zone \"$i->{zone}\" { type slave; file \"/var/cache/bind/db.$i->{zone}.signed\"; masters { $i->{master}; }; };\n";
|
|
||||||
} else {
|
|
||||||
print $fh "zone \"$i->{zone}\" { type slave; file \"/var/cache/bind/db.$i->{zone}\"; masters { $i->{master}; }; };\n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
close $fh;
|
close $fh;
|
||||||
print "Installing new slave host list\n";
|
print "Installing new slave host list\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user