X-Spam-Check-By: sourceware.org
Message-ID: <8389af8b0602182023i1638061fgc0babe26d0544b0f@mail.gmail.com>
Date: Sun, 19 Feb 2006 13:23:56 +0900
From: "Hiroki Sakagami" <sakagami@gmail.com>
To: cygwin@cygwin.com
Subject: resolv.conf equivalent on Cygwin
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k1J4O8Ia025707

Hi,

I am trying to port a program with an asynchronous DNS resolver to
Cygwin.  Because it can't use gethostbyname() family functions, it
needs to read /etc/resolv.conf file.  However, Windows seems to have
the names of DNS servers in the registry key
"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces" or
something.  Is there any Cygwin standard way to query DNS server
names?

I already wrote the code which use RegOpenKeyEx() and other functions.
 But if there is another appropriate way I'd like to use it.

Regards,

--
Sakagami Hiroki

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


