Package libasr

Free, simple and portable asynchronous resolver library

https://github.com/OpenSMTPD/libasr

Libasr allows to run DNS queries and perform hostname resolutions in a fully
asynchronous fashion. The implementation is thread-less, fork-less, and does not
make use of signals or other "tricks" that might get in the developer's way.
The API was initially developed for the OpenBSD operating system, where it is
natively supported.

This library is intended to bring this interface to other systems. It is
originally provided as a support library for the portable version of the
OpenSMTPD daemon, but it can be used in any other contexts.

Library Functions (Section 3)
asr_run
The asr functions provide a simple interface for asynchronous address resolution and nameserver querying. They should be used in place of the classical resolver...