ldns -> unbound migration

Vladimir Levijev vladimir.levijev at gmail.com
Fri Jun 3 16:17:22 UTC 2016


Hi,

We are successfully using libldns (C) in our project to perform DNS
queries. At some point the requirements for queries per minute went
high and in order to fulfill those we had to start fork()-ing the
process to perform queries in parallel. This works well but we are
concerned now about the amount of processes run in the system.

After searching on the net I found out about libunbound and it's
ability to perform asynchronous queries. This looks awesome, but the
questions are as follows.

Given the requirement to perform up to 20-40 DNS queries to different
name servers asynchronously in a single task, how well can unbound
handle such load (with all the possible timing outs and so on)? What
would be the recommended limit of queries in this case?

And the second question, perhaps anybody has an idea, how easy is
switching from libldns to libunbound? What are the
advantages/disadvantages of doing that?

Cheers,

VL



More information about the Unbound-users mailing list