perl: Net::DNS requires Win32::IPHelper

Yaakov (Cygwin/X)
Mon Aug 23 18:22:00 GMT 2010

On Mon, 2010-08-23 at 16:07 +0200, Corinna Vinschen wrote:
> Here's a question:
> Why does the Net::DNS module, which provides only a resolver API, depend
> on a Win32-related package at all?  Cygwin 1.7 provides a BSD compatible
> resolver API (res_init, res_query, etc) which should be used, just like
> on Linux.  Does the module erroneously treat Cygwin as Windows target?
> If so, that should be fixed.

Net::DNS does not bind libresolv on *NIX; it does its own parsing
of /etc/resolv.conf.  On Win32, it uses Win32::IPHelper's bindings of

So this is YA resolver implementation.  When it came to BIND's liblwres,
you asked that it use the Windows APIs in order to ore closely match our
libresolv implementation and not require an /etc/resolv.conf.  The same
would apply here as well.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list