Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.38
Fixed in: (no value)



send_udp method in Net::DNS::Resolver.pm: If $sock->send() fails for *all* of the nameservers (e.g. no route to host because the network is down), then errorstring is set to 'query timed out'. Setting it to 'all nameservers failed' would be less misleading. Even better, $! could be in there somwhere. $Net::DNS::VERSION == 0.38 Many thanks for this module, we appreciate your efforts. Steve Keay
Date: Tue, 17 Jun 2003 15:12:36 -0400 (EDT)
From: Chris Reinhardt <ctriv [...] dyndns.org>
To: Guest via RT <bug-Net-DNS [...] rt.cpan.org>
Subject: Re: [cpan #2808]
RT-Send-Cc:
On Mon, 16 Jun 2003, Guest via RT wrote: Show quoted text
> send_udp method in Net::DNS::Resolver.pm: > > If $sock->send() fails for *all* of the nameservers (e.g. no route to > host because the network is down), then errorstring is set to 'query > timed out'. Setting it to 'all nameservers failed' would be less > misleading.
Good idea. I'll look into it. Show quoted text
> Even better, $! could be in there somwhere.
This is against the design of the module. Your resolver object should be self contained, with all the information you need. -- Chris Reinhardt ctriv@dyndns.org Systems Architect Dynamic DNS Network Services http://www.dyndns.org/