bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] Re: new modulo: resolv?


From: Paul Eggert
Subject: [Bug-gnulib] Re: new modulo: resolv?
Date: 11 Sep 2003 00:43:02 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Simon Josefsson <address@hidden> writes:

> Paul Eggert <address@hidden> writes:
> 
> > Simon Josefsson <address@hidden> writes:
> >
> >> If someone knows of a GPL resolver implementation, that might be
> >> even better.
> >
> > Why not use GNU adns?  <http://www.gnu.org/software/adns/>.
> 
> It isn't as flexible as res_query(), at least I didn't find a way to
> query for AAAA or SRV records which I need.

I think Niels Moeller has a patch for that: see
<http://www.chiark.greenend.org.uk/pipermail/adns-discuss/2003/000113.html>.

> The TODO list mention
> threadsafety, so I'm not sure if the current version is threadsafe.

ADNS is thread-safe if you have a separate adns_state object for each
thread.  I think the TODO list talks about multiplexing queries from
multiple threads into a single adns_state object; that isn't
supported.

> Also, I expect more applications are already written for res_query
> than adns, so it could be useful to have for that reason as well.

Quite true.  You could bundle the BIND resolver, I suppose.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]