Skip to content

Commit

Permalink
Merge pull request #1285 from marc-vanderwal/issue/1281
Browse files Browse the repository at this point in the history
Disable blacklisting for queries by NAMESERVER15
  • Loading branch information
tgreenx authored Sep 7, 2023
2 parents 8964a50 + ab8a84e commit 370a8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Zonemaster/Engine/Test/Nameserver.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ sub nameserver15 {
my $found_string = 0;

foreach my $query_name ( q{version.bind}, q{version.server} ) {
my $p = $ns->query( $query_name, q{TXT}, { class => q{CH} } );
my $p = $ns->query( $query_name, q{TXT}, { class => q{CH}, blacklisting_disabled => 1 } );

if ( $p and $p->rcode eq q{NOERROR} and scalar $p->get_records_for_name( q{TXT}, $query_name, q{answer} ) ) {
foreach my $rr ( $p->get_records_for_name(q{TXT}, $query_name, q{answer} ) ) {
Expand Down

0 comments on commit 370a8b3

Please sign in to comment.