public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: "Pierre A. Humblet" <pierre@phumblet.no-ip.org>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] bind-9.6.0-1
Date: Thu, 22 Jan 2009 02:26:00 -0000	[thread overview]
Message-ID: <0KDU00IRMPFHBOF1@vms044.mailsrvcs.net> (raw)
In-Reply-To: <20090121173750.GL20104@calimero.vinschen.de>

At 12:37 PM 1/21/2009, Corinna Vinschen wrote:
 >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(*).

There is another problem. If resolv.conf exists then minires and the cygwin 1.7
resolver default to using the name servers directly instead of using 
the internal
Windows resolver.
That's useful to those who don't want to use the default dns server 
of their isp, which
may offer a "DNS assistance" feature that maps non existent domains to a web
server operated by the ISP, while keeping dns assistance for their web browser.
http://log.psi.cc/2008/03/02/how-to-disable-verizon-dns-assistance/
http://netservices.verizon.net/portal/link/help/item?case=dns_assist_fios&partner=verizon&product=fios

If it's a problem we can change the behavior of the cygwin 1.7 
resolver to require
more than the existence of resolv.conf to enable the bypass.

Pierre

  parent reply	other threads:[~2009-01-22  2:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 22:05 Yaakov (Cygwin/X)
2009-01-19  3:54 ` Christopher Faylor
2009-01-19 10:32   ` Corinna Vinschen
2009-01-21 16:51 ` Andrew Schulman
2009-01-21 17:08   ` Yaakov (Cygwin/X)
2009-01-21 17:46     ` Andrew Schulman
2009-01-21 17:08   ` Corinna Vinschen
2009-01-21 17:20     ` Yaakov (Cygwin/X)
2009-01-21 17:38       ` Corinna Vinschen
2009-01-21 17:58         ` Yaakov (Cygwin/X)
2009-01-21 18:24           ` Corinna Vinschen
2009-01-21 18:56             ` Yaakov (Cygwin/X)
2009-01-21 19:33               ` Corinna Vinschen
2009-01-21 23:11                 ` Yaakov (Cygwin/X)
2009-01-22  8:57                   ` Corinna Vinschen
2009-01-22  2:26         ` Pierre A. Humblet [this message]
2009-01-22  9:04           ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0KDU00IRMPFHBOF1@vms044.mailsrvcs.net \
    --to=pierre@phumblet.no-ip.org \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).