<div dir="ltr"><div><div><div><div><div>Dealing with each case as a separate issue.<br><br>First, modify your AXFR example so we know for certain that it works:<br><br> use Net::DNS;<br><br> print "Perl Version: $^V\n";<br> print "Net::DNS Version: ", Net::DNS->version, "\n";<br><br> print "\nTesting AXFR\n";<br> my $axfr_res = Net::DNS::Resolver->new or die "Instantiation failed: $!";<br> $axfr_res->nameservers("192.5.5.241");<br> my @rr_list = $axfr_res->axfr('.') or die "AXFR failed: $!";<br><br> print scalar(@rr_list), " RRs in zone\n";<br> print "errorstring: ", $axfr_res->errorstring, "\n";<br> exit;<br><br><br></div>Armed with the result we should be able to answer three questions:<br><br> Perl Version: v5.22.1<br> Net::DNS Version: 1.05<br><br> Testing AXFR<br> 17636 RRs in zone<br> errorstring: RCODE from server: NOERROR<br><br></div>1) Was there an error?<br><br></div><div>Clearly not.<br></div><div><br></div>2) Is $res->errorstring defined?<br><br></div><div>Yes<br><br></div></div>3) Did it ever contain just "NOERROR"?<br><div><div><div><div><div><div><br></div><div>To answer that we need to look back into history.<br><br> Perl Version: v5.22.1<br> Net::DNS Version: 0.25 (Aug 2002)<br><br> Testing AXFR<br> 17636 RRs in zone<br> errorstring: no zone transfer in progress<br><br><br> Perl Version: v5.22.1<br> Net::DNS Version: 0.43 (Dec 2003)<br><br> Testing AXFR<br> 17636 RRs in zone<br> errorstring: unknown error or no error<br><br><br></div><div> Perl Version: v5.22.1<br> Net::DNS Version: 1.03 (Nov 2015)<br><br> Testing AXFR<br> 17636 RRs in zone<br> errorstring: unknown error or no error<br><br></div><div>The default text indicates that no attempt was made to put anything in errorstring before version 1.04.<br><br></div><div>The answer seems to be "No"<br><br></div><div>As there was no error, I may consider reversing my decision at 1.04 and to leave errorstring empty.<br></div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Dick Franks<br><span><font color="#888888">________________________<br>
</font></span></div></div></div>
<br></div></div>