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

Owner: Nobody in particular
Requestors: simon [...]

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 zone results in errors: *** *** WARNING!!! The program has attempted to call the method *** "name_2wire" for the following RR object: *** *** 900 IN SRV 30 30 5269 *** *** 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! --- 2005-07-31 16:27:07.000000000 +0200 +++ 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 infrastructure.

Please report any issues with to