Caching asynchronous DNS resolver