reqwest-hickory-resolver
reqwest-hickory-resolver
is the resolver for reqwest based on hickory-dns
.
Quick Start
Init client with HickoryResolver
.
use Arc;
use ClientBuilder;
use HickoryResolver;
HickoryResolver has cache support, we can share the same resolver across different client for better performance.
use Arc;
use Lazy;
use ClientBuilder;
use HickoryResolver;
static GLOBAL_RESOLVER: =
new;
Contributing
Check out the CONTRIBUTING.md guide for more details on getting started with contributing to this project.
Getting help
Submit issues for bug report or asking questions in discussion.
Acknowledgements
This project is based on reqwest's TrustDnsResolver
.