Skip to main content

Module config

Module config 

Expand description

Configuration for a resolver

Structs§

ConnectionConfig
Configuration for a connection to a nameserver
NameServerConfig
Configuration for the NameServer
OpportunisticEncryptionConfig
Configuration parameters for opportunistic encryption.
OpportunisticEncryptionPersistence
Configuration for persistence of opportunistic encryption probe state.
ResolverConfig
Configuration for the upstream nameservers to use for resolution
ResolverOpts
Configuration for the Resolver
ServerGroup
A group of DNS servers.

Enums§

LookupIpStrategy
The lookup ip strategy
OpportunisticEncryption
Configuration for enabling RFC 9539 opportunistic encryption.
ProtocolConfig
Protocol configuration
ResolveHosts
Whether the system hosts file should be respected by the resolver.
ServerOrderingStrategy
The strategy for establishing the query order of name servers in a pool.

Constants§

CLOUDFLARE
Cloudflare’s 1.1.1.1 DNS service configuration.
GOOGLE
Google Public DNS configuration.
QUAD9
The Quad9 DNS service configuration.