[ldns-users] Batch API and async

Vladimir Levijev vladimir.levijev at gmail.com
Mon Jun 17 09:08:48 UTC 2013


On 14 June 2013 11:27, Willem Toorop <willem at nlnetlabs.nl> wrote:
> Op 13-06-13 16:07, Vladimir Levijev schreef:

Hi,

>> Did I understand it correctly that ldns does not provide batch API? So
>> that if I need to get results of 100 domain names I need to do 100
>> function calls, i. e. I cannot pass an array of targets.
>
> That is correct.
>
>> Also, did I understand it correctly that library does not provide a
>> way to do asynchronous calls? So that a ldns function call blocks a
>> program execution until return from that function.
>
> Ldns has rudimentary support for asynchonous calls with the
> ldns_udp_bgsend and ldns_tcp_bgsend functions.
>
> I suggest you have a look at libunbound
> (http://unbound.net/documentation/libunbound.html) which has an
> asynchronous interface to a full resolver.

Thanks, looks like libunbound is what we need. I noticed that it uses
ldns? Is it the same team working on both projects or if not are the
teams working closely?

Cheers,

VL



More information about the ldns-users mailing list