delorie.com/archives/browse.cgi | search |
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 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | resolv.conf equivalent on Cygwin |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |