Anybody looked at this?
http://www.chiark.greenend.org.uk/~ian/adns/
Advanced, easy to use, asynchronous-capable DNS client library.
adns is a resolver library for C (and C++) programs. In contrast with the existing
interfaces, gethostbyname et al and libresolv, it has the following
features:
- It is reasonably easy to use for simple programs which just
want to translate names to addresses, look up MX records, etc.
====\ It can be used in an asynchronous, non-blocking, manner. Many
====/ queries can be handled simultaneously.
etc