Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows Bind library and resolv.conf

0 views
Skip to first unread message

Gopal Kulkarni

unread,
Oct 5, 2001, 7:04:42 PM10/5/01
to

It appears that the W2K Bind library requires the resolv.conf file (in the
Windows system folder) in order to find the DNS server. However, W2K does
not create or use the resolv.conf file. It stores that information (DNS
server) in the registry.
Does this mean if there is no resolv.conf file, Bind library will not work?
Another question I have is - what if the host is using DHCP? How will the
Bind libarary get the DNS server name?

Any information is appreciated.

Thanks

Gopal


Will Yardley

unread,
Oct 5, 2001, 7:25:13 PM10/5/01
to

Gopal Kulkarni wrote:

> Does this mean if there is no resolv.conf file, Bind library will not
> work?

yup.

> Another question I have is - what if the host is using DHCP? How will
> the Bind libarary get the DNS server name?

it would still go by whatever is in the resolv.conf file (since windoze
doesn't use or update this file).

w

--
GPG Public Key:
http://infinitejazz.net/will/pgp/


Danny Mayer

unread,
Oct 5, 2001, 7:53:17 PM10/5/01
to

At 06:51 PM 10/5/01, Gopal Kulkarni wrote:
>It appears that the W2K Bind library requires the resolv.conf file (in the
>Windows system folder) in order to find the DNS server. However, W2K does
>not create or use the resolv.conf file. It stores that information (DNS
>server) in the registry.
>Does this mean if there is no resolv.conf file, Bind library will not work?
>Another question I have is - what if the host is using DHCP? How will the
>Bind libarary get the DNS server name?

Microsoft moved the location of the nameserver list in the registry between
NT 4.0 and W2K. NT 4.0 does not require the resolv.conf file but will use it
if it's there. W2K does require it as the work was not done to have it do the
necessary lookups. Feel free to implement this.

Since you usually use fixed nameserver lists anyway, even for DHCP it shouldn't
make a difference.

Danny

0 new messages