Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: pete [...] he.iki.fi
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.28
Fixed in: (no value)



Subject: Division by zero exception
On freebsd 4.7-RC and 4.6-STABLE Net::DNS fails with Illegal division by zero at /usr/local/lib/perl5/site_perl/5.005/Net/DNS/Resolver.pm line 825. I think the culprit is the code on line 834 which changes the @ns array if sending fails. In our case the system walks through DNS entries on a machine where sending packets to rfc1918 addresses is blocked and when trying to send one it fails the $sock->send Pete
[guest - Mon Oct 7 05:41:53 2002]: Show quoted text
> On freebsd 4.7-RC and 4.6-STABLE Net::DNS fails with > Illegal division by zero at > /usr/local/lib/perl5/site_perl/5.005/Net/DNS/Resolver.pm line 825. > I think the culprit is the code on line 834 which changes the > @ns array if sending fails. In our case the system walks through > DNS entries on a machine where sending packets to rfc1918 addresses > is blocked and when trying to send one it fails the $sock->send >
That should be fixed in 0.29. Please let me know if it is not. -- Chris Reinhardt ctriv@dyndns.org Systems Architect Dynamic DNS Network Services http://www.dyndns.org/