X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 23 Aug 2010 16:40:45 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: perl: Net::DNS requires Win32::IPHelper Message-ID: <20100823144045.GH6726@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1282535618 DOT 6888 DOT 51 DOT camel AT YAAKOV04> <20100823140705 DOT GG6726 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Aug 23 16:34, Reini Urban wrote: > 2010/8/23 Corinna Vinschen PCYM...? > > 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. > > Sure. It's entirely stupid for Net::DNS to treat cygwin same as MSWin32. > A good catch by Yaakov. Wonder why I never had any issue with that. > > I'll come up with a better cygwin resolver for Net::DNS, which does not need > a slow and always broken Win32::API + Win32::IPHelper. > Behind my proxy using Net::DNS::Resolver::UNIX on cygwin worked okay, > but I'll test again at home and bump perl then. Thanks! Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple