hard code mister-dns IP for chicken-and-egg problems

This commit is contained in:
2023-10-28 23:41:51 -04:00
parent 302c9ba09e
commit 6ca3346a03

View File

@ -8,7 +8,9 @@ use Memoize;
memoize('_gethosts'); memoize('_gethosts');
our $VERSION = '0.3'; our $VERSION = '0.4';
our $misterdns = '198.251.79.234';
sub new { sub new {
my $me = shift; my $me = shift;
@ -99,7 +101,7 @@ sub _gethosts {
} }
my $fh; my $fh;
open($fh, "dig -t AXFR \@mister-dns.martnet.com private.invalid. |") open($fh, "dig -t AXFR \@${misterdns} private.invalid. |")
|| die "Can't open dig: $!"; || die "Can't open dig: $!";
my @vh; my @vh;