Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: johan [...] palpatine.se
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.12
  • 0.53
  • 0.53_01
Fixed in: 0.49



Subject: Peerhost is undef
Hi, I can't use $peerhost in Net::DNS::Nameserver, for 0.53. It works in 0.49. With this code: sub reply_handler { my ($qname, $qclass, $qtype, $client) = @_; ... $client is undef. If I enable verbose output I can see the peerhost, UDP connection from 10.105.1.254:62263. This is a print of @_. (Using Data::Dumper) $VAR1 = 'test.com'; $VAR2 = 'IN'; $VAR3 = 'A'; $VAR4 = undef; $VAR5 = bless( { 'question' => [ bless( { 'qclass' => 'IN', 'qname' => 'test.com', 'qtype' => 'A' }, 'Net::DNS::Question' ) ], 'additional' => [], 'answer' => [], 'compnames' => {}, 'authority' => [], 'header' => bless( { 'nscount' => 0, 'cd' => 0, 'qdcount' => 1, 'ancount' => 0, 'rcode' => 'NOERROR', 'tc' => 0, 'opcode' => 'QUERY', 'ad' => 0, 'ra' => 0, 'qr' => 0, 'arcount' => 0, 'id' => 4, 'aa' => 0, 'rd' => 1 }, 'Net::DNS::Header' ) }, 'Net::DNS::Packet' ); Using: 0.53 (broken) 0.53_01 (broken) 0.49 works v5.8.5 built for i386-freebsd FreeBSD 5.4 Stable
Date: Tue, 18 Oct 2005 20:02:02 +0200
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
To: bug-Net-DNS [...] rt.cpan.org
Subject: Re: [cpan #15119] Peerhost is undef
RT-Send-Cc:
Guest via RT wrote: Show quoted text
>This message about Net-DNS was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=15119 > > >Hi, > >I can't use $peerhost in Net::DNS::Nameserver, for 0.53. It works in 0.49. > >
Can you try http://search.cpan.org/~olaf/Net-DNS-0.53_02 ? It appeared today and I think this has been fixed... (That is from memory without tracking the logs :-) ) --Olaf
Initial bug and the 100% bug are fixed. Closing the ticket. --Olaf