Short answer yes and yes.

Background:
squid started its life doing dns lookups via a farm of helper processs.
The core interface within squid stayed the same when the new rfc1035
code was directly implemented. the only change was that the helper farm
went away and calls to the new library were used. I don't know how
closely the library corresponds to resolve(3).

Look at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/squid/squid/lib/rfc1035.c
?rev=1.1.1.2.2.1.6.5&content-type=text/vnd.viewcvs-markup for the
source.

It's pure GPL, not LPGL.

Rob

----- Original Message -----
From: "Corinna Vinschen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 5:56 PM
Subject: Re: Corinna pls read RE: Asynchronous DNS - gethostbyname_r


> On Mon, Apr 23, 2001 at 09:17:27AM +1000, Robert Collins wrote:
> > I'm not sure if I ever answered this.
> >
> > Yes Squid does have an implementation of a resolver. Its recently
had
> > file lookup capability added to it. It's not 1-1 to resolver (3),
but
> > it's not far off.
>
> Is it or could it become a separate lib?
>
> Corinna
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to