Module conf

Source
Expand description

Resolver configuration

There are two parts to this module: Query options that allow you to modify the behaviour of the resolver on a query by query basis and the global resolver configuration (normally read from the system’s /etc/resolv.conf) that contains things like the name servers to query and a set of default options.

Both parts are modeled along the lines of glibc’s resolver.

Structs§

ResolvConf
Resolver configuration.
ResolvOptions
Options for the resolver configuration.
SearchList
ServerConf
Configuration for one upstream DNS server.

Enums§

Error
The error that can happen when parsing resolv.conf.
Transport
The transport protocol to be used for a server.

Type Aliases§

SearchSuffix