tags:

views:

171

answers:

2

Need to find a asynchronous DNS resolver implemented in C (except Sofia Resolver) which supports DNS queries for NAPTR, SRV and A records. It would be desired to support internal caching. Any suggestions/recommendations? Currently looking at ldns which supports NAPTR, SVC and A queries. But, If I have understood correctly, it is not asynch DNS resolver.

A: 

c-ares, which is used within libCurl, is an asynchronous resolver.

Joe
c-ares does not support NAPTR queries:ares_parse_a_reply(),ares_parse_aaaa_reply(),ares_parse_ns_reply(),ares_parse_ptr_reply(),ares_parse_srv_reply(),ares_parse_txt_reply()
Ah, sorry. It's open source, so you could add it. :)
Joe
+1  A: 

have you tried libunboud? Not sure about NAPTR

http://www.unbound.net/index.html

Pierre