Crate dns_resolver

Source

Structs§

HickoryResolver
IpDisplay
MailExchanger
Name
A domain name
TLSA
RFC 6698, DNS-Based Authentication for TLS
TestResolver
UnboundResolver

Enums§

DnsError
DomainClassification
Helper to reason about a domain name string. It can either be name that needs to be resolved, or some kind of IP literal. We also allow for an optional port number to be present in the domain name string.
ResolvedMxAddresses

Traits§

Resolver

Functions§

fully_qualify
get_mx_negative_ttl
get_mx_timeout
get_resolver
has_colon_port
If the provided parameter ends with :PORT and PORT is a valid u16, then crack apart and return the LABEL and PORT number portions. Otherwise, returns None
ip_lookup
ipv4_lookup
ipv6_lookup
ptr_host
reconfigure_resolver
resolve_a_or_aaaa
resolve_dane
Resolves TLSA records for a destination name and port according to https://datatracker.ietf.org/doc/html/rfc6698#appendix-B.2
set_mx_concurrency_limit
set_mx_negative_cache_ttl
set_mx_timeout