Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
otterley
· 10y ago · 0 comments
ldns is synchronous so all your queries will block. libunbound (
https://www.unbound.net/documentation/libunbound.html
), like c-ares, is an async C resolver library from the authors of ldns.
Comments
[–]
blechschmidt
10y ago
Ah, that would mean that I would have the libraries handle the resolving. I was currently only thinking about keeping the single socket which is used in order to only use the parsing functions from the libraries.