Subject: | Net::DNS 0.70 broken w/ Net::DNS::RR 1068 |
Date: | Tue, 11 Dec 2012 09:49:17 +1100 |
To: | bug-Net-DNS [...] rt.cpan.org |
From: | Mark Andrews <marka [...] isc.org> |
Using Net::DNS 0.70 I get the following runtime error.
unable to parse RR string at /usr/perl5/site_perl/5.8.4/sun4-solaris-64int/Net/DNS.pm line 417.
my $rr = new Net::DNS::RR( scalar @tail > 1 ? "$head @tail": "$head ANY @tail" );
This is because Net::DNS::RR cannot parse "name ANY" which is what the
line in question produces.
# perl junk
unable to parse RR string at junk line 2.
# cat junk
use Net::DNS;
my $any = new Net::DNS::RR('example.com ANY ');
print $any
#
This is with RR.pm 1068
#
# $Id: RR.pm 1068 2012-12-06 10:38:51Z willem $
#
use vars qw($VERSION);
$VERSION = (qw$LastChangedRevision: 1068 $)[1];
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka@isc.org