Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: qbin [...] users.sourceforge.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.57
Fixed in: (no value)



Subject: Fail SPF query before TXT one.
Following script doesn't work with Net-DNS-0.57 and Perl 5.8.6 on FreeBSD 5.4-RELEASE-p11. But with @order=qw(txt spf), it works well. #! /usr/bin/perl use Data::Dumper; use Net::DNS @order = qw(spf txt); $Data::Dumper::Useqq=1; $q = new Net::DNS::Resolver(); foreach $qtype @order { $p = new Net::DNS::Packet("sixxs.com", $qtype, "IN"); $ans = $q->send($p); print Dumper($ans),"\n"; } =end Error message is ... Can't locate object method "new" via package "Net::DNS::RR::SPF" at /usr/local/lib/perl5/site_perl/5.8.6/mach/Net/DNS/RR.pm line 266.
Subject: Re: [rt.cpan.org #18785] Fail SPF query before TXT one.
Date: Thu, 20 Apr 2006 17:56:36 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
This should fix it. --Olaf --- lib/Net/DNS/RR/SPF.pm (revision 578) +++ lib/Net/DNS/RR/SPF.pm (working copy) @@ -7,6 +7,7 @@ eval { require bytes; } } use vars qw(@ISA $VERSION); +use Net::DNS::RR::TXT; @ISA = qw(Net::DNS::RR::TXT); ------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.