change shape for bind configuration; use one unified file, add new options when adding zones
This commit is contained in:
3
bin/list-all
Executable file → Normal file
3
bin/list-all
Executable file → Normal file
@@ -8,6 +8,5 @@ my $ddns = Martnet::DDNS->new();
|
||||
|
||||
my @vh = $ddns->get();
|
||||
foreach my $i (sort {$a->{zone} cmp $b->{zone}} @vh) {
|
||||
next if ($i->{type} eq '_dnssec'); # Skip DNSSEC flags
|
||||
print $i->{zone}, ". $i->{type} master: ", $i->{master},"\n";
|
||||
print $i->{zone}, ". $i->{type} master: ", ($i->{master} // ''), "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user