diff -ru Net-DNS-0.65-orig/Makefile.PL Net-DNS-0.65/Makefile.PL
--- Net-DNS-0.65-orig/Makefile.PL 2009-01-26 19:31:43.000000000 +0200
+++ Net-DNS-0.65/Makefile.PL 2009-10-27 17:19:40.096000000 +0200
@@ -89,7 +89,7 @@
-if ($^O eq 'MSWin32') {
+if ($^O eq 'MSWin32' || $^O eq 'cygwin') {
unless( eval {require WIN32::API; } ){
warn <<AMEN;
I can not find WIN32::API version 0.55 or higher.
Only in Net-DNS-0.65-orig/lib/Net/DNS/Resolver: Cygwin.pm
diff -ru Net-DNS-0.65-orig/lib/Net/DNS/Resolver.pm Net-DNS-0.65/lib/Net/DNS/Resolver.pm
--- Net-DNS-0.65-orig/lib/Net/DNS/Resolver.pm 2009-01-26 19:31:42.000000000 +0200
+++ Net-DNS-0.65/lib/Net/DNS/Resolver.pm 2009-10-27 16:42:19.952000000 +0200
@@ -13,8 +13,8 @@
require Net::DNS::Resolver::Win32;
@ISA = qw(Net::DNS::Resolver::Win32);
} elsif ($^O eq 'cygwin') {
- require Net::DNS::Resolver::Cygwin;
- @ISA = qw(Net::DNS::Resolver::Cygwin);
+ require Net::DNS::Resolver::Win32;
+ @ISA = qw(Net::DNS::Resolver::Win32);
} else {
require Net::DNS::Resolver::UNIX;
@ISA = qw(Net::DNS::Resolver::UNIX);