Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: simon [...] josefsson.org
Cc:
AdminCc:

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



Subject: SRV RR's and name_2wire
Download (untitled) / with headers
text/plain 1.2k
Hi! Running my DNSSEC walker on the ripe.net zone results in errors: *** *** WARNING!!! The program has attempted to call the method *** "name_2wire" for the following RR object: *** *** _jabber._tcp.conference.ripe.net. 900 IN SRV 30 30 5269 jabber.ripe.net *** *** This object doesn not have a method "name_2wire". THIS IS A BUG *** IN THE CALLING SOFTWARE, which has incorrectly assumed that *** the object would be of a particular type. The calling *** software should check the type of each RR object before *** calling any of its methods. *** *** Net::DNS has returned undef to the caller. *** at /usr/local/bin/walker line 284 Line 284 says: if ($sigrr{$tag}->verify(\@answer, $keyrr{$sigrr{$tag}->keytag})) I.e., it uses Net::DNS::SEC which presumably uses Net::DNS internally. This appear to be due to a typo, and the following patch fix the problem for me. Thanks! --- SRV.pm~ 2005-07-31 16:27:07.000000000 +0200 +++ SRV.pm 2005-09-22 12:51:08.000000000 +0200 @@ -68,7 +68,7 @@ if (exists $self->{'priority'}) { $rdata .= pack('n3', @{$self}{qw(priority weight port)}); - $rdata .= $self->name_2wire($self->{'target'}); + $rdata .= $self->_name2wire($self->{'target'}); } return $rdata;
Download (untitled) / with headers
text/plain 127b
yep that was indeed a type. Fixed on the subversion trunk as of revision 484 Thanks for the notice... Happy walking, --Olaf


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.