add foreign registry; remove slave setups

This commit is contained in:
2026-02-01 15:16:52 -05:00
parent 5a432a75a8
commit d67cea92cb
6 changed files with 39 additions and 77 deletions

14
bin/del-foreign Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/perl
use strict;
use warnings;
use Martnet::DDNS;
use Regexp::Common qw/net/;
my $host = shift || die "No foreign host provided";
die "Hostname must end in a dot"
unless ($host =~ /^[a-zA-Z0-9\-\_\.]+\.$/);
my $ddns = Martnet::DDNS->new();
$ddns->del($host, '_foreign');