Subject: Re: query regarding libresolv library
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 02/04/2004 15:55:04
Manuel Bouyer <bouyer@antioche.eu.org> writes:
> On Tue, Feb 03, 2004 at 02:06:59PM +0530, Krishnamurthy K N wrote:
>> Hi,
>> In NetBSD1.6 the resolver functions/files(ex res_send(), res_query() etc)
>> are present as part of libc.a as well as libresolv.a libraries.
>> 
>> 1. Can you please specify why the same functions/files are present in two
>> above mentioned libraries,
>>      and which context the libresolv will be used?
>> 2. When do I need to use the libresolv library explicitly(e.g. linking with
>> the application -lresolv) ?
>
> I think libresolv is the one coming with bind8.

No, it isn't. libresolv is still bind8.

I used to know why we have two copies/versions of the resolver code,
but my memory for it has largely faded...

Perry