From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4244 invoked by alias); 21 Jan 2009 17:38:09 -0000 Received: (qmail 4231 invoked by uid 22791); 21 Jan 2009 17:38:09 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Jan 2009 17:38:01 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 8DF846D4185; Wed, 21 Jan 2009 18:37:50 +0100 (CET) Date: Wed, 21 Jan 2009 17:38:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [ITP] bind-9.6.0-1 Message-ID: <20090121173750.GL20104@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <4973A7A8.9020301@users.sourceforge.net> <20090121170810.GK20104@calimero.vinschen.de> <4977594F.3060202@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4977594F.3060202@users.sourceforge.net> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2009-01/txt/msg00092.txt.bz2 On Jan 21 11:20, Yaakov (Cygwin/X) wrote: > Corinna Vinschen wrote: > > Why does the bind package require an /etc/resolv.conf file? Isn't that > > used only by the resolver lib? And the resolver lib is part of Cygwin > > 1.7 anyway, or in the minires package for Cygwin 1.5. Minires/Cygwin 1.7 > > don't need a resolv.conf file, so why does bind?!? > > I was attempting to avoid a FAQ. BIND is a DNS suite, and it needs to > know the address of a nameserver in order to do lookups. The usage of > /etc/resolv.conf is well documented in both the manpages and the online > manual. Ok, but the Cygwin resolver lib also works without this file because the nameserver information can be (and is) fetched from Windows. Would it be feasible to use the same method as the resolver lib so that we don't have two libs using different methods? The resolver lib uses /etc/resolv.conf, but falls back to calling the Windows function GetNetworkParam to fetch this information if the resolve.conf file doesn't exist(*). Corinna (*) On NT4 the GetNetworkParam function is missing so the resolver checks the registry directly, but given the age of NT4 I wouldn't be too concerned... -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat