Skip to main content

Module config

Module config 

Source

Structs§

AppConfig
ClusterConfig
Logical cluster policy shared by member servers.
DnsServerConfig
DnsTransportConfig
Plain DNS query endpoint for a configured server.
DohTransportConfig
DNS-over-HTTPS query endpoint for a configured server.
DoqTransportConfig
DNS-over-QUIC query endpoint for a configured server.
DotTransportConfig
DNS-over-TLS query endpoint for a configured server.
McpPermissions
SyncProfile
A named record-sync profile: copy records from one configured server to another, optionally rewriting IP addresses on A/AAAA records.
UpdateDefaultsReport
ValidationEndpointConfig
DNS endpoint used to validate imported or listed records.

Enums§

ClusterWritePolicy
Configured role for writes across a logical cluster.
EndpointUpdate
Specifies which transport endpoint on a server to create, replace, or remove.
ServerLocation
Whether the DNS server is on a local network or an external/cloud service.
ValidationTransport
Transport used to query a DNS endpoint.
VendorKind
Supported DNS vendor backends.

Constants§

CLOUDFLARE_DEFAULT_BASE_URL
PANGOLIN_DEFAULT_BASE_URL
PIHOLE_DEFAULT_BASE_URL
TECHNITIUM_DEFAULT_BASE_URL
UNIFI_DEFAULT_BASE_URL

Functions§

add_server
Append a new server entry to the config file. Creates the file if it does not exist yet. Existing file content — including comments and formatting — is preserved; only the new [[servers]] block is appended.
default_config_path
init_config
update_defaults
Add currently-known default values to existing server entries without overwriting any field or sub-table already present in the config file.
update_server_endpoint
Update a single transport endpoint on an existing server entry in the config file.