Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: BINGOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.76
  • 0.76_1
Fixed in: (no value)



Subject: [PATCH] resolve infinite recursion problem on Cygwin
Trying to update Net-DNS from 0.75 to 0.76 today, the tests relating to Net::DNS::Resolver appeared to 'hang' Investigation found that Net::DNS::Resolver->new() was locked in a recursive loop. The following patch resolved (ha!) the issue for me: diff --git a/lib/Net/DNS/Resolver/cygwin.pm b/lib/Net/DNS/Resolver/cygwin.pm index f6711f7..9169364 100644 --- a/lib/Net/DNS/Resolver/cygwin.pm +++ b/lib/Net/DNS/Resolver/cygwin.pm @@ -103,7 +103,7 @@ sub init { || '' unless !$ip || ( $ip =~ /0\.0\.0\.0/ ); - push @nameservers, $ns if $ns; + push @nameservers, split $ns if $ns; } } } Many thanks.
From: rwfranks [...] acm.org
Your patch is in 0.77
Patch applied