added custom types

This commit is contained in:
2016-02-22 12:18:11 -05:00
parent db05757b79
commit dd45d2fdda
4 changed files with 48 additions and 0 deletions

12
bin/list-custom Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/perl
use strict;
use warnings;
use Martnet::DDNS;
my $ddns = Martnet::DDNS->new();
my @vh = $ddns->get('_custom');
foreach my $i (sort {$a->{zone} cmp $b->{zone}} @vh) {
print $i->{zone}, ". master: ", $i->{master},"\n";
}