libunbound & libevent (Was: Re: Caching in libunbound)

Kim Alvefur zash at zash.se
Thu Mar 21 18:47:24 UTC 2019


Hi,

On Thu, Mar 21, 2019 at 01:26:09PM +0100, Wouter Wijngaards via Unbound-users wrote:
> It does, with the unbound_event api.  See libunbound/unbound-event.h

This seems interesting.

Based on that header file I understand that this API returns raw DNS
packets instead of the ub_result struct that resolve_async() gives?

Based on 'unwind' it looks like libworker_enter_result() is used to
parse the packet into ub_result, but that does not appear to be part fo
the public libunbound API.

-- 
Regards,
Kim "Zash" Alvefur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20190321/77865ae1/attachment.bin>


More information about the Unbound-users mailing list