fixed typo in slave config; lookup using the master IP for the hidden master
This commit is contained in:
@ -41,7 +41,7 @@ sub do_rewrite {
|
||||
my (@vh) = @_;
|
||||
my ($fh, $path) = tempfile();
|
||||
foreach my $i (sort {$a->{zone} cmp $b->{zone}} @vh) {
|
||||
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;
|
||||
print "Installing new slave host list\n";
|
||||
|
||||
Reference in New Issue
Block a user