Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 131906
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: mpf [...] netcraft.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.22_01



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
On Thu Feb 20 05:41:27 2020, mpf@netcraft.com wrote: Show quoted text
> > I’m seeing a warning when axfr fails, using Net::DNS 1.22:
This only happens on failure to connect to nameserver port 53. $resolver->errorstring() now contains appropriate message text.
Fix released in Net::DNS 1.23