change shape for bind configuration; use one unified file, add new options when adding zones
This commit is contained in:
6
bin/validate-master
Executable file → Normal file
6
bin/validate-master
Executable file → Normal file
@@ -9,11 +9,7 @@ my $ddns = Martnet::DDNS->new();
|
||||
my $cfgpath = '/etc/bind';
|
||||
my $datapath = '/var/lib/bind';
|
||||
|
||||
my %files = ( 'custom.zones.9' => '_custom',
|
||||
'martnet.zones.9' => '_custom',
|
||||
'hostedservers.zones.9' => '_custom',
|
||||
'vhost.zones.9' => '_vhosts',
|
||||
'martnet.slave.zones.9' => '*' );
|
||||
my %files = ( 'unified.zones.9' => '*' );
|
||||
|
||||
our %fixes = ( '_custom' => 'add-custom',
|
||||
'_vhosts' => 'add-vhost',
|
||||
|
||||
Reference in New Issue
Block a user