Subject: | Undefined errorstring/warning when axfr fails |
Date: | Thu, 20 Feb 2020 10:31:50 +0000 |
To: | bug-Net-DNS [...] rt.cpan.org |
From: | "Matt Foster" <mpf [...] netcraft.com> |
Hi,
I’m seeing a warning when axfr fails, using Net::DNS 1.22:
# $Id: Base.pm 1762 2020-02-02 21:39:02Z willem $
#
our $VERSION = (qw$LastChangedRevision: 1762 $)[1];
% perl -MNet::DNS -le 'print Net::DNS::Resolver->new(nameserver =>
"127.0.0.1")->axfr'
Use of uninitialized value $error[0] in join or string at
/usr/share/perl5/vendor_perl/Carp.pm line 311.
This appears to be because errorstring is undef, at
Net/DNS/Resolver/Base.pm line 775.
Thanks in advance, and thanks for maintaining this module!
--
Dr Matt Foster
Netcraft Ltd