Skip to main content

Module client

Module client 

Available on crate features dns and std only.

Modules§

hickoryhickory
dns using the hickory_resolver crate
lb
DNS-based client-side load balancer.
resolver

Structs§

DenyAllDnsResolver
a DnsResolver implementation which denies all incoming DNS requests with a DnsDeniedError.
DnsAddressSource
Adapt a DNS resolver to the lazy AddressCandidates transport contract.
DnsConnector
A connector service that stamps a lazy DNS ConnectorTargetStream for a domain target, then forwards the input to the inner transport connector.
DnsConnectorLayer
A Layer which wraps a transport connector with DNS resolution.
DnsDeniedError
Dns resolve denied
DnsTimeoutError
A DNS lookup that ran out of time.
EmptyDnsResolver
a DnsResolver implementation which returns an empty stream for any DNS resolve call.
GlobalDnsResolver
HickoryDnsResolver
DNS Resolver using the hickory_resolver crate
HttpsServiceBinding
One compatible HTTPS record and its effective physical endpoint.
HttpsServiceBindings
The result of one bounded HTTPS alias traversal.
LinuxDnsResolver
TokioDnsCnameUnsupportedError
Tokio DNS resolver does not support CNAME lookups
TokioDnsResolver
Portable DNS resolver backed by the host’s getaddrinfo, run on tokio’s blocking pool.
TokioDnsServiceBindingUnsupportedError
Tokio DNS resolver does not support SVCB or HTTPS lookups; boxed dispatch preserves this type for downcasting
TokioDnsTxtUnsupportedError
Tokio DNS resolver does not support TXT lookups

Constants§

DEFAULT_HTTPS_ALIAS_LIMIT
Default maximum number of HTTPS AliasMode records to follow. This traversal limit is independent of per-RRset resolver limits.

Functions§

init_global_dns_resolver
Initialises the global DnsResolver.
lookup_https_service_bindings
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.
order_service_binding_records
Collect a complete SVCB or HTTPS RRset, ordered by increasing priority with random ordering among equal priorities (including AliasMode records).
try_init_global_dns_resolver
Tries to initialise the global DnsResolver.

Type Aliases§

NativeDnsResolverLinux