Fwd: Re: resolv library for win2k

Danny Mayer mayer at gis.net
Mon Apr 2 01:50:18 UTC 2001



>Date: Thu, 29 Mar 2001 12:16:35 -0500
>From: Danny Mayer <mayer at gis.net>
>X-Mailer: Mozilla 4.7 [en] (WinNT; U)
>X-Accept-Language: en
>Newsgroups: comp.os.ms-windows.programmer.tools.winsock
>To: Danny Mayer <mayer at gis.net>
>Subject: Re: resolv library for win2k
>X-DPOP: Email supplied by temporary trial Version of DPOP
>
>     I forgot to mention that on Win2K you MUST create a resolv.conf file
>   in Windows/system32/Drivers/etc which contain the domain name and
>  the IP addresses of several nameservers as follows:
>
>domain yourdomain.com
>nameserver 10.10.10.1
>nameserver 10.11.11.11
>
>replace yourdomain.com with the actual domain of the machine and replace
>the nameserver IP addresses with whatever your machine is using for a
>nameserver.
>The reason that this is required is that Microsoft moved the Registry
>information
>about where to find the nameserver IP addresses and that work has not been
>done in the resolve library to go find it in the new location.  The above
>is a
>workaround so that it will work.  Note that the BIND Server doesn't need it
>but
>clients do in W2K.  On NT it will be able to find these addresses so it
>doesn't
>need the resolv.conf file, but will use it if it's there.
>
>         Danny
>
>Danny Mayer wrote:
>
> >     Make sure you are using the BIND 8.2.3 sources.  There were plenty
> > of problems in the 8.2.2-* code that I fixed, so you should use that as
> > a basis.
> > Also use the dig.c or host.c  code as an example to try since they both
> > work
> > well.
> >
> >         Danny
> >
> > Paul Hethmon wrote:
> >
> > > Hi,
> > >
> > > I've been working on a resolv library for win2k based on
> > > the bind source. However, while this library compiles
> > > fine on win2k, it doesn't seem to be sending the correct
> > > packets according to an ip trace. The same code compiled on
> > > OS/2 works just fine. So I don't think it's a problem in
> > > the basic logic or code, just something specific to a
> > > winsock environment.
> > >
> > > What I'm looking for is someone who is interested in the
> > > code and is interested in helping finish the port. I've
> > > pulled my hair out for a few days now, so I'm looking for
> > > someone with more hair.
> > >
> > > Just reply here or drop me an email directly.
> > >
> > > thanks,
> > >
> > > Paul
> > >
> > > Paul Hethmon
> > > phethmon <at> hethmon.com 



More information about the bind-users mailing list