add missing files

This commit is contained in:
2026-01-24 14:40:24 -05:00
parent 27ba76a1b8
commit 87874b6523
2 changed files with 101 additions and 0 deletions

14
bin/dump-config Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/perl
use strict;
use warnings;
use Martnet::DDNS;
use JSON::PP qw/encode_json/;
my $ddns = Martnet::DDNS->new();
my $cfg = $ddns->get_config();
my $json = JSON::PP->new->canonical(1)->pretty(1);
print $json->encode($cfg);
exit 0;