This is the mail archive of the
mailing list for the Cygwin project.
Re: minires-0.95 - a new package ready for review
Igor Pechtchanski wrote:
> On Fri, 13 Jun 2003, Corinna Vinschen wrote:
> > On Thu, Jun 12, 2003 at 01:20:21PM -0400, Pierre A. Humblet wrote:
> > [snip]
> > > I have recently noticed that the information is in fact available
> > > from the registry, but getting to it is not straightforward
> > > (same kind of indirect lookups as in net.cc), so with some effort...
> > I had the funny idea to drop the whole Windows specific part and
> > instead create /etc/resolve.conf in the postinstall script from
> > the output of `ipconfig /all'. That would work nicely on NT,
> > unfortunately the `ipconfig /all' output on 9x doesn't contain the
> > DNS domain search list. :-(
> > Corinna
> Sure it does, at least on Win98 (just checked). However, instead of there
> being one DNS list per adapter, as on NT/2k, there's one global list,
> printed in the beginning. Try piping the output of "ipconfig /all" to
IMO, having the nameservers in resolv.conf is obsolete. In many
environments they can change quite rapidly.
The resolv.conf can get stale in a sneaky way, with only some
servers being active. That causes delays in the lookups.
> If it's decided to move minires into winsup or newlib, I'm happy
> to help. :-)
So am I. We should make a list of things to do.
I will use LoadLibrary and look more into using the registry
on Win95 and NT.
Is there a prefered source for the system header files?
Currently they come from bind 9.2.1. For some reason the
function names are redefined to add an initial "_".
This causes some configure scripts (those omitting to
include the headers) to make incorrect conclusions.