However, Zonemaster (CLI 1.0.5, engine 1.0.16) happily passes this, with no errors emitted.
As far as I can see, method add_fake_delegation in Zonemaster/CLI.pm just ignores any name that cannot be resolved to an address.
if ($ip) {
push @{ $data{ $self->to_idn( $name ) } }, $ip;
}
else {
my $n = $self->to_idn( $name );
my @ips = Net::LDNS->new->name2addr($n);
push @{ $data{$n} }, $_ for @ips;
}
If name is fed without address, the address is looked up with my @ips = Net::LDNS->new->name2addr($n); and if that returns nothing, the name is ignored.
As @aabdnn writes in issue https://github.com/dotse/zonemaster-engine/issues/278 there is a bug in Zonemaster-CLI when an undelegated test is fed with name that cannot be resolved to an address:
As far as I can see, method
add_fake_delegation
inZonemaster/CLI.pm
just ignores any name that cannot be resolved to an address.If name is fed without address, the address is looked up with
my @ips = Net::LDNS->new->name2addr($n);
and if that returns nothing, the name is ignored.