Revert "re-add dnssec signed file name"

This reverts commit ec31cc8d65.
This commit is contained in:
2020-11-22 13:41:19 -05:00
parent ec31cc8d65
commit 2d2f1e45f4

View File

@ -62,12 +62,8 @@ 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}.signed\"; masters { $i->{master}; }; };\n";
} else {
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}\"; masters { $i->{master}; }; };\n";
} }
}
close $fh; close $fh;
print "Installing new slave host list\n"; print "Installing new slave host list\n";
system("install -o bind -g bind $path /etc/bind/martnet.slave.zones.9"); system("install -o bind -g bind $path /etc/bind/martnet.slave.zones.9");