And a different but related question. Would kresd perform query de-duplication when entry is not in the cache? If there are two queries that arrive at the same time, how many queries to the upstream nameservers it is going to perform?
I guess that these APIs are too low-level for you. The good news is that nothing is set in stone and if you can formulate the requirements someone might advise you where to pull strings inside kresd to get the intended result :-)