Function lookup_https_service_bindings
pub async fn lookup_https_service_bindings<R>(
resolver: &R,
authority: &HostWithPort,
protocols: &[ApplicationProtocol],
ech_capable: bool,
max_aliases: NonZero<usize>,
) -> HttpsServiceBindingswhere
R: DnsServiceBindingResolver,Available on crate features
dns and std only.Expand description
Discover HTTPS services using a borrowed resolver, following at most
max_aliases AliasMode records. Use DEFAULT_HTTPS_ALIAS_LIMIT for the
standard traversal bound and super::resolver::BoundedDnsResolver for
independently configured per-RRset limits.
IP literals and loopback names do no DNS work. The caller owns the overall deadline. Complete this lookup before sending an ECH ClientHello; evaluate the returned reliance with final TLS intent and backend capability.