Non-blocking thread-safe API for resolving DNS names
