DNS resolver library with sync and async queries
