Thanks Dave. I am aware of that repo but it doesn't provide an abstraction of the resolver functionality.
I found
https://github.com/bogdanovich/dns_resolver which is written using miekg/dns. It is lacking some of the options that libraries like c-ares have (using TCP and controlling timeout).
I think I can extend it by figuring out how to force a TCP query and timeout the query, but wanted to check with the group if I am overlooking something.
On Wednesday, October 11, 2017 at 1:58:47 PM UTC-7, Dave Cheney wrote:
Try https://github.com/miekg/dns