mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs(dns): add note about attempts (#1015)
This commit is contained in:
@ -48,6 +48,10 @@ where
|
||||
/// let resolver = DnsResolver::from_system_conf().unwrap();
|
||||
/// # }
|
||||
/// ```
|
||||
///
|
||||
/// Note: This [Resolver] can send multiple lookup attempts, See also
|
||||
/// [ResolverOpts](trust_dns_resolver::config::ResolverOpts) which configures 2 attempts (1 retry)
|
||||
/// by default.
|
||||
#[derive(Clone)]
|
||||
pub struct DnsResolver(TokioAsyncResolver);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user