Settings reference

Every key of kudurru.yaml with its type, default, scope and environment variable.

Every settings key of kudurru.yaml, generated from the metadata table in internal/config/schema.go, the same table kudurru config schema prints and GET /api/v1/settings/_schema serves.

Where a value comes from. Each layer overrides the one before it:

  1. the built-in default (the Default column);
  2. the config file (--config, KUDURRU_CONFIG, default /etc/kudurru/kudurru.yaml);
  3. the settings file (settingsFile or KUDURRU_SETTINGS_FILE) for cluster-scope keys, which is where changes made in the UI, with kudurru settings set or with PATCH /api/v1/settings are written; it is watched and hot keys apply at once;
  4. the environment: KUDURRU_<SECTION>__<KEY>, with __ for every dot of the path (KUDURRU_LOG__LEVEL=debug), or KUDURRU_<SECTION>__<KEY>_FILE naming a file that holds the value. string[] values are comma-separated; list and map keys can only be set in a file. A key set from the environment is read-only in the UI, and a variable that names no key stops the server at start.

In Kubernetes, cluster sections default to GitOps ownership. Explicit adoption of the complete upstreams section enables UI/API writes to a separate shared ConfigMap; other file keys are never merged into that owned section. Generate Helm values, apply matching configuration and release ownership to return to GitOps. See settings ownership. Docker retains its writable settings-file behavior; explicit ownership is stored in its settingsOwnership metadata.

Scope. node keys belong to one host. cluster keys are shared by every node of a deployment.

Allowed values. The bold label is the name the UI shows. The Allowed line lists what a key accepts: a closed set, a range, a format (ip, cidr for a CIDR or a single address, hostport, url, domain, upstream for a server in dnsproxy syntax), the object a value names (ref) and the members of list and map values. The config file, the environment and the API reject anything else with an error naming the key.

Flags. host-only keys can only be set in the file or the environment on the host, never through the API or the UI (they name listeners, files and privileged behavior). restart keys take effect after a restart (in Kubernetes the chart rolls the pods); every other key is applied while the server runs. write-only keys are never returned by the API.

cluster

KeyTypeDefaultScopeDescription
cluster.rolestringautonodeCluster role. auto keeps the store driver's normal membership. static uses independent SQLite nodes with identical distributed files and refuses API object and cluster-setting changes; each node remains its own leader.
Allowed: one of auto | static.
host-only, restart
Environment: KUDURRU_CLUSTER__ROLE
cluster.peerslist[]nodeStatic peers. Between 1 and 64 unique node names and internal TLS host:port endpoints, including this node, when cluster.role is static. Every node needs the same list and shared internal credentials. These endpoints do not grant replication or promotion authority.
Allowed: items: {name (required): string; address (required): string (format hostport)}.
host-only, restart
Environment: file only.

branding

KeyTypeDefaultScopeDescription
branding.namestring(empty)clusterOrganization name. Public display name on the dashboard, sign-in and block page. Enterprise only. At most 80 characters; empty uses kudurru. Saved branding is retained when the license no longer permits it.
Environment: KUDURRU_BRANDING__NAME
branding.logoLightstring(empty)clusterLight logo. Static PNG data URL for light surfaces, at most 64 KiB decoded and 1024 pixels per dimension. Enterprise only. Empty uses the dark logo if supplied, otherwise built-in artwork. Upload through the Branding editor; remote URLs and SVG are not accepted.
Environment: KUDURRU_BRANDING__LOGOLIGHT
branding.logoDarkstring(empty)clusterDark logo. Static PNG data URL for dark surfaces, at most 64 KiB decoded and 1024 pixels per dimension. Enterprise only. Empty uses the light logo if supplied, otherwise built-in artwork. Upload through the Branding editor; remote URLs and SVG are not accepted.
Environment: KUDURRU_BRANDING__LOGODARK
branding.faviconstring(empty)clusterFavicon. Static PNG data URL for the browser icon, at most 64 KiB decoded and 256 pixels per dimension. Enterprise only. Empty uses the built-in icon. Upload through the Branding editor.
Environment: KUDURRU_BRANDING__FAVICON
branding.accentColorstring(empty)clusterAccent color. Six-digit hexadecimal accent color, e.g. #2457A6, for the dashboard and block page. Enterprise only. Accessible text and interaction colors are derived from it; empty keeps the selected theme's accent.
Environment: KUDURRU_BRANDING__ACCENTCOLOR

response

KeyTypeDefaultScopeDescription
response.dns64.prefixstring(empty)clusterDNS64 prefix. Synthesize IPv6 answers from IPv4 for a NAT64 network. Empty disables DNS64. Use your router's IPv6 /32, /40, /48, /56, /64 or /96 translation prefix, e.g. 64:ff9b::/96. Only AAAA NODATA answers are synthesized; queries requesting DNSSEC proofs keep the original response. A Policy can override this for selected clients.
Environment: KUDURRU_RESPONSE__DNS64__PREFIX
response.dns64.excludeDomainsstring[][]clusterDNS64 excluded domains. Domains and descendants excluded from DNS64, e.g. internal.example. At most 256. Both the question and the final alias target are checked.
Allowed: items: string (format domain).
Environment: KUDURRU_RESPONSE__DNS64__EXCLUDEDOMAINS
response.dns64.excludeIPv4string[][]clusterDNS64 excluded IPv4 networks. IPv4 networks excluded from DNS64, e.g. 192.168.0.0/16. At most 256 canonical CIDRs. Excluded addresses never become synthetic IPv6 answers.
Allowed: items: string (format cidr).
Environment: KUDURRU_RESPONSE__DNS64__EXCLUDEIPV4
response.filterAAAAboolfalseclusterFilter IPv6 answers. Remove IPv6 addresses and IPv6 service hints from forwarded responses. AAAA answers become NODATA. This takes precedence over DNS64 and clears DNSSEC authenticity on changed answers. A Policy can override this for selected clients; owned authoritative zones are unaffected.
Environment: KUDURRU_RESPONSE__FILTERAAAA
response.bogusNXDOMAINstring[][]clusterRedirect addresses treated as NXDOMAIN. Return NXDOMAIN when a forwarded answer contains an address in one of these networks, for upstreams that redirect missing domains to a search page. At most 256 canonical IPv4 or IPv6 CIDRs. This result is never immediately changed by the NXDOMAIN replacement settings.
Allowed: items: string (format cidr).
Environment: KUDURRU_RESPONSE__BOGUSNXDOMAIN
response.nxdomainIPv4string[][]clusterNXDOMAIN replacement IPv4 addresses. Replace upstream NXDOMAIN for A questions with these IPv4 addresses. Empty preserves NXDOMAIN. At most 16 addresses. This deliberately changes validated negative answers and clears AD; rebinding protection still applies to the replacement.
Allowed: items: string (format ipv4).
Environment: KUDURRU_RESPONSE__NXDOMAINIPV4
response.nxdomainIPv6string[][]clusterNXDOMAIN replacement IPv6 addresses. Replace upstream NXDOMAIN for AAAA questions with these IPv6 addresses. Empty preserves NXDOMAIN. At most 16 addresses. Disabled for clients with IPv6 filtering enabled; rebinding protection still applies.
Allowed: items: string (format ipv6).
Environment: KUDURRU_RESPONSE__NXDOMAINIPV6
response.ttlint300clusterSynthetic answer TTL (seconds). Lifetime in seconds for configured rewrites and NXDOMAIN replacements, from 1 to 86400. Also caps DNS64 answers, which cannot outlive their IPv4 answer or the original negative SOA TTL.
Allowed: range 1-86400.
Environment: KUDURRU_RESPONSE__TTL
response.rebinding.enabledboolfalseclusterProtect against DNS rebinding. Refuse forwarded or rewritten answers containing private, loopback, link-local, unspecified or multicast addresses, including service hints. Configure private-domain exceptions for internal forwarding. Owned authoritative answers and explicit block responses are exempt. An inspection budget overflow also refuses the response.
Environment: KUDURRU_RESPONSE__REBINDING__ENABLED
response.rebinding.privateDomainsstring[][]clusterDomains allowed private addresses. Domains allowed to return private addresses, including descendants. At most 256. Both the original question and the address record's owner must be in an allowed domain, so an alias cannot silently escape the exception.
Allowed: items: string (format domain).
Environment: KUDURRU_RESPONSE__REBINDING__PRIVATEDOMAINS
response.rebinding.bypassNetworksstring[][]clusterClients exempt from rebinding protection. Client networks exempt from rebinding protection. At most 256 canonical IPv4 or IPv6 CIDRs. Empty protects all clients; an explicit /0 disables protection for that address family.
Allowed: items: string (format cidr).
Environment: KUDURRU_RESPONSE__REBINDING__BYPASSNETWORKS

control

KeyTypeDefaultScopeDescription
control.allowedNetworksstring[][]clusterAllowed client networks. Client networks allowed to query DNS, for example 192.168.1.0/24 or fd00::/64. Empty allows all clients; loopback always passes this network check. Other clients receive REFUSED before local, cached or upstream answers. At most 1024 IPv4 or IPv6 CIDRs; changes take effect without restart.
Allowed: items: string (format cidr).
Environment: KUDURRU_CONTROL__ALLOWEDNETWORKS
control.blockedQTypesstring[][]clusterBlocked query types. DNS query types refused for every client, including loopback, for example ANY or HINFO. Empty blocks none. At most 256 case-insensitive DNS mnemonics or explicit TYPE1 through TYPE65535 values; changes take effect before local, cached or upstream answers without restart. Malformed queries still drop silently.
Environment: KUDURRU_CONTROL__BLOCKEDQTYPES

dnssec

KeyTypeDefaultScopeDescription
dnssec.enabledboolfalseclusterValidate DNSSEC. Validate forwarded DNS answers against the configured trust anchors. Invalid or incomplete proofs return SERVFAIL with an extended DNS error; unsigned delegations still work. Off by default for compatibility. A forward zone can override this default with spec.forward.dnssecValidation.
Environment: KUDURRU_DNSSEC__ENABLED
dnssec.useBuiltinAnchorsbooltrueclusterUse built-in root trust anchors. Trust the IANA root DS records shipped with this version. Software upgrades or an operator change maintain these anchors; no keys are trusted automatically from upstream responses. Turn off only when dnssec.trustAnchors supplies all trust roots you need.
Environment: KUDURRU_DNSSEC__USEBUILTINANCHORS
dnssec.trustAnchorsstring[][]clusterAdditional trust anchors. Additional trusted DS or DNSKEY records in DNS presentation format, e.g. a complete DS record for a private signed zone. At most 64. With useBuiltinAnchors off these replace the shipped root anchors, and at least one is required. Changes invalidate the old validation cache context immediately.
Environment: KUDURRU_DNSSEC__TRUSTANCHORS
dnssec.negativeTrustAnchorslist[]clusterTemporary validation exceptions. Temporary exceptions for broken signed domains (RFC 7646); at most 128. Every exception needs a reason and an absolute expiry no more than seven days away. It covers the domain and descendants, never sets AD, and stops applying at expiry even on cache hits. Reload and restart do not extend it.
Allowed: items: {domain (required): string (format domain); reason (required): string; expiresAt (required): string (format date-time)}.
Environment: file only.

node

KeyTypeDefaultScopeDescription
node.namestring(empty)nodeNode name. Name of this server in the dashboard, the query log and the block page, e.g. dns1. Empty uses the hostname. Every node of a cluster needs its own name; it identifies the node to the others.
host-only, restart
Environment: KUDURRU_NODE__NAME
node.lameduckduration2snodeLameduck drain window. How long the server keeps answering after it is told to stop, so devices and load balancers move to another server first, e.g. 2s; 0 stops at once. During this window readiness (/healthz/ready) answers 503 and the health name SERVFAIL, then the listeners close. The Helm chart also runs kudurru lameduck in preStop.
host-only, restart
Environment: KUDURRU_NODE__LAMEDUCK
node.dataDirstring/var/lib/kudurrunodeData directory. Directory where kudurru keeps its data, e.g. /var/lib/kudurru; it must be writable and should survive restarts and be backed up. It holds the object store (state.db), downloaded lists and keys. The query log (querylog.db) and local state (local.db) also live here unless node.querylogDir or node.localDir selects a separate directory.
host-only, restart
Environment: KUDURRU_NODE__DATADIR
node.querylogDirstring(empty)nodeQuery log directory. Directory for querylog.db and its SQLite sidecars. Empty keeps node.dataDir. Use a clean absolute path on writable node-local storage; stop the server and copy existing files before changing it. No files move automatically. Restart required.
host-only, restart
Environment: KUDURRU_NODE__QUERYLOGDIR
node.localDirstring(empty)nodeLocal state directory. Directory for local.db and its SQLite sidecars: snapshots, transferred zones and the response cache. Empty keeps node.dataDir. Use a clean absolute path on writable node-local storage; migrate files while stopped and restart. Independent volumes do not form an atomic backup.
host-only, restart
Environment: KUDURRU_NODE__LOCALDIR

dhcp

KeyTypeDefaultScopeDescription
dhcp.enabledboolfalsenodeDHCPv4 enabled. Assign IPv4 addresses on configured direct or trusted-relay LAN scopes. Disabled by default; requires Linux and, with store.driver sqlite, a complete DHCP configuration; with store.driver kube, scopes are DHCPScope objects and one replica serves through a relay to the dhcp.serverIP LoadBalancer address. Restart to apply changes. Supports named scopes, trusted relays and optional local DNS records; Optional three-node quorum failover replicates ownership; DHCPv6 is not supported.
host-only, restart
Environment: KUDURRU_DHCP__ENABLED
dhcp.interfacestring(empty)nodeLAN interface. Network interface serving the LAN, e.g. eth0. Required when DHCP is enabled; the server binds UDP port 67 on this interface and verifies that dhcp.serverIP is assigned to it. With store.driver kube: the pod interface receiving relayed packets, default eth0.
host-only, restart
Environment: KUDURRU_DHCP__INTERFACE
dhcp.serverIPstring(empty)nodeServer IPv4 address. Static IPv4 address of this server on the LAN, e.g. 192.168.1.2. Required when enabled, must be on the host interface and, for a direct scope, a usable address in dhcp.subnet; it is never assigned to clients. With store.driver kube: the LoadBalancer address relays send to, advertised as the server identifier.
Allowed: format ipv4.
host-only, restart
Environment: KUDURRU_DHCP__SERVERIP
dhcp.subnetstring(empty)nodeLAN subnet. IPv4 network of the LAN in CIDR notation, e.g. 192.168.1.0/24. Required when enabled; use the network address, with enough host addresses for the server and clients.
Allowed: format cidr.
host-only, restart
Environment: KUDURRU_DHCP__SUBNET
dhcp.rangeStartstring(empty)nodeDynamic range start. First IPv4 address of the inclusive dynamic range, e.g. 192.168.1.100. Required when enabled and must be in dhcp.subnet, no higher than dhcp.rangeEnd. Server, router and reserved addresses are excluded from allocation. In management=api scopes, live values are owned by the DHCP API and lease database; these host values seed the first start.
Allowed: format ipv4.
host-only, restart
Environment: KUDURRU_DHCP__RANGESTART
dhcp.rangeEndstring(empty)nodeDynamic range end. Last IPv4 address of the inclusive dynamic range, e.g. 192.168.1.200. Required when enabled and must be in dhcp.subnet, no lower than dhcp.rangeStart. In management=api scopes, live values are owned by the DHCP API and lease database; these host values seed the first start.
Allowed: format ipv4.
host-only, restart
Environment: KUDURRU_DHCP__RANGEEND
dhcp.routerstring(empty)nodeDefault gateway. IPv4 default gateway advertised to clients, e.g. 192.168.1.1. Required when enabled, must be a usable address in the client subnet and is never assigned to clients. In management=api scopes, live values are owned by the DHCP API and lease database; these host values seed the first start.
Allowed: format ipv4.
host-only, restart
Environment: KUDURRU_DHCP__ROUTER
dhcp.dnsServersstring[][]nodeClient DNS servers. IPv4 DNS servers advertised to clients in order, e.g. [192.168.1.2]. When enabled, specify 1 to 63 unicast IPv4 addresses. Set this explicitly to advertise kudurru; the existing DNS listeners are unchanged. In management=api scopes, live values are owned by the DHCP API and lease database; these host values seed the first start.
Allowed: items: string (format ipv4).
host-only, restart
Environment: KUDURRU_DHCP__DNSSERVERS
dhcp.domainNamestring(empty)nodeClient domain name. Domain name advertised to clients, e.g. home.example; empty omits the domain-name option. With registerDNS enabled, bound leases publish names in this domain outside configured DNS zones. In management=api scopes, live values are owned by the DHCP API and lease database; these host values seed the first start.
Allowed: format domain.
host-only, restart
Environment: KUDURRU_DHCP__DOMAINNAME
dhcp.leaseDurationduration12hnodeLease duration. How long an acknowledged address assignment lasts, e.g. 12h. When enabled, use whole seconds from 1m through 720h (30 days); clients renew before it expires. In management=api scopes, live values are owned by the DHCP API and lease database; these host values seed the first start.
host-only, restart
Environment: KUDURRU_DHCP__LEASEDURATION
dhcp.reservationslist[]nodeAddress reservations. IPv4 addresses reserved for devices by Ethernet MAC, with an optional hostname. Reserved addresses are excluded from the dynamic pool and may be elsewhere in dhcp.subnet. Hostnames also name local records when registerDNS is enabled. In management=api scopes, live values are owned by the DHCP API and lease database; these host values seed the first start.
Allowed: items: {mac (required): string; ip (required): string (format ipv4); hostname: string (format domain)}.
host-only, restart
Environment: file only.
dhcp.managementstringfilenodeManagement owner. Scope ownership: file keeps host settings authoritative; api seeds pool options and reservations from the config file once and persists live edits in dhcp.db. Enabled API-managed scopes reject mutable environment overrides; remove them or use file management. Change ownership on the host, then restart.
Allowed: one of file | api.
host-only, restart
Environment: KUDURRU_DHCP__MANAGEMENT
dhcp.relayOnlyboolfalsenodeRelay-only scope. Serve this scope only through configured trusted relays; serverIP may be outside the client subnet. Host topology requires restart.
host-only, restart
Environment: KUDURRU_DHCP__RELAYONLY
dhcp.trustedRelayslist[]nodeTrusted DHCP relays. Exact relay sourceIP and gatewayIP pairs trusted on the configured interface. Gateway addresses cannot be allocated. Set on the host and restart.
Allowed: items: {sourcePort: int (range 0-65535); linkSelection: string (format ipv4); serverIdentifier: string (format ipv4); sourceIP (required): string (format ipv4); gatewayIP (required): string (format ipv4)}.
host-only, restart
Environment: file only.
dhcp.registerDNSboolfalsenodeRegister local DNS records. Publish bound-lease A/PTR records under a dedicated domainName when no zone matches or the match is the catch-all root forward zone. Specific zones and a primary root retain precedence. In management=api scopes this option is changed through the DHCP API; this host value is a seed.
host-only, restart
Environment: KUDURRU_DHCP__REGISTERDNS
dhcp.dnsTTLduration30snodeLocal DNS TTL. Maximum TTL of generated local DNS records, whole seconds from 1s to 1h, clamped to the remaining lease. In management=api scopes use the DHCP API for live edits.
host-only, restart
Environment: KUDURRU_DHCP__DNSTTL
dhcp.scopeslist[]nodeDHCPv4 scopes. Named DHCPv4 scopes. Mutually exclusive with legacy flat scope fields; each scope has host-only topology and file or API ownership. API-managed pool options and reservations are durable and live; use the DHCP API rather than generic settings writes.
Allowed: items: {name (required): string; management: string (one of file | api, default file); interface (required): string; serverIP (required): string (format ipv4); subnet (required): string (format cidr); relayOnly: bool (default false); trustedRelays: list of {sourcePort: int (range 0-65535); linkSelection: string (format ipv4); serverIdentifier: string (format ipv4); sourceIP (required): string (format ipv4); gatewayIP (required): string (format ipv4)}; rangeStart (required): string (format ipv4); rangeEnd (required): string (format ipv4); router (required): string (format ipv4); dnsServers (required): list of string (format ipv4); domainName: string (format domain); leaseDuration: duration (default 12h); reservations: list of {mac (required): string; ip (required): string (format ipv4); hostname: string (format domain)}; registerDNS: bool (default false); dnsTTL: duration (default 30s); conflictDetection: string (one of auto | arp | icmp | disabled); probeTimeout: duration; ntpServers: list of string (format ipv4); domainSearch: list of string (format domain); classlessRoutes: list of {destination (required): string (format cidr); router (required): string (format ipv4)}; bootServer: string (format ipv4); bootServerName: string; bootFile: string; bootProfiles: list of {architecture (required): int (range 0-65535); bootServer: string (format ipv4); bootServerName: string; bootFile: string}; failoverServers: list of {nodeID (required): string; address (required): string (format ipv4)}}.
host-only, restart
Environment: file only.
dhcp.conflictDetectionstringautonodeAddress conflict detection. Probe before offering new addresses. Empty chooses ARP for direct scopes and ICMP for scopes with relays.
Allowed: one of auto | arp | icmp | disabled.
host-only, restart
Environment: KUDURRU_DHCP__CONFLICTDETECTION
dhcp.probeTimeoutduration0snodeAddress probe timeout. Conflict response deadline from 50ms through 500ms; zero uses 200ms.
host-only, restart
Environment: KUDURRU_DHCP__PROBETIMEOUT
dhcp.ntpServersstring[][]nodeNTP servers. IPv4 NTP servers advertised to DHCP clients.
Allowed: items: string (format ipv4).
host-only, restart
Environment: KUDURRU_DHCP__NTPSERVERS
dhcp.domainSearchstring[][]nodeSearch domains. DNS search domains advertised with option 119.
Allowed: items: string (format domain).
host-only, restart
Environment: KUDURRU_DHCP__DOMAINSEARCH
dhcp.classlessRouteslist[]nodeClassless routes. Routes advertised with option 121 and requested option 249; default routes must be explicit.
Allowed: items: {destination (required): string (format cidr); router (required): string (format ipv4)}.
host-only, restart
Environment: file only.
dhcp.bootServerstring(empty)nodeBoot server address. Optional IPv4 next-server address for network boot.
Allowed: format ipv4.
host-only, restart
Environment: KUDURRU_DHCP__BOOTSERVER
dhcp.bootServerNamestring(empty)nodeBoot server name. Optional network boot server name in option 66.
host-only, restart
Environment: KUDURRU_DHCP__BOOTSERVERNAME
dhcp.bootFilestring(empty)nodeBoot file or URL. Network boot filename or URL, at most 127 printable non-space ASCII bytes.
host-only, restart
Environment: KUDURRU_DHCP__BOOTFILE
dhcp.bootProfileslist[]nodeArchitecture boot profiles. Network boot settings selected by client architecture option 93.
Allowed: items: {architecture (required): int (range 0-65535); bootServer: string (format ipv4); bootServerName: string; bootFile: string}.
host-only, restart
Environment: file only.
dhcp.failoverServerslist[]nodeFailover server addresses. Server addresses of all failover voters for the default scope; excluded from allocation.
Allowed: items: {nodeID (required): string; address (required): string (format ipv4)}.
host-only, restart
Environment: file only.
dhcp.failover.enabledboolfalsenodeDHCP quorum failover. Replicate leases and management through three durable voters. A majority must commit before offering or acknowledging addresses.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__ENABLED
dhcp.failover.clusterIDstring(empty)nodeDHCP cluster ID. Stable lowercase identity for this DHCP quorum. All three nodes must use the same ID.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__CLUSTERID
dhcp.failover.nodeIDstring(empty)nodeDHCP voter ID. This node voter ID; must match a peer entry and its certificate common name.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__NODEID
dhcp.failover.listenAddressstring(empty)nodeDHCP replication listener. Local TCP listener for authenticated DHCP replication, for example 0.0.0.0:9167.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__LISTENADDRESS
dhcp.failover.peerslist[]nodeDHCP voters. Exactly three stable voting peer IDs and replication endpoints, identical on all nodes.
Allowed: items: {id (required): string; address (required): string (format hostport); apiURL: string (format url)}.
host-only, restart
Environment: file only.
dhcp.failover.bootstrapboolfalsenodeInitialize DHCP quorum. Explicitly initialize a new quorum on the alphabetically first voter only. Existing quorum data is never reset.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__BOOTSTRAP
dhcp.failover.caFilestring(empty)nodeDHCP replication CA file. Optional trusted CA bundle. Provide with certFile and keyFile, or use the shared cluster encryption key.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__CAFILE
dhcp.failover.certFilestring(empty)nodeDHCP replication certificate. Optional TLS certificate with this voter ID as common name and client/server authentication usage.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__CERTFILE
dhcp.failover.keyFilestring(empty)nodeDHCP replication key file. Optional private key path for the replication certificate. Secret contents are never returned by the API.
host-only, restart
Environment: KUDURRU_DHCP__FAILOVER__KEYFILE

listeners

KeyTypeDefaultScopeDescription
listeners.dnslist[{address: "0.0.0.0:53", protocols: [udp, tcp]}]nodeDNS listeners. Addresses where devices send plain DNS queries. Port 53 is what devices expect; the default 0.0.0.0:53 answers on every address over UDP and TCP. Bind one address, e.g. 192.168.1.10:53, when another service on the machine already uses port 53.
Allowed: items: {address (required): string (format hostport); protocols: list of string (one of udp | tcp) (default ["udp","tcp"])}.
host-only, restart
Environment: file only.
listeners.dotlist[]nodeDNS-over-TLS listeners. Encrypted DNS-over-TLS (DoT), usually on port 853, for devices that support it such as Android's Private DNS. Each entry needs an address, e.g. 0.0.0.0:853, and a certificate and key valid for the name devices use. Empty serves none. RFC 7858, ALPN dot.
Allowed: items: {address (required): string (format hostport); tls (required): {certFile (required): string; keyFile (required): string}; clientIDDomain: string (format domain)}.
host-only, restart
Environment: file only.
listeners.dohlist[]nodeDNS-over-HTTPS listeners. Encrypted DNS-over-HTTPS (DoH), usually on port 443, for browsers and devices that support it. Each entry needs an address, e.g. 0.0.0.0:443, a certificate and key, and optionally a path (default /dns-query). Empty serves none. RFC 8484, HTTP/2 and HTTP/1.1.
Allowed: items: {address (required): string (format hostport); path: string (default /dns-query); tls (required): {certFile (required): string; keyFile (required): string}; clientIDs: bool (default false)}.
host-only, restart
Environment: file only.
listeners.doqlist[]nodeDNS-over-QUIC listeners. Encrypted DNS-over-QUIC (DoQ), usually on UDP port 853, for clients that support it. Each entry needs an address, e.g. 0.0.0.0:853, and a certificate and key. Empty serves none. RFC 9250, ALPN doq.
Allowed: items: {address (required): string (format hostport); tls (required): {certFile (required): string; keyFile (required): string}; clientIDDomain: string (format domain)}.
host-only, restart
Environment: file only.
listeners.doh3list[]nodeDNS-over-HTTP/3 listeners. Encrypted DNS-over-HTTPS over HTTP/3 (QUIC), usually on UDP port 443, for browsers that support it. Each entry needs an address, e.g. 0.0.0.0:443, a certificate and key, and optionally a path (default /dns-query). Empty serves none. ALPN h3.
Allowed: items: {address (required): string (format hostport); path: string (default /dns-query); tls (required): {certFile (required): string; keyFile (required): string}; clientIDs: bool (default false)}.
host-only, restart
Environment: file only.
listeners.dnstaplist[]nodednstap listeners. Addresses where front ends such as dnsdist or Unbound send dnstap (Frame Streams, bidirectional or unidirectional), so that the queries they answer themselves, e.g. from their cache, appear in this node's query log. Each client query becomes one row: CLIENT_* and AUTH_* messages are recorded, a query and its response as one row; FORWARDER_* and resolver messages describe the sender's own upstream queries and are counted, not recorded. A message for a query this node answered itself (a front end forwarding to kudurru) is recognized by the client address and port, name, type and time and dropped, and messages with this node's own identity are dropped too. Recorded queries pass the privacy mode and exclusions of querylog, reach the local database, the live view and every additional sink but dnstap, so they never loop back. A slow or failing sender never delays DNS; frames above 192 KiB, malformed messages and overflow are dropped and counted in kudurru_querylog_dnstap_frames_total. Empty listens nowhere.
Allowed: items: {address (required): string; tls: {certFile: string; keyFile: string}; clientCAFile: string; allowFrom: list of string; identities: list of string; unforwardedIdentities: list of string; ignoreClients: list of string; maxConnections: int (default 0)}.
host-only, restart
Environment: file only.
listeners.api.addressstring0.0.0.0:8080nodeAPI and UI address. Address and port of the dashboard and the HTTP API, e.g. 0.0.0.0:8080 for every address or 127.0.0.1:8080 for this machine only; browse to https://<server address>:8080.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_LISTENERS__API__ADDRESS
listeners.api.tls.autostringselfsignednodeAPI automatic TLS. Whether the dashboard uses HTTPS with a certificate kudurru makes itself when no certificate file is set. selfsigned (default) encrypts the connection, though browsers warn because no public authority signed the certificate; off serves plain HTTP, for use behind a reverse proxy that handles TLS. The certificate is generated once into <node.dataDir>/keys/.
Allowed: one of selfsigned | off.
host-only, restart
Environment: KUDURRU_LISTENERS__API__TLS__AUTO
listeners.api.tls.certFilestring(empty)nodeAPI certificate file. Path of your own certificate for the dashboard (PEM, full chain), e.g. /etc/kudurru/tls/tls.crt; set it with the key file to replace the self-signed certificate. Takes precedence over listeners.api.tls.auto.
host-only, restart
Environment: KUDURRU_LISTENERS__API__TLS__CERTFILE
listeners.api.tls.keyFilestring(empty)nodeAPI key file. Path of the private key (PEM) of listeners.api.tls.certFile, e.g. /etc/kudurru/tls/tls.key.
host-only, restart
Environment: KUDURRU_LISTENERS__API__TLS__KEYFILE
listeners.api.pathPrefixstring(empty)nodeAPI path prefix. URL path the dashboard and API are served under when a reverse proxy mounts kudurru below the root of a site, e.g. /kudurru for https://home.example/kudurru/. Empty serves them at /.
host-only, restart
Environment: KUDURRU_LISTENERS__API__PATHPREFIX
listeners.api.trustedProxiesstring[][]nodeTrusted reverse proxies. Reverse proxies in front of the dashboard, as addresses or CIDRs, e.g. 192.168.1.5 or 10.0.0.0/8. Only requests from them may report the real client address and scheme in X-Forwarded-For and X-Forwarded-Proto; empty trusts no proxy.
Allowed: items: string (format cidr).
host-only, restart
Environment: KUDURRU_LISTENERS__API__TRUSTEDPROXIES
listeners.ops.addressstring0.0.0.0:8081nodeHealth listener address. Address and port of the health checks Docker, Kubernetes and load balancers poll, e.g. 0.0.0.0:8081 (/healthz/live, /healthz/ready). They need no login.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_LISTENERS__OPS__ADDRESS
listeners.metrics.addressstring0.0.0.0:9153nodeMetrics listener address. Address and port Prometheus scrapes metrics from (/metrics), e.g. 0.0.0.0:9153, or 127.0.0.1:9153 to keep them on this machine.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_LISTENERS__METRICS__ADDRESS
listeners.proxyProtocolFromstring[][]nodePROXYv2 peers. Only with a dnsdist front end: the peers allowed to tell kudurru the real client address in a PROXY protocol v2 header, as addresses or CIDRs, e.g. 192.168.1.2/32. Wider ranges, such as a pod CIDR, require listeners.proxyProtocolSecretFile. Leave empty when devices query kudurru directly. Use loopback only when dnsdist shares kudurru's network namespace.
Allowed: items: string (format cidr).
host-only, restart
Environment: KUDURRU_LISTENERS__PROXYPROTOCOLFROM
listeners.proxyProtocolSecretFilestring(empty)nodePROXYv2 secret file. Path of a file holding the secret shared with the dnsdist front end, at least 32 bytes, e.g. made with openssl rand -hex 32. Required when proxyProtocolFrom names a peer that is not loopback, so another host cannot forge client addresses. Carried in PROXYv2 TLV 0xE0.
host-only, restart
Environment: KUDURRU_LISTENERS__PROXYPROTOCOLSECRETFILE
listeners.internal.addressstring0.0.0.0:8082nodeNode-to-node listener address. Address and port the other nodes of a cluster use to reach this one, e.g. 0.0.0.0:8082; a single server does not need it reachable. Always TLS with a bearer token; it serves list bodies by digest and /internal/status.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_LISTENERS__INTERNAL__ADDRESS
listeners.internal.tokenFilestring(empty)nodeInternal token file. Path of a file holding the token nodes present to each other. Empty (the usual choice) derives it from the encryption key, so every node with the same KUDURRU_ENCRYPTION_KEY agrees on it (HKDF).
host-only, restart
Environment: KUDURRU_LISTENERS__INTERNAL__TOKENFILE
listeners.internal.tls.certFilestring(empty)nodeInternal certificate file. Path of the certificate (PEM) of the node-to-node listener, for your own PKI. Empty (the usual choice) issues one from a CA derived from the encryption key, which every node with the same key trusts.
host-only, restart
Environment: KUDURRU_LISTENERS__INTERNAL__TLS__CERTFILE
listeners.internal.tls.keyFilestring(empty)nodeInternal key file. Path of the private key (PEM) of listeners.internal.tls.certFile.
host-only, restart
Environment: KUDURRU_LISTENERS__INTERNAL__TLS__KEYFILE
listeners.internal.tls.caFilestring(empty)nodeInternal CA bundle. Path of the CA bundle (PEM) trusted when this node connects to other nodes; set it together with your own certificates. Empty trusts the CA derived from the encryption key.
host-only, restart
Environment: KUDURRU_LISTENERS__INTERNAL__TLS__CAFILE
listeners.internal.tls.serverNamestring(empty)nodeInternal TLS server name. Name checked in other nodes' certificates, e.g. kudurru-internal.home.example; it must be a SAN of listeners.internal.tls.certFile. Empty uses the fixed name of the derived certificates.
Allowed: format domain.
host-only, restart
Environment: KUDURRU_LISTENERS__INTERNAL__TLS__SERVERNAME
listeners.blockPage.httpstring:80nodeBlock page HTTP address. Address and port where the block page answers browsers over plain HTTP, e.g. :80; empty turns it off. Under the blockPage block response, blocked names point at this server, so a browser that opens one lands here. Needs blockPage.enabled.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_LISTENERS__BLOCKPAGE__HTTP
listeners.blockPage.httpsstring(empty)nodeBlock page HTTPS address. Optional address and port of the block page over HTTPS, e.g. :443; empty (the default) leaves it off. No certificate can be valid for the blocked names, so browsers show a certificate warning before the page, and sites that use HSTS show no page at all (docs/deploy/blocking-page.md).
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_LISTENERS__BLOCKPAGE__HTTPS
listeners.blockPage.tls.certFilestring(empty)nodeBlock page certificate file. Path of the certificate (PEM) of the HTTPS block page. Empty generates a self-signed one into <node.dataDir>/keys/blockpage.crt; a certificate of your own cannot match the blocked names either.
host-only, restart
Environment: KUDURRU_LISTENERS__BLOCKPAGE__TLS__CERTFILE
listeners.blockPage.tls.keyFilestring(empty)nodeBlock page key file. Path of the private key (PEM) of listeners.blockPage.tls.certFile.
host-only, restart
Environment: KUDURRU_LISTENERS__BLOCKPAGE__TLS__KEYFILE
listeners.socketsint0nodeSockets per DNS listener. How many sockets each UDP, TCP, DoT, DoQ and HTTP/3 DNS listener opens. 0 (default) opens one per CPU (GOMAXPROCS), 1 a single socket. Linux uses SO_REUSEPORT; QUIC routes by connection ID to preserve path migration, supports at most 256 sockets, and refuses startup if its routing filter cannot be installed. Other systems always use one socket.
Allowed: at least 0.
host-only, restart
Environment: KUDURRU_LISTENERS__SOCKETS
listeners.limits.maxTCPQueriesint0nodeTCP queries per connection. Maximum DNS queries served on one native TCP or DoT connection; 0 keeps connections unlimited. Positive limits close the connection after that many queries. Applies separately to each connection; restart required.
Allowed: range 0-2147483647.
host-only, restart
Environment: KUDURRU_LISTENERS__LIMITS__MAXTCPQUERIES
listeners.limits.quicMaxConnsint0nodeQUIC connections per listener. Maximum concurrent connections per native DoQ or DoH3 listener; 0 is unlimited. Excess connections are refused; an HTTP/3 connection rejected during its handshake reports a QUIC application error. Restart required; this does not configure a separate dnsdist edge.
Allowed: range 0-2147483647.
host-only, restart
Environment: KUDURRU_LISTENERS__LIMITS__QUICMAXCONNS
listeners.limits.idleTimeoutduration10snodeTCP and HTTP idle timeout. Close idle native TCP, DoT and DoH connections after this duration, e.g. 10s. Zero uses the 10s default; negative values are invalid. Restart required.
host-only, restart
Environment: KUDURRU_LISTENERS__LIMITS__IDLETIMEOUT
listeners.limits.quicIdleTimeoutduration30snodeQUIC idle timeout. Maximum idle duration for native DoQ and DoH3 connections, e.g. 30s; QUIC can negotiate a shorter timeout with the peer. Zero uses the 30s default; negative values are invalid. Restart required.
host-only, restart
Environment: KUDURRU_LISTENERS__LIMITS__QUICIDLETIMEOUT

store

KeyTypeDefaultScopeDescription
store.driverstringsqlitenodeStore driver. Where kudurru keeps its objects (zones, lists, policies, users): sqlite, a database file under node.dataDir, for Docker and single servers; kube, Kubernetes custom resources, which the Helm chart sets.
Allowed: one of sqlite | kube.
host-only, restart
Environment: KUDURRU_STORE__DRIVER
store.kube.expectedClusterIDstring(empty)nodeExpected Kubernetes cluster ID. Pin this installation to the independently provisioned kube-system namespace UID. Required to admit local.db during an API outage; missing or mismatched saved identities are refused. Empty preserves online-only startup compatibility. Obtain the UID from a trusted kubectl context before an outage; never copy it from saved state.
host-only, restart
Environment: KUDURRU_STORE__KUBE__EXPECTEDCLUSTERID
store.kube.startupTimeoutduration15snodeKubernetes sync timeout. Kubernetes only: how long to wait at start for the apiserver to deliver the objects, e.g. 15s. After that the node may answer from its last saved copy (local.db) only when its identity matches store.kube.expectedClusterID, until the apiserver catches up.
host-only, restart
Environment: KUDURRU_STORE__KUBE__STARTUPTIMEOUT
store.kube.snapshot.maxAgeduration24hnodeSnapshot maximum age. Kubernetes only: the oldest saved copy (local.db) the node may answer its own zones from while the apiserver is unreachable, e.g. 24h. An older copy is not trusted: the node reports not ready and its primary zones answer SERVFAIL.
host-only, restart
Environment: KUDURRU_STORE__KUBE__SNAPSHOT__MAXAGE

upstreams

KeyTypeDefaultScopeDescription
upstreams.importFilestring(empty)nodeImport upstream file. Optional dnsmasq server or dnsproxy routing file, at most 4 MiB. Relative paths use the node configuration directory. Supported rules become canonical upstream groups and conditional routes; unsupported directives or collisions reject the whole source. Environment values and stored UI ownership retain precedence. File changes follow normal configuration loading; this key does not add a file watcher.
host-only, restart
Environment: KUDURRU_UPSTREAMS__IMPORTFILE
upstreams.groupsmap{default: {servers: ["1.1.1.1:53", "9.9.9.9:53"], strategy: parallel_best, timeout: 2s}}clusterUpstream groups. The DNS servers kudurru asks for names it does not answer itself, in named groups; the group named default gets every query nothing else routes. Each group lists servers (e.g. 1.1.1.1, tls://dns.quad9.net), a strategy that picks among them and a timeout per server. Conditional forwarding, forward zones and policies send queries to other groups by name.
Allowed: values: {cache: bool (default false); mode: string (one of forward | recursive, default forward); servers: list of string (format upstream); strategy: string (one of parallel_best | strict | random | rtt_weighted, default parallel_best); timeout: duration (default 2s); tracePropagation: bool (default false)}.
Environment: file only.
upstreams.bootstrapstring[]["1.1.1.1:53"]clusterBootstrap resolvers. Plain DNS servers used only to look up the host names of upstream servers, such as dns.quad9.net in tls://dns.quad9.net, e.g. 1.1.1.1:53 or 9.9.9.9. Never asked for client queries.
Allowed: items: string (format upstream).
Environment: KUDURRU_UPSTREAMS__BOOTSTRAP
upstreams.conditionalmap{}clusterConditional forwarding. Send queries for some domains to a chosen upstream group, e.g. home.lan to a group holding your router, so local device names resolve. Each entry maps a domain suffix to a group name; the longest matching suffix wins, and a key may list several suffixes in dnsmasq form, "[/corp.example/10.in-addr.arpa/]". Non-default groups skip the response cache unless that group enables cache; default always uses the cache.
Allowed: values: string (ref upstreamGroup).
Environment: file only.
upstreams.ecs.modestringstripclusterEDNS Client Subnet. Whether upstream servers learn which network a query came from (EDNS Client Subnet). strip (default) never tells them, the private choice; forward and add can get answers from servers nearer the client, at the cost of revealing part of its address.
Allowed: one of strip | forward | add.
Environment: KUDURRU_UPSTREAMS__ECS__MODE
upstreams.ecs.ipv4Prefixint24clusterECS IPv4 prefix length. How much of an IPv4 client address EDNS Client Subnet may reveal, as a prefix length from 0 to 32: with 24 (default) only the network, e.g. 203.0.113.0/24, is sent. Used only when upstreams.ecs.mode is forward or add.
Allowed: range 0-32.
Environment: KUDURRU_UPSTREAMS__ECS__IPV4PREFIX
upstreams.ecs.ipv6Prefixint56clusterECS IPv6 prefix length. How much of an IPv6 client address EDNS Client Subnet may reveal, as a prefix length from 0 to 128: with 56 (default) only the /56 network is sent. Used only when upstreams.ecs.mode is forward or add.
Allowed: range 0-128.
Environment: KUDURRU_UPSTREAMS__ECS__IPV6PREFIX
upstreams.recursion.dnssecbooltrueclusterDNSSEC validation. Check DNSSEC signatures on answers from recursive groups, from the root trust anchors down. Forged or broken answers in signed zones become SERVFAIL (status dnssec_bogus) instead of reaching devices; unsigned zones still resolve. Clients that set the CD bit get the data anyway.
Environment: KUDURRU_UPSTREAMS__RECURSION__DNSSEC
upstreams.recursion.anchorModestringstaticclusterRoot anchor mode. Static uses the configured roots or shipped defaults. Managed requires explicit root DS seeds and DNSSEC, retains accepted rollover history and revocations, and refuses static fallback after initialization. Applies only to recursive groups. Managed requires the SQLite store driver; the Kubernetes driver refuses it.
Allowed: one of static | managed.
Environment: KUDURRU_UPSTREAMS__RECURSION__ANCHORMODE
upstreams.recursion.managedTopologystringdisablednodeManaged root topology. Declare the complete SQLite ingress topology before enabling managed roots. Direct refuses PROXYv2 peers and edge entries. Edges requires a complete local image, internal credentials and every managedEdges observation at startup. The declaration cannot discover undeclared proxies. Disabled never enables managed serving.
Allowed: one of disabled | direct | edges.
host-only, restart
Environment: KUDURRU_UPSTREAMS__RECURSION__MANAGEDTOPOLOGY
upstreams.recursion.managedEdgeslist[]nodeManaged root edge fleet. Every caching edge through which clients reach this node, for managedTopology edges. Declare 1–32 unique retained deployments with exact installed backend membership. All must authenticate and acknowledge persistent cache bypass before startup admission; no partial fleet or readiness-only fallback.
Allowed: items: {node (required): string; address (required): string (format hostport); deployment (required): string; backendAddress (required): string (format hostport); backendInternalAddress (required): string (format hostport)}.
host-only, restart
Environment: file only.
upstreams.recursion.qnameMinimizationbooltrueclusterQNAME minimization. Send each name server only as much of the name as it needs (QNAME minimization, RFC 9156): the root servers learn com, not www.example.com. Recursive groups only.
Environment: KUDURRU_UPSTREAMS__RECURSION__QNAMEMINIMIZATION
upstreams.recursion.ipv6stringautoclusterIPv6 to name servers. Whether recursive groups ask name servers over IPv6. auto (default) does when this host has an IPv6 route to the root servers.
Allowed: one of auto | on | off.
Environment: KUDURRU_UPSTREAMS__RECURSION__IPV6
upstreams.recursion.trustAnchorsstring[][]clusterRoot trust anchors. Root DS records DNSSEC validation trusts, e.g. 20326 8 2 E06D44B8...; empty (the default) uses the built-in KSK-2017 and KSK-2024 anchors from IANA. Only for a root key rollover the built-in list does not know yet, or for a private root.
Environment: KUDURRU_UPSTREAMS__RECURSION__TRUSTANCHORS
upstreams.recursion.negativeTrustAnchorslist[]clusterRecursive validation exceptions. Temporary validation exceptions for recursive groups only (RFC 7646); independent of dnssec.negativeTrustAnchors for forwarders. At most 128 domains, each with a reason and absolute expiry no more than seven days away. Covers descendants, never sets AD, and expires on cache hits without reload. Restart or restore never renews it.
Allowed: items: {domain (required): string (format domain); reason (required): string; expiresAt (required): string (format date-time)}.
Environment: file only.
upstreams.recursion.rootHintsstring[][]clusterRoot hints. Numeric addresses of the root servers recursive groups start from, e.g. 198.41.0.4 or 192.0.2.53:5353; empty (the default) uses the built-in IANA list. Only for a private root or a lab: with custom hints, name servers on private and link-local addresses are asked too, which the public tree never allows.
Allowed: items: string (format ipport).
Environment: KUDURRU_UPSTREAMS__RECURSION__ROOTHINTS

cache

KeyTypeDefaultScopeDescription
cache.maxEntriesint200000clusterMaximum cache entries. How many answers the cache holds, e.g. 200000; when it is full the least recently used answer is dropped. More entries mean more cache hits and more memory; 0 turns the cache off.
Allowed: at least 0.
Environment: KUDURRU_CACHE__MAXENTRIES
cache.minTTLduration5sclusterMinimum TTL. Shortest time an answer stays cached, even when its record asks for less, e.g. 5s. Raising it saves upstream queries but keeps changed addresses longer; 0 honors every record's TTL.
Environment: KUDURRU_CACHE__MINTTL
cache.maxTTLduration24hclusterMaximum TTL. Longest time an answer stays cached, even when its record asks for more, e.g. 24h; lower it so changed addresses show up sooner. 0 sets no upper limit.
Environment: KUDURRU_CACHE__MAXTTL
cache.negativeTTLduration5mclusterMaximum negative TTL. Longest time a "does not exist" answer (NXDOMAIN or NODATA) stays cached, e.g. 5m; shorter lets a newly created name resolve sooner. Below it the zone's SOA minimum applies (RFC 2308).
Environment: KUDURRU_CACHE__NEGATIVETTL
cache.prefetch.thresholdint5clusterPrefetch threshold (hits). Refresh popular answers shortly before they expire, so nobody waits for the upstream: an answer asked for this many times within cache.prefetch.window counts as popular, e.g. 5. 0 turns prefetching off.
Allowed: at least 0.
Environment: KUDURRU_CACHE__PREFETCH__THRESHOLD
cache.prefetch.windowduration2hclusterPrefetch window. Time over which the hits for cache.prefetch.threshold are counted, e.g. 2h.
Environment: KUDURRU_CACHE__PREFETCH__WINDOW
cache.serveStale.ttlduration72hclusterServe stale for. When every upstream server fails, keep answering from expired cache entries for up to this long after they expired, e.g. 72h, so names you already use keep working through an outage. 0 turns it off (RFC 8767 serve-stale).
Environment: KUDURRU_CACHE__SERVESTALE__TTL
cache.serveStale.answerTTLduration30sclusterStale answer TTL. TTL given to an expired answer served this way, e.g. 30s, so clients ask again soon; after a failed refresh, queries for the entry also stop waiting for the upstream for this long. 0 means 30s (RFC 8767).
Environment: KUDURRU_CACHE__SERVESTALE__ANSWERTTL
cache.serveStale.maxWaitduration1800msclusterStale answer wait. How long a query for an expired entry waits for a fresh upstream answer before the expired one is sent, e.g. 1800ms; 0 means 1800ms (RFC 8767 client response timer).
Environment: KUDURRU_CACHE__SERVESTALE__MAXWAIT

blocking

KeyTypeDefaultScopeDescription
blocking.enabledbooltrueclusterBlocking enabled. Block ads, trackers and other listed names for the whole network; off answers every query unfiltered. To pause blocking for a while, use the temporary disable on the dashboard instead (a runtime toggle, not this key). Applies to forwarded queries, not to your own zones.
Environment: KUDURRU_BLOCKING__ENABLED
blocking.defaultResponsestringzeroIPclusterDefault block response. What a blocked query is answered with, unless the client's Policy (blockMode) or the BlockList (response) chooses otherwise. zeroIP (default) makes the connection fail at once and suits most networks; blockPage shows browsers a page that explains the block; refused is discouraged, because devices then ask another DNS server.
Allowed: one of zeroIP | nxdomain | customIP | refused | blockPage.
Environment: KUDURRU_BLOCKING__DEFAULTRESPONSE
blocking.blockTTLduration10mclusterBlock response TTL. How long devices may remember a block answer, e.g. 10m, unless the Policy sets blockTTL. Keep it short: after you allow a name, devices keep the cached block until it expires.
Environment: KUDURRU_BLOCKING__BLOCKTTL
blocking.allowDegradedbooltrueclusterServe while lists load. Answer queries and report ready while blocklists are still loading, e.g. right after a restart; queries are filtered by the lists already loaded. Off, the node reports not ready until every referenced list is loaded, so load balancers keep traffic away.
Environment: KUDURRU_BLOCKING__ALLOWDEGRADED
blocking.customIP.v4string(empty)clusterCustom block IPv4. IPv4 address blocked A queries are answered with when the block response is customIP, e.g. 192.168.1.10 for a server of yours that shows a notice. Empty answers NODATA.
Allowed: format ipv4.
Environment: KUDURRU_BLOCKING__CUSTOMIP__V4
blocking.customIP.v6string(empty)clusterCustom block IPv6. IPv6 address blocked AAAA queries are answered with when the block response is customIP, e.g. fd00::10. Empty answers NODATA.
Allowed: format ipv6.
Environment: KUDURRU_BLOCKING__CUSTOMIP__V6
blocking.refreshIntervalduration24hclusterList refresh interval. How often blocklists are downloaded again when a list sets no refreshInterval of its own, e.g. 24h; at least 1m. In a cluster the leader downloads and the other nodes copy its result by digest.
Environment: KUDURRU_BLOCKING__REFRESHINTERVAL
blocking.initStrategystringfastclusterList loading at start. What happens at start while blocklists load: fast (default) serves at once using the copies saved on disk; blocking waits until every list is loaded; failOnError also exits when a list cannot be loaded.
Allowed: one of fast | blocking | failOnError.
restart
Environment: KUDURRU_BLOCKING__INITSTRATEGY
blocking.listsDirstring(empty)nodeList cache directory. Directory where downloaded blocklists are saved so the next start can use them at once. Empty uses <node.dataDir>/lists. Files are named by the sha256 of the list URL.
host-only, restart
Environment: KUDURRU_BLOCKING__LISTSDIR
blocking.httpsOnlyboolfalsenodeHTTPS-only downloads. Require HTTPS for new external BlockList and catalog downloads, including every redirect. HTTP is refused before contact; normal certificate validation and local-address restrictions still apply. Existing cached data and internal peer copies are retained, not requalified. Enable on every fetching node. Inline and ConfigMap sources are unaffected.
host-only, restart
Environment: KUDURRU_BLOCKING__HTTPSONLY
blocking.allowLocalListURLsboolfalsenodeAllow local list URLs. Allow blocklist URLs that point at this machine or at special addresses: loopback, link-local (169.254.0.0/16, fe80::/10, where cloud metadata services live), unspecified and multicast. Off by default so whoever can add a BlockList cannot make the node fetch internal services (SSRF). Lists on private LAN addresses such as 192.168.1.5 are always allowed.
host-only, restart
Environment: KUDURRU_BLOCKING__ALLOWLOCALLISTURLS
blocking.catalogue.urlstring(empty)clusterCatalogue URL. Leave empty to use the blocked-services and safe-search catalogue built into kudurru. A URL, e.g. https://example.com/kudurru-catalogue.json, replaces it with your own document (schema version 2, or 1, docs/deploy/blocked-services.md). The leader downloads it and the other nodes copy the leader's; a document that fails validation leaves the current catalogue in service.
Allowed: format url.
restart
Environment: KUDURRU_BLOCKING__CATALOGUE__URL
blocking.catalogue.adguardServicesURLstring(empty)clusterAdGuard services URL (GPL-3.0, opt-in). Off when empty. Opt-in: a URL of AdGuard's HostlistsRegistry blocked-services file, e.g. https://raw.githubusercontent.com/AdguardTeam/HostlistsRegistry/main/assets/services.json, adds its services (about 140) to the catalogue next to kudurru's own; kudurru's entries win when both have an ID. That data is GPL-3.0 licensed: kudurru does not ship it, your instance downloads it (the leader, on the catalogue refresh interval; the other nodes copy the leader's), and the dashboard marks those services as from AdGuard (GPL-3.0). Check that the licence suits how you use and share the data. docs/deploy/blocked-services.md.
Allowed: format url.
restart
Environment: KUDURRU_BLOCKING__CATALOGUE__ADGUARDSERVICESURL
blocking.catalogue.refreshIntervalduration24hclusterCatalogue refresh interval. How often the catalogue at blocking.catalogue.url and the AdGuard services at blocking.catalogue.adguardServicesURL are checked for a new version, e.g. 24h; at least 1m. A conditional GET, so an unchanged document is not downloaded again.
restart
Environment: KUDURRU_BLOCKING__CATALOGUE__REFRESHINTERVAL

blockPage

KeyTypeDefaultScopeDescription
blockPage.enabledboolfalseclusterBlock page enabled. Show browsers a page that explains why a site was blocked, instead of a connection error. Turning it on starts the block page listener (listeners.blockPage) and allows the blockPage block response; choose that response in blocking.defaultResponse or a Policy. Blocked A and AAAA queries then point at blockPage.ipv4 and blockPage.ipv6; other types get NODATA.
restart
Environment: KUDURRU_BLOCKPAGE__ENABLED
blockPage.ipv4string(empty)clusterBlock page IPv4 address. Address browsers are sent to for the block page, e.g. 192.168.1.10: this server's LAN address, or a VIP or load balancer in front of the block page. Blocked A queries are answered with it under the blockPage response. Empty picks the first specific address of listeners.blockPage, else of listeners.dns; when every listener binds all addresses (0.0.0.0, ::) there is none, and blockPage.enabled is refused.
Allowed: format ipv4.
Environment: KUDURRU_BLOCKPAGE__IPV4
blockPage.ipv6string(empty)clusterBlock page IPv6 address. IPv6 address browsers are sent to for the block page, e.g. fd00::10; blocked AAAA queries are answered with it under the blockPage response. When blockPage.ipv4 is empty too, one is picked from the listeners as for IPv4; without an IPv6 address, AAAA queries get NODATA and browsers use IPv4.
Allowed: format ipv6.
Environment: KUDURRU_BLOCKPAGE__IPV6
blockPage.titlestringThis site is blockedclusterPage title. Heading of the block page, e.g. This site is blocked (plain text, at most 200 characters).
Environment: KUDURRU_BLOCKPAGE__TITLE
blockPage.messagestringThe administrator of this network has blocked access to this domain.clusterPage message. Text under the heading that tells people why the site is blocked and what they can do (plain text, at most 2000 characters; HTML is shown as text).
Environment: KUDURRU_BLOCKPAGE__MESSAGE
blockPage.contactstring(empty)clusterAdministrator contact. How people reach you, shown as "Ask your administrator": an email address, e.g. admin@home.example, or a link, e.g. https://wiki.home.example/dns. Empty leaves the line out.
Environment: KUDURRU_BLOCKPAGE__CONTACT
blockPage.showDetailsbooltrueclusterShow block details. Show what blocked the name (the list, rule, blocked service, safe search or policy), looked up in the recent query log. Off shows only the domain, the client, the node and the time, which keeps your list choices private.
Environment: KUDURRU_BLOCKPAGE__SHOWDETAILS
blockPage.dashboardURLstring(empty)clusterDashboard URL. Address of the dashboard the block page links administrators to, e.g. https://192.168.1.10:8080; the link opens /queries?domain=... there. Empty builds it from the block page address and listeners.api; set it when the dashboard is reached under another name or through a reverse proxy.
Allowed: format url.
Environment: KUDURRU_BLOCKPAGE__DASHBOARDURL
blockPage.rateLimitint120clusterRequests per minute per client. Most block page requests one client address may make per minute, e.g. 120, with bursts up to the same number; beyond it the page answers 429 Too Many Requests. 0 removes the limit.
Allowed: range 0-100000.
Environment: KUDURRU_BLOCKPAGE__RATELIMIT

unblockRequests

KeyTypeDefaultScopeDescription
unblockRequests.enabledbooltrueclusterUnblock requests. Let people ask for a blocked site to be unblocked: the block page shows a Request access form, and requests appear on the dashboard's Requests page for an administrator to approve or deny. Needs blockPage.enabled.
Environment: KUDURRU_UNBLOCKREQUESTS__ENABLED
unblockRequests.rateLimitint5clusterUnblock requests per hour per client. Most unblock requests one client may send per hour, e.g. 5; IPv6 clients are counted per /64. Asking again for the same name updates the pending request instead of adding one.
Allowed: range 1-100.
Environment: KUDURRU_UNBLOCKREQUESTS__RATELIMIT
unblockRequests.maxPendingint1000clusterMost pending unblock requests. Most undecided unblock requests kept across the cluster, e.g. 1000. When reached, the block page says requests are paused until an administrator decides some.
Allowed: range 1-10000.
Environment: KUDURRU_UNBLOCKREQUESTS__MAXPENDING
unblockRequests.pendingExpiryduration336hclusterPending requests expire after. Undecided unblock requests expire after this long, e.g. 336h (14 days); at least 1h.
Environment: KUDURRU_UNBLOCKREQUESTS__PENDINGEXPIRY
unblockRequests.retentionduration720hclusterKeep decided requests for. How long decided and expired unblock requests stay on the Requests page, counted from the decision, e.g. 720h (30 days); at least 1h. A time-limited approval is kept until it ends.
Environment: KUDURRU_UNBLOCKREQUESTS__RETENTION

querylog

KeyTypeDefaultScopeDescription
querylog.enabledbooltrueclusterQuery log enabled. Record the queries each node answers, for the dashboard's query log, statistics and charts; off stops new recording and preserves earlier local history. Each node keeps its own log (querylog.db with rollups, the stats API).
Environment: KUDURRU_QUERYLOG__ENABLED
querylog.sinkstringsqliteclusterQuery log sink. Where queries are recorded: sqlite (default) keeps them in a database the dashboard reads; slog writes one JSON log line per query without adding database rows, for an external log system.
Allowed: one of sqlite | slog.
Environment: KUDURRU_QUERYLOG__SINK
querylog.privacystringfullclusterQuery log privacy. How much of each query is kept: full keeps everything; the other modes hide client addresses, query names or both, and nothing keeps only per-minute totals. Applied once when the query is recorded, so it cannot be undone for queries already logged. Only full stores the answer summary.
Allowed: one of full | anonymize_client | hide_domains | hide_domains_clients | nothing.
Environment: KUDURRU_QUERYLOG__PRIVACY
querylog.anonymizestringprefixclusterClient anonymization. How client addresses are hidden under the anonymize_client privacy mode: prefix keeps only the network (IPv4 /24, IPv6 /48), so devices in one network look alike; pseudonym replaces each address with a code that is stable for a day and cannot be reversed.
Allowed: one of prefix | pseudonym.
Environment: KUDURRU_QUERYLOG__ANONYMIZE
querylog.retention.rawduration720hclusterKeep query rows for. How long individual queries are kept, e.g. 720h (30 days); 0 keeps them until querylog.retention.maxDBBytes is reached. The totals behind the charts are kept longer: per minute for 35 days, per hour for 400 days, per day forever.
Environment: KUDURRU_QUERYLOG__RETENTION__RAW
querylog.retention.maxDBBytesbytes10GiBclusterMaximum query log size. Largest size of the query log database on each node, e.g. 10GiB; when it is exceeded the oldest queries are deleted first. 0 removes the cap.
Environment: KUDURRU_QUERYLOG__RETENTION__MAXDBBYTES
querylog.exclude.domainsstring[][]clusterDomains never logged. Names that are never logged, e.g. *.home.arpa or connectivitycheck.gstatic.com: exact names, *.suffix for a domain and everything below it, or /regex/.
Environment: KUDURRU_QUERYLOG__EXCLUDE__DOMAINS
querylog.exclude.clientsstring[][]clusterClients never logged. Clients whose queries are never logged, e.g. 192.168.1.20, 10.0.0.0/8 or a client name such as nas: IP addresses, CIDR prefixes or client names.
Environment: KUDURRU_QUERYLOG__EXCLUDE__CLIENTS
querylog.exclude.sudnbooltrueclusterSkip special-use names. Leave out names that never leave the local network, which keeps local discovery noise out of the log: localhost, .local, .home.arpa and private and link-local reverse zones (special-use names, RFC 6761).
Environment: KUDURRU_QUERYLOG__EXCLUDE__SUDN
querylog.sinkslist[]clusterAdditional query log sinks. Additional destinations that receive every recorded query next to querylog.sink, e.g. a ClickHouse table, Grafana Loki, a dnstap collector or log lines for a log pipeline while the dashboard keeps its database; at most 8. Each has its own bounded queue: a slow or failing destination loses only its own queries, which are counted, and never delays DNS answers, the local database or the live view. Queries arrive with the privacy mode and exclusions already applied, nothing under the nothing mode, and nothing while querylog.enabled is off; only a dnstap sink with raw: true, which an administrator sets, receives queries as they were, never excluded ones. Changes apply without a restart: an unchanged entry keeps running, a removed one finishes what it holds, and a new one starts with new queries only.
Allowed: items: {name (required): string; type (required): string (one of slog | clickhouse | loki | dnstap); queueSize: int (range 100-100000, default 10000); batchSize: int (range 1-10000, default 1000); flushInterval: duration (default 1s); timeout: duration (default 10s); attempts: int (range 1-10, default 3); retryBackoff: duration (default 1s); clickhouse: {url (required): string; database: string (default kudurru); table: string (default queries); username: string; passwordRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; caRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; compression: string (one of gzip | none, default gzip)}; loki: {url (required): string; tenant: string; username: string; passwordRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; bearerTokenRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; caRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; labels: map of string to string; structuredMetadata: bool (default true); compression: string (one of gzip | none, default gzip)}; dnstap: {target (required): string; serverName: string; caRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; certRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; keyRef: {secretRef: {name (required): string; key (required): string}; file: string; env: string}; identity: string; types: list of string (one of client_query | client_response | auth_query | auth_response | forwarder_query | forwarder_response); raw: bool (default false)}}.
Environment: file only.

database

KeyTypeDefaultScopeDescription
database.dsnstringnodeDatabase connection. Optional PostgreSQL 16 or newer database that keeps the audit events, query log and statistics of every node in one place, so every node shows the same history and it outlives the nodes; empty (default) keeps them on each node. A connection string, e.g. postgres://kudurru@db.example:5432/kudurru?sslmode=verify-full; it may hold a password, so set it in the file or with KUDURRU_DATABASE__DSN_FILE. DNS never depends on it: nodes keep their own copy and send it when the database is reachable. docs/deploy/postgres.md.
host-only, restart, write-only
Environment: KUDURRU_DATABASE__DSN
database.maxConnsint4nodeDatabase connections per node. Most connections each node opens to the central database, e.g. 4.
Allowed: range 1-32.
host-only, restart
Environment: KUDURRU_DATABASE__MAXCONNS
database.querylog.shipbooltrueclusterSend the query log to the database. With database.dsn set, every node copies its query log and statistics into the central database, so the dashboard's All nodes view shows every node's queries and totals whichever node serves it. Each node keeps its own querylog.db too. Needs querylog.sink sqlite.
restart
Environment: KUDURRU_DATABASE__QUERYLOG__SHIP
database.querylog.factsbooltrueclusterSend individual queries. Copy the individual queries, not only the statistics. At 1000 queries per second that is about 25 GB a day before retention; off keeps the cluster-wide charts, totals and top lists but the All nodes query log is empty.
restart
Environment: KUDURRU_DATABASE__QUERYLOG__FACTS
database.querylog.retention.rawduration168hclusterKeep queries in the database for. How long individual queries are kept in the central database, e.g. 168h (7 days); whole days are dropped. 0 keeps them. Statistics are kept like on the nodes: per minute 35 days, per hour 400 days, per day forever.
restart
Environment: KUDURRU_DATABASE__QUERYLOG__RETENTION__RAW

ratelimit

KeyTypeDefaultScopeDescription
ratelimit.enabledbooltrueclusterRate limiting enabled. Limit how many queries per minute one address or network may send over UDP, which blunts floods and reflection attacks. TCP, DoT, DoH, DoQ and DoH3 are never limited, nor loopback clients and the health name.
Environment: KUDURRU_RATELIMIT__ENABLED
ratelimit.ipv4map{24: 6000, 32: 600}clusterIPv4 limits (queries per minute). Queries per minute allowed per IPv4 address or network, by prefix length: 32 is one address (default 600), 24 a /24 network (default 6000). Entries merge with the defaults key by key, and 0 turns a level off. Each prefix has a token bucket holding one minute's allowance.
Allowed: keys: int (range 0-32); values: int (at least 0).
Environment: file only.
ratelimit.ipv6map{128: 600, 56: 12000, 64: 6000}clusterIPv6 limits (queries per minute). Queries per minute allowed per IPv6 address or network, by prefix length: 128 is one address (default 600), 64 a /64 network (6000), 56 a /56 (12000). Entries merge with the defaults key by key, and 0 turns a level off.
Allowed: keys: int (range 0-128); values: int (at least 0).
Environment: file only.
ratelimit.slipint50clusterSlip (percent answered TC=1). Share of over-limit queries, in percent from 0 to 100, answered with an empty truncated reply (TC=1) instead of being dropped, e.g. 50; real clients then retry over TCP, which is not limited. 0 drops them all, 100 answers them all.
Allowed: range 0-100.
Environment: KUDURRU_RATELIMIT__SLIP
ratelimit.maxBucketsint65536clusterTracked prefixes. Most addresses and networks tracked at once, e.g. 65536 (0 means 65536); the least recently seen is forgotten first and starts again with a full allowance.
Allowed: at least 0.
Environment: KUDURRU_RATELIMIT__MAXBUCKETS
ratelimit.exemptstring[][]clusterExempt clients. Addresses or networks that are never rate limited, e.g. 192.168.1.0/24 for your LAN or the address of a busy resolver that forwards to kudurru. Loopback always is.
Allowed: items: string (format cidr).
Environment: KUDURRU_RATELIMIT__EXEMPT

Top-level keys

KeyTypeDefaultScopeDescription
objectslist[]nodeInline objects. Zones, lists, groups and policies declared in this file as Kubernetes manifests (apiVersion, kind, metadata, spec). Valid file edits are watched and applied without restarting; invalid or unreadable input keeps the previous objects. A valid empty list removes its owned objects. The dashboard cannot edit file-managed objects. An environment override remains fixed until restart.
Allowed: items: {apiVersion: string; kind: string; metadata: object; spec: object}.
host-only
Environment: file only.
settingsFilestring(empty)nodeSettings file. Path of a file for the cluster-wide settings, e.g. /etc/kudurru/settings.yaml, read on top of this file and watched, so edits apply without a restart. In Docker, changes made on the Settings page are saved into it; without one they are lost on restart. KUDURRU_SETTINGS_FILE takes precedence, and the Helm chart mounts /etc/kudurru/settings/settings.yaml. Empty turns the layer off (D25).
host-only, restart
Environment: KUDURRU_SETTINGSFILE
objectsDirstring/etc/kudurru/objects.dnodeObjects directory. Directory of *.yaml files with zones, lists, groups and policies, e.g. /etc/kudurru/objects.d. It is watched: adding or editing a file applies it, and deleting a document deletes the object. The objects are managed by file:<dir>/<name>, so the dashboard cannot change them.
host-only, restart
Environment: KUDURRU_OBJECTSDIR
tsigKeyslistnodeTSIG keys. Shared keys that authenticate zone transfers and NOTIFY between kudurru and other DNS servers; only needed when you transfer zones. Each key has a name, an algorithm and a file holding the secret, and a zone lists the keys it accepts in spec.policy.transferTSIGKeyRefs (TSIG, RFC 8945).
Allowed: items: {name (required): string (format domain); algorithm (required): string (one of hmac-sha256 | hmac-sha512); secretFile (required): string}.
host-only, restart, write-only
Environment: file only.

notify

KeyTypeDefaultScopeDescription
notify.sourcestring(empty)nodeNOTIFY source address. Local IP address that NOTIFY messages to secondary servers are sent from, e.g. 192.168.1.10; empty lets the system choose. Secondaries accept NOTIFY only from an address they list as a primary.
Allowed: format ip.
host-only, restart
Environment: KUDURRU_NOTIFY__SOURCE

externalDNS

KeyTypeDefaultScopeDescription
externalDNS.crd.enabledboolfalsenodeDNSEndpoint source enabled. Read externaldns.k8s.io/v1alpha1 DNSEndpoint objects directly on Kubernetes. The elected controller maintains source-owned DNSRecordSets without changing the source CRs. Requires the integrations feature and the DNSEndpoint CRD installed separately.
host-only, restart
Environment: KUDURRU_EXTERNALDNS__CRD__ENABLED
externalDNS.crd.namespacestring(empty)nodeDNSEndpoint namespace. Namespace to read DNSEndpoints from. Empty reads all namespaces permitted by Kubernetes RBAC. Derived record sets stay in each source namespace; each zone's recordSetSelector still applies.
host-only, restart
Environment: KUDURRU_EXTERNALDNS__CRD__NAMESPACE
externalDNS.crd.zoneSelectormap{}nodeDNSEndpoint zone selector. Labels a primary DNSZone must carry to receive direct DNSEndpoint records. Empty selects all primary zones; each endpoint uses its longest matching zone suffix.
host-only, restart
Environment: file only.
externalDNS.webhook.enabledboolfalsenodeexternal-dns webhook enabled. Let external-dns, the Kubernetes tool, publish DNS records into kudurru through its webhook provider protocol (GET /, GET and POST /records, POST /adjustendpoints), served on externalDNS.webhook.listen.
host-only, restart
Environment: KUDURRU_EXTERNALDNS__WEBHOOK__ENABLED
externalDNS.webhook.listenstring127.0.0.1:8888nodeexternal-dns webhook address. Address and port of the external-dns webhook, e.g. 127.0.0.1:8888. Authentication is disabled unless externalDNS.webhook.tokenFile is set. The loopback default serves external-dns on the same host or as a sidecar; restrict access to wider listeners. A valid token authenticates the transport; writes still require the existing current-command admission. The Helm chart renders :<port> behind its NetworkPolicy.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EXTERNALDNS__WEBHOOK__LISTEN
externalDNS.webhook.tokenFilestring(empty)nodeexternal-dns token file. File holding the shared bearer token required on every webhook request, e.g. /run/secrets/external-dns-token. Empty disables authentication for existing clients. Use a regular file of at most 4 KiB with at least 16 bearer-token characters; surrounding whitespace is trimmed. The file is read only at startup; restart after rotation. Clients must send Authorization: Bearer with the token; upstream external-dns clients without custom-header support need a local proxy that injects this header.
host-only, restart
Environment: KUDURRU_EXTERNALDNS__WEBHOOK__TOKENFILE
externalDNS.webhook.namespacestringexternal-dnsnodeexternal-dns record namespace. Namespace the record sets from external-dns are stored in, e.g. external-dns: one DNSRecordSet per DNS name, managed by integration:external-dns.
host-only, restart
Environment: KUDURRU_EXTERNALDNS__WEBHOOK__NAMESPACE
externalDNS.webhook.zoneSelectormap{}nodeexternal-dns zone selector. Labels a primary zone must carry for external-dns to write into it, e.g. external-dns: enabled (a label selector, key: value); empty allows every primary zone.
host-only, restart
Environment: file only.

externalZones

KeyTypeDefaultScopeDescription
externalZones.enabledboolfalsenodeExternal zones enabled. Fill DNSZones of type external from Kubernetes objects: the elected replica reads Ingresses, Gateway API HTTPRoutes, GRPCRoutes and TLSRoutes, and Services of type LoadBalancer (as each zone's spec.external selects) and maintains one source-owned DNSRecordSet per source and zone, honoring the external-dns hostname, target and ttl annotations. Sources are never changed. Requires store.driver kube and RBAC to read those kinds (the Helm value externalZones.enabled grants it).
host-only, restart
Environment: KUDURRU_EXTERNALZONES__ENABLED

auth

KeyTypeDefaultScopeDescription
auth.localLoginstringenabledclusterLocal password login. Whether people can sign in to the dashboard with a username and password: enabled for everyone, admins-only for builtin admins, or disabled (identity providers only). kudurru admin on the server's admin socket always works, so you cannot lock yourself out. Gates POST /api/v1/auth/login.
Allowed: one of enabled | admins-only | disabled.
restart
Environment: KUDURRU_AUTH__LOCALLOGIN
auth.bootstrap.adminPasswordFilestring(empty)nodeFirst-boot admin password file. Path of a file holding the password of the first admin account, created on the first start, e.g. /run/secrets/kudurru-admin-password. The KUDURRU_ADMIN_PASSWORD and KUDURRU_ADMIN_PASSWORD_FILE environment variables take precedence; with none of them, a password is generated and printed once.
host-only, restart
Environment: KUDURRU_AUTH__BOOTSTRAP__ADMINPASSWORDFILE
auth.session.idleTimeoutduration30mclusterSession idle timeout. Sign a dashboard user out after this long without activity, e.g. 30m; at least 1m. Every request starts the time again.
restart
Environment: KUDURRU_AUTH__SESSION__IDLETIMEOUT
auth.session.lifetimeduration12hclusterSession lifetime. Longest a dashboard sign-in lasts however active it is, e.g. 12h; then the user signs in again and their roles are looked up afresh. At least auth.session.idleTimeout.
restart
Environment: KUDURRU_AUTH__SESSION__LIFETIME
auth.session.securestringautoclusterSecure session cookie. Whether browsers send the session cookie only over HTTPS (the cookie's Secure attribute). auto (default) decides per request and suits most setups; always is for a proxy that terminates TLS without telling kudurru; never is only for plain HTTP on a network you trust.
Allowed: one of auto | always | never.
restart
Environment: KUDURRU_AUTH__SESSION__SECURE
auth.tokens.maxLifetimeduration0sclusterMaximum token lifetime. Longest lifetime of a new API token, e.g. 2160h (90 days); a token created without an expiry gets this one. 0 (default) allows tokens that never expire.
restart
Environment: KUDURRU_AUTH__TOKENS__MAXLIFETIME
auth.identityProviderslist[]clusterIdentity providers. Sign-in to the dashboard through an OpenID Connect provider such as Google, Microsoft Entra ID, Keycloak, Authentik or Dex; the provider's ID tokens also work as bearer tokens for the API. Each entry needs an id, issuer, clientID, clientSecretFile and redirectURL; scopes, claimValidationRules, claimMappings and provisioning are optional.
Allowed: items: {id (required): string; displayName: string; issuer: string (format url); clientID: string; clientSecretFile: string; clientSecretRef: object; cliClientID: string; redirectURL: string (format url); scopes: list of string; audiences: list of string; claimValidationRules: list of object; claimMappings: object; provisioning: object; allowedDomains: list of string (format domain)}.
host-only, restart
Environment: file only.
auth.providerResources.allowedOriginsstring[][]nodeProvider network origins. Origins that identity-provider discovery, keys and token requests may contact, e.g. https://login.example.com. List every issuer, JWKS and token origin explicitly, without a path. Empty grants no outbound provider access; public provider objects cannot extend this list. At most 128.
host-only, restart
Environment: KUDURRU_AUTH__PROVIDERRESOURCES__ALLOWEDORIGINS
auth.providerResources.localOriginsstring[][]nodeLocal provider origin exceptions. Allowed provider origins permitted to reach loopback addresses, e.g. https://localhost:8443. Must be a subset of allowedOrigins. HTTP requires this exception and connects only to loopback; metadata, link-local and multicast addresses remain denied.
host-only, restart
Environment: KUDURRU_AUTH__PROVIDERRESOURCES__LOCALORIGINS
auth.providerResources.algorithmsstring[][RS256]nodeProvider token algorithms. Asymmetric ID-token algorithms accepted from acquired identity providers, e.g. RS256 or EdDSA. At least one, without duplicates; supported families are RS256/384/512, PS256/384/512, ES256/384/512 and EdDSA. Provider discovery cannot expand this policy.
host-only, restart
Environment: KUDURRU_AUTH__PROVIDERRESOURCES__ALGORITHMS
auth.providerResources.systemTrustbooltruenodeProvider system CA trust. Load the platform CA bundle for provider HTTPS connections. Actual certificate bytes are captured at startup together with caFiles; no live system-pool fallback is used. Disable to trust only explicit CA files. Bundle loading must succeed before provider resources become available.
host-only, restart
Environment: KUDURRU_AUTH__PROVIDERRESOURCES__SYSTEMTRUST
auth.providerResources.caFilesstring[][]nodeProvider CA bundle files. Additional PEM CA bundles for provider HTTPS, e.g. /etc/kudurru/provider-ca.pem. Use at most 32 clean absolute paths. System and operator input together are limited to 2 MiB and 256 distinct CA certificates; malformed or oversized input is rejected completely.
host-only, restart
Environment: KUDURRU_AUTH__PROVIDERRESOURCES__CAFILES
auth.kubernetes.modestringsarclusterKubernetes authorization. How kudurru works with Kubernetes RBAC (store.driver kube): sar (default) asks the apiserver with a SubjectAccessReview whether a Kubernetes service account may act on a kudurru.io resource; impersonate also sends every API write of a kudurru.io object as the signed-in principal, so Kubernetes RBAC must allow it too and the apiserver audit log names that principal. impersonate needs the impersonate permission, which makes kudurru cluster-admin-equivalent if it is compromised (D55, D386).
Allowed: one of sar | impersonate.
host-only, restart
Environment: KUDURRU_AUTH__KUBERNETES__MODE
auth.adminSocket.pathstring/run/kudurru/kudurru.socknodeAdmin socket path. Path of the local socket of the kudurru admin command (reset-password, create-token, list-users), e.g. /run/kudurru/kudurru.sock: the way back in when every admin password is lost. Only uid 0, the server's own user and auth.adminSocket.group may use it. Empty turns it off.
host-only, restart
Environment: KUDURRU_AUTH__ADMINSOCKET__PATH
auth.adminSocket.groupint-1nodeAdmin socket group (gid). Group id (gid) whose members may also use the admin socket, e.g. 1000; -1 (default) allows only root and the server's own user.
Allowed: at least -1.
host-only, restart
Environment: KUDURRU_AUTH__ADMINSOCKET__GROUP

audit

KeyTypeDefaultScopeDescription
audit.storestringautoclusterAudit log store. Where audit events are kept so every node can show them: auto (default) uses database when database.dsn is set, else auditlog with the kube store driver, else local; database keeps every node's events in the central database (one hash chain); auditlog keeps them in AuditLog objects in the release namespace, read by every replica and kept across restarts; local keeps them on each node (state.db with the sqlite driver, audit-spool.db with kube), so a replica shows only its own. Every event is also a "log":"audit" log line.
Allowed: one of auto | database | auditlog | local.
host-only, restart
Environment: KUDURRU_AUDIT__STORE
audit.retentionduration9600hclusterKeep audit events for. How long stored audit events are kept, e.g. 9600h (400 days); at least 24h. The log lines are kept by your log system, not by kudurru.
host-only, restart
Environment: KUDURRU_AUDIT__RETENTION
audit.keySecretstringkudurru-audit-keysclusterAudit signing-key Secret. Operator-provisioned independent AuditLog signing-key Secret in the release namespace. Required before upgrading AuditLog storage; missing trust suspends shipping and verification, not DNS or local spooling. Restart to change the name.
host-only, restart
Environment: KUDURRU_AUDIT__KEYSECRET

credentials

KeyTypeDefaultScopeDescription
credentials.allowedFilesstring[][]nodeAllowed credential files. Exact absolute credential file paths that stored identity providers, integrations and the sinks of querylog.sinks may reference, e.g. /run/secrets/cloudflare-token. A granted file is not bound to one destination: whoever may change the settings can have a query-log sink send it to any URL, so list only credentials made for the services that use them. Empty grants no file access; editing a public provider object or the settings cannot extend this list.
host-only, restart
Environment: KUDURRU_CREDENTIALS__ALLOWEDFILES
credentials.allowedEnvironmentstring[][]nodeAllowed credential environment variables. Environment variable names that stored integrations and the sinks of querylog.sinks may reference for credentials, e.g. CLOUDFLARE_API_TOKEN. A granted variable is not bound to one destination: whoever may change the settings can have a query-log sink send it to any URL, so list only credentials made for the services that use them. Empty grants no environment access.
host-only, restart
Environment: KUDURRU_CREDENTIALS__ALLOWEDENVIRONMENT

rbac

KeyTypeDefaultScopeDescription
rbac.bindingslist[]clusterRole bindings. Who may do what: each binding grants a role (viewer, auditor, operator, zone-admin or admin) to users, groups or service accounts, for the whole cluster, one zone or one zone group. RoleBinding objects add to these.
Allowed: items: {role (required): string (one of viewer | auditor | operator | zone-admin | admin); scope: {kind: string (one of cluster | zone | zonegroup | clientgroup, default cluster); name: string}; subjects (required): list of {kind (required): string (one of User | Group | ServiceAccount); name (required): string; namespace: string}}.
host-only, restart
Environment: file only.

log

KeyTypeDefaultScopeDescription
log.levelstringinfonodeLog level. How much the server logs: info (default) for normal operation, debug for troubleshooting, warn or error for less. Per-component levels follow a comma, e.g. info,dns=debug.
Allowed: one of debug | info | warn | error.
Environment: KUDURRU_LOG__LEVEL
log.formatstringjsonnodeLog format. Format of the log lines: json (default) for log collectors, text for reading in a terminal.
Allowed: one of json | text.
restart
Environment: KUDURRU_LOG__FORMAT

tracing

KeyTypeDefaultScopeDescription
tracing.enabledboolfalsenodeTracing. Record OpenTelemetry traces of DNS queries and send the kept ones to tracing.endpoint over OTLP/HTTP. A trace is kept when the head sampler picks it (tracing.sampleRate), when it continues an authenticated edge peer's TRACEPARENT (always kept; the option's flags are not used), when the query failed (SERVFAIL from upstream failure, timeout, DNSSEC bogus or an unsynced zone) or when it took at least tracing.slowThreshold; failed and slow traces are capped at 100 per second. Kept traces get a trace id in the query log and an exemplar on the latency histogram. An unreachable or slow collector never delays answers: traces wait in a bounded queue and are dropped, counted, when it is full. Off by default.
host-only, restart
Environment: KUDURRU_TRACING__ENABLED
tracing.endpointstring(empty)nodeOTLP traces URL. OTLP/HTTP traces endpoint of the collector, e.g. http://otel-collector:4318/v1/traces; the path is used as written. Required when tracing is enabled. No user name, password or query in the URL; over http the spans, which can hold query names, cross the network unencrypted.
host-only, restart
Environment: KUDURRU_TRACING__ENDPOINT
tracing.sampleRateint1000nodeHead sample rate. Queries traced and kept on purpose, in traces per million: 1000 (default) is 0.1 percent, 1000000 every query, 0 only the failed and slow ones. Applies to queries that do not continue an authenticated edge peer's trace; a query that does is always kept, and the option's flags are not used (the edge chooses the sample). The decision depends only on the trace id, as in OpenTelemetry's TraceIdRatioBased sampler.
Allowed: range 0-1000000.
host-only, restart
Environment: KUDURRU_TRACING__SAMPLERATE
tracing.slowThresholdduration250msnodeKeep slower than. Every query that takes at least this long is kept, sampled or not, e.g. 250ms (default); 0s turns the rule off.
host-only, restart
Environment: KUDURRU_TRACING__SLOWTHRESHOLD
tracing.acceptTraceparentbooltruenodeContinue edge traces. true (default): a query from an authenticated edge peer, one whose PROXYv2 header passed listeners.proxyProtocolFrom and the shared secret, continues the trace in its EDNS TRACEPARENT option, so dnsdist and kudurru spans form one trace. The option is removed from every query before any processing whatever this says, and from any other sender it is ignored, so a client cannot choose or inject trace ids.
host-only, restart
Environment: KUDURRU_TRACING__ACCEPTTRACEPARENT
tracing.ednsOptionCodeint65500nodeTRACEPARENT option code. EDNS option code of TRACEPARENT, from the local range 65001 to 65534; 65500 (default) is what dnsdist and PowerDNS Recursor use. It must match traceparentOptionCode on the edge and on upstreams with tracePropagation.
Allowed: range 65001-65534.
host-only, restart
Environment: KUDURRU_TRACING__EDNSOPTIONCODE
tracing.serviceNamestringkudurrunodeService name. service.name of the exported spans, e.g. kudurru (default). service.instance.id is node.name.
host-only, restart
Environment: KUDURRU_TRACING__SERVICENAME
tracing.headersmap{}nodeRequest headers. Extra HTTP headers sent with every export, at most 16, e.g. X-Scope-OrgID: home. Not for credentials: Authorization is refused, use bearerTokenRef.
host-only, restart
Environment: file only.
tracing.bearerTokenRef.filestring(empty)nodeBearer token file. Absolute path of a file that holds only a bearer token for the collector, e.g. /run/secrets/otlp-token; it must also be listed in credentials.allowedFiles. Empty, with bearerTokenRef.env empty too, sends no credential. Set at most one of the two; the token itself never enters the settings.
host-only, restart
Environment: KUDURRU_TRACING__BEARERTOKENREF__FILE
tracing.bearerTokenRef.envstring(empty)nodeBearer token variable. Name of an environment variable that holds a bearer token for the collector, e.g. OTLP_TOKEN; it must also be listed in credentials.allowedEnvironment. Set at most one of bearerTokenRef.file and bearerTokenRef.env.
host-only, restart
Environment: KUDURRU_TRACING__BEARERTOKENREF__ENV
tracing.caRef.filestring(empty)nodeCA certificates file. Absolute path of a PEM file with the CA certificates that sign the collector's certificate, for a private CA, e.g. /etc/kudurru/otlp-ca.pem; it must also be listed in credentials.allowedFiles. Empty trusts the system's certificate authorities.
host-only, restart
Environment: KUDURRU_TRACING__CAREF__FILE
tracing.caRef.envstring(empty)nodeCA certificates variable. Name of an environment variable that holds the PEM CA certificates of the collector; it must also be listed in credentials.allowedEnvironment. Set at most one of caRef.file and caRef.env.
host-only, restart
Environment: KUDURRU_TRACING__CAREF__ENV
tracing.compressionstringgzipnodeCompression. gzip (default) compresses each export; none sends it as it is.
Allowed: one of gzip | none.
host-only, restart
Environment: KUDURRU_TRACING__COMPRESSION
tracing.queueSizeint2048nodeExport queue. Kept traces that may wait for export, 2048 by default. When the collector is slow or down and the queue is full, further traces are dropped and counted in kudurru_tracing_traces_total{result="queue_full"}.
Allowed: range 1-65536.
host-only, restart
Environment: KUDURRU_TRACING__QUEUESIZE
tracing.timeoutduration10snodeExport timeout. How long one export request may take, at least 1s, e.g. 10s (default). A batch that fails or times out is dropped, never sent again.
host-only, restart
Environment: KUDURRU_TRACING__TIMEOUT

edge

KeyTypeDefaultScopeDescription
edge.backendsstring[][]nodeEdge backends. Static [name=]host[:port] backends. Every edge lists every Kudurru node; empty requires a membership source.
host-only, restart
Environment: KUDURRU_EDGE__BACKENDS
edge.backendsFromstringstaticnodeEdge backends-from. Membership source: static or endpointslice:<namespace>/<service>.
host-only, restart
Environment: KUDURRU_EDGE__BACKENDSFROM
edge.backendPortint5353nodeEdge backend-port. DNS backend port when no port is specified.
Allowed: range 1-65535.
host-only, restart
Environment: KUDURRU_EDGE__BACKENDPORT
edge.backendPortNamestringdnsnodeEdge backend-port-name. EndpointSlice port name carrying DNS.
host-only, restart
Environment: KUDURRU_EDGE__BACKENDPORTNAME
edge.internalPortint8082nodeEdge internal-port. Backend internal listener port for zone serial polling; zero disables it.
Allowed: range 0-65535.
host-only, restart
Environment: KUDURRU_EDGE__INTERNALPORT
edge.poolResolverstringchashednodeEdge pool-resolver. Resolver pool load-balancing policy, validated by the existing renderer.
host-only, restart
Environment: KUDURRU_EDGE__POOLRESOLVER
edge.poolAuthoritativestringleastOutstandingnodeEdge pool-authoritative. Authoritative pool load-balancing policy, validated by the existing renderer.
host-only, restart
Environment: KUDURRU_EDGE__POOLAUTHORITATIVE
edge.tlsDirstring(empty)nodeEdge tls-dir. TLS certificate directory. Supports tls.crt/tls.key, fullchain.pem/privkey.pem or cert.pem/key.pem; watched for rotation.
host-only, restart
Environment: KUDURRU_EDGE__TLSDIR
edge.listenstring[][0.0.0.0]nodeEdge listen. IP addresses every frontend binds.
Allowed: items: string (format ip).
host-only, restart
Environment: KUDURRU_EDGE__LISTEN
edge.protocolsstring[][]nodeEdge protocols. Frontends to enable; empty selects do53 plus TLS frontends when tlsDir is set.
Allowed: items: string (one of do53 | dot | doh | doq | doh3).
host-only, restart
Environment: KUDURRU_EDGE__PROTOCOLS
edge.dotstring(empty)nodeEdge dot. Explicit dot frontend host:port, using a listen address. Requires TLS files.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__DOT
edge.dohstring(empty)nodeEdge doh. Explicit doh frontend host:port, using a listen address. Requires TLS files.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__DOH
edge.doqstring(empty)nodeEdge doq. Explicit doq frontend host:port, using a listen address. Requires TLS files.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__DOQ
edge.doh3string(empty)nodeEdge doh3. Explicit doh3 frontend host:port, using a listen address. Requires TLS files.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__DOH3
edge.apistring127.0.0.1:8083nodeEdge api. Loopback-only dnsdist webserver/API address.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__API
edge.consolestring127.0.0.1:5199nodeEdge console. Loopback-only dnsdist console address.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__CONSOLE
edge.apiKeyOutstring(empty)nodeEdge api-key-out. Write the random per-start API key to this host file with mode 0640; empty does not write a key file.
host-only, restart
Environment: KUDURRU_EDGE__APIKEYOUT
edge.apiKeyGroupstring(empty)nodeEdge api-key-group. Group name or GID for apiKeyOut; empty preserves the file group.
host-only, restart
Environment: KUDURRU_EDGE__APIKEYGROUP
edge.proxyProtocolSecretFilestring(empty)nodeEdge proxy-protocol-secret-file. Host file containing the printable PROXYv2 TLV secret, at least 32 bytes. Required for nonloopback backends.
host-only, restart
Environment: KUDURRU_EDGE__PROXYPROTOCOLSECRETFILE
edge.authoritativeCacheboolfalsenodeEdge authoritative-cache. Cache the authoritative pool briefly and invalidate on zone serial changes.
host-only, restart
Environment: KUDURRU_EDGE__AUTHORITATIVECACHE
edge.authoritativeCacheTTLint30nodeEdge authoritative-cache-ttl. Maximum authoritative cache TTL in seconds.
host-only, restart
Environment: KUDURRU_EDGE__AUTHORITATIVECACHETTL
edge.authoritativeZonesstring[][]nodeEdge authoritative-zones. Zones routed to the authoritative pool in addition to zones polled from backends.
Allowed: items: string (format domain).
host-only, restart
Environment: KUDURRU_EDGE__AUTHORITATIVEZONES
edge.transferSourcesstring[][]nodeEdge transfer-sources. Addresses or prefixes allowed to send AXFR, IXFR, NOTIFY and UPDATE through the edge.
Allowed: items: string (format cidr).
host-only, restart
Environment: KUDURRU_EDGE__TRANSFERSOURCES
edge.aclstring[][]nodeEdge acl. Client prefixes allowed to query; empty uses private and loopback ranges.
Allowed: items: string (format cidr).
host-only, restart
Environment: KUDURRU_EDGE__ACL
edge.cacheSizeint200000nodeEdge cache-size. Resolver packet-cache entries; zero uses the renderer default.
host-only, restart
Environment: KUDURRU_EDGE__CACHESIZE
edge.managedCacheBypassboolfalsenodeManaged cache bypass. Bypass both shared packet caches for this supervisor's lifetime. Must be installed before managed root-anchor backends activate.
host-only, restart
Environment: KUDURRU_EDGE__MANAGEDCACHEBYPASS
edge.managedObservationAddressstring(empty)nodeManaged edge observation listener. Optional authenticated TLS listener reporting installed retained cache bypass. Requires managed cache bypass and internal credentials. Empty disables the listener; an observation alone does not activate managed backends.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__MANAGEDOBSERVATIONADDRESS
edge.dynblocksboolfalsenodeEdge dynblocks. Enable dnsdist dynamic blocking.
host-only, restart
Environment: KUDURRU_EDGE__DYNBLOCKS
edge.dynblocksQPSint50nodeEdge dynblocks-qps. Per-client query rate over ten seconds that triggers a dynamic block.
host-only, restart
Environment: KUDURRU_EDGE__DYNBLOCKSQPS
edge.dynblocksNXDomainRateint20nodeEdge dynblocks-nxdomain-rate. Per-client NXDOMAIN rate that triggers a dynamic block; zero disables it.
host-only, restart
Environment: KUDURRU_EDGE__DYNBLOCKSNXDOMAINRATE
edge.ebpfboolfalsenodeEdge ebpf. Use an eBPF socket filter for dynamic-block drops; requires host capabilities.
host-only, restart
Environment: KUDURRU_EDGE__EBPF
edge.rendererstringyamlnodeEdge renderer. dnsdist configuration format: YAML plus functions-only Lua, or standalone Lua.
Allowed: one of yaml | lua.
host-only, restart
Environment: KUDURRU_EDGE__RENDERER
edge.serverIDstring(empty)nodeEdge server-id. dnsdist server identifier; empty uses the host name.
host-only, restart
Environment: KUDURRU_EDGE__SERVERID
edge.dnstapTargetstring(empty)nodeEdge dnstap-target. Where dnsdist sends dnstap of the answers it gives itself, from its packet cache or its own rules, so that they appear in the query log: a kudurru listeners.dnstap entry as tcp:ip:port or unix:/path. Queries dnsdist forwards are logged by the kudurru node that answers them. Empty sends none.
host-only, restart
Environment: KUDURRU_EDGE__DNSTAPTARGET
edge.dnstapIdentitystring(empty)nodeEdge dnstap-identity. dnstap identity of the edge's messages, e.g. edge-1; empty uses the server ID. List it in unforwardedIdentities of the kudurru listener, so that a cache hit is never taken for the query it forwarded before.
host-only, restart
Environment: KUDURRU_EDGE__DNSTAPIDENTITY
edge.clientIDDomainstring(empty)nodeEdge client ID domain. DNS suffix for client IDs on the edge's DoT and DoQ frontends, as listeners.dot clientIDDomain: phone.dot.example.com selects phone when this is dot.example.com. The edge sends the ID to kudurru with the PROXYv2 secret, which it requires, and the query skips the edge packet cache. The certificate must cover the client names. IDs are selectors, not authentication. Empty derives none.
Allowed: format domain.
host-only, restart
Environment: KUDURRU_EDGE__CLIENTIDDOMAIN
edge.clientIDsboolfalsenodeEdge DoH client IDs. Accept client IDs as one path component on the edge's DoH and DoH3 frontends, as listeners.doh clientIDs: /dns-query/phone selects phone, and other paths below /dns-query get HTTP 404. The edge sends the ID to kudurru with the PROXYv2 secret, which it requires, and the query skips the edge packet cache.
host-only, restart
Environment: KUDURRU_EDGE__CLIENTIDS
edge.threadsint2nodeEdge threads. Do53 listener threads; zero uses the renderer default.
host-only, restart
Environment: KUDURRU_EDGE__THREADS
edge.dnsdistBinstringdnsdistnodeEdge dnsdist-bin. dnsdist executable used by edge run.
host-only, restart
Environment: KUDURRU_EDGE__DNSDISTBIN
edge.dnsdistUserstring(empty)nodeEdge dnsdist-user. uid[:gid] dnsdist switches to after binding sockets; empty retains the current user.
host-only, restart
Environment: KUDURRU_EDGE__DNSDISTUSER
edge.configDirstring/etc/dnsdistnodeEdge config-dir. Directory for configuration rendered by edge run.
host-only, restart
Environment: KUDURRU_EDGE__CONFIGDIR
edge.healthAddressstring:8084nodeEdge health-address. Supervisor health, status and metrics listener used by edge run.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_EDGE__HEALTHADDRESS
edge.debounceduration5snodeEdge debounce. Delay before rerendering membership or certificate changes.
host-only, restart
Environment: KUDURRU_EDGE__DEBOUNCE
edge.drainduration1snodeEdge drain. Readiness refusal period before restarting dnsdist.
host-only, restart
Environment: KUDURRU_EDGE__DRAIN
edge.zonePollduration5snodeEdge zone-poll. Interval for backend zone serial polling.
host-only, restart
Environment: KUDURRU_EDGE__ZONEPOLL
edge.pollZonesbooltruenodeEdge poll-zones. Poll backend internal zone serials using the installed internal credentials.
host-only, restart
Environment: KUDURRU_EDGE__POLLZONES
edge.stopTimeoutduration10snodeEdge stop-timeout. SIGTERM grace period before dnsdist is killed.
host-only, restart
Environment: KUDURRU_EDGE__STOPTIMEOUT
edge.internalTokenFilestring(empty)nodeEdge internal-token-file. Host file with the internal bearer token; empty derives it from the encryption key.
host-only, restart
Environment: KUDURRU_EDGE__INTERNALTOKENFILE
edge.internalCAFilestring(empty)nodeEdge internal-ca-file. Host CA file for backend internal TLS; empty derives it from the encryption key.
host-only, restart
Environment: KUDURRU_EDGE__INTERNALCAFILE
edge.internalServerNamestring(empty)nodeEdge internal-server-name. Backend internal TLS server name; empty uses internal.kudurru.invalid.
host-only, restart
Environment: KUDURRU_EDGE__INTERNALSERVERNAME
edge.logLevelstringinfonodeEdge log-level. Supervisor logging level for edge run.
Allowed: one of debug | info | warn | error.
host-only, restart
Environment: KUDURRU_EDGE__LOGLEVEL
edge.logFormatstringjsonnodeEdge log-format. Supervisor log format for edge run.
Allowed: one of json | text.
host-only, restart
Environment: KUDURRU_EDGE__LOGFORMAT

vip

KeyTypeDefaultScopeDescription
vip.vipslist[]nodeVIP vip. Host VIP records. VRIDs are explicitly assigned by the operator and never allocated remotely. Environment accepts a JSON array.
Allowed: items: {name (required): string; address (required): string (format cidr); interface (required): string; vrid (required): int (range 1-255)}.
host-only, restart
Environment: file only.
vip.preemptDelaymap{}nodeVIP preempt-delay. Per-VIP preemption delay in seconds; empty uses nopreempt. Environment accepts a JSON object.
Allowed: values: int (range 0-1000).
host-only, restart
Environment: file only.
vip.peersstring[][]nodeVIP peers. Other nodes unicast addresses.
Allowed: items: string (format ip).
host-only, restart
Environment: KUDURRU_VIP__PEERS
vip.peersFilestring(empty)nodeVIP peers-file. Host file containing one peer address per line; overrides peers and is watched by vip run.
host-only, restart
Environment: KUDURRU_VIP__PEERSFILE
vip.peersFromstring(empty)nodeVIP peers-from. nodes:<selector> discovers Kubernetes Node InternalIPs; cannot be combined with peers or peersFile.
host-only, restart
Environment: KUDURRU_VIP__PEERSFROM
vip.priorityIndexint0nodeVIP priority-index. Node priority index. With Node discovery, an omitted value uses this node position; explicitly configured zero remains zero.
Allowed: range 0-19.
host-only, restart
Environment: KUDURRU_VIP__PRIORITYINDEX
vip.nodeCountint0nodeVIP node-count. Node count; zero uses peers plus one.
Allowed: range 0-20.
host-only, restart
Environment: KUDURRU_VIP__NODECOUNT
vip.unicastSrcstring(empty)nodeVIP unicast-src. This node VRRP source address; empty discovers an address on the VRRP or first VIP interface.
Allowed: format ip.
host-only, restart
Environment: KUDURRU_VIP__UNICASTSRC
vip.vrrpInterfacestring(empty)nodeVIP vrrp-interface. Interface for VRRP advertisements; empty uses each VIP interface.
host-only, restart
Environment: KUDURRU_VIP__VRRPINTERFACE
vip.hmacKeyFilestring/run/secrets/vrrp_hmac_{vrid}nodeVIP hmac-key-file. Host auth_hmac key-file pattern; {vrid} expands separately for every configured VRID.
host-only, restart
Environment: KUDURRU_VIP__HMACKEYFILE
vip.legacyboolfalsenodeVIP legacy. Render for keepalived 2.3 without auth_hmac; VRRP advertisements are unauthenticated.
host-only, restart
Environment: KUDURRU_VIP__LEGACY
vip.trackDNSDistAPIstringhttp://127.0.0.1:8083nodeVIP track-dnsdist-api. dnsdist API checked by the VRRP probe.
Allowed: format url.
host-only, restart
Environment: KUDURRU_VIP__TRACKDNSDISTAPI
vip.dnsdistAPIKeyFilestring/run/kudurru/dnsdist-api.keynodeVIP dnsdist-api-key-file. Host API key file written by edge run and read by the VRRP probe.
host-only, restart
Environment: KUDURRU_VIP__DNSDISTAPIKEYFILE
vip.requireBackendsint1nodeVIP require-backends. Healthy backends required before this node holds a VIP.
host-only, restart
Environment: KUDURRU_VIP__REQUIREBACKENDS
vip.probeCommandstring/usr/local/bin/kudurru health --vrrpnodeVIP probe-command. Whitespace-separated command prefix for the existing VRRP probe script; shell syntax is not evaluated.
host-only, restart
Environment: KUDURRU_VIP__PROBECOMMAND
vip.runDirstring/run/kudurrunodeVIP run-dir. Shared host run directory for FIFO, weight files and state.
host-only, restart
Environment: KUDURRU_VIP__RUNDIR
vip.routerIDstring(empty)nodeVIP router-id. Node router identifier; empty uses node.name or the host name.
host-only, restart
Environment: KUDURRU_VIP__ROUTERID
vip.kudurruBinstring/usr/local/bin/kudurrunodeVIP kudurru-bin. Root-owned Kudurru executable used by rendered keepalived scripts.
host-only, restart
Environment: KUDURRU_VIP__KUDURRUBIN
vip.keepalivedBinstringkeepalivednodeVIP keepalived-bin. keepalived executable used by vip run.
host-only, restart
Environment: KUDURRU_VIP__KEEPALIVEDBIN
vip.configPathstring/etc/keepalived/keepalived.confnodeVIP config-path. Configuration file rendered by vip run.
host-only, restart
Environment: KUDURRU_VIP__CONFIGPATH
vip.healthAddressstring:8085nodeVIP health-address. Supervisor health, status and metrics listener used by vip run.
Allowed: format hostport.
host-only, restart
Environment: KUDURRU_VIP__HEALTHADDRESS
vip.stopTimeoutduration15snodeVIP stop-timeout. SIGTERM grace period before keepalived is killed.
host-only, restart
Environment: KUDURRU_VIP__STOPTIMEOUT
vip.logLevelstringinfonodeVIP log-level. Supervisor logging level for vip run.
Allowed: one of debug | info | warn | error.
host-only, restart
Environment: KUDURRU_VIP__LOGLEVEL
vip.logFormatstringjsonnodeVIP log-format. Supervisor log format for vip run.
Allowed: one of json | text.
host-only, restart
Environment: KUDURRU_VIP__LOGFORMAT
vip.observation.providerstringnonenodeVIP observation provider. Read-only ownership evidence in serve; never starts or controls a supervisor. kube-vip supports per-Service ARP leader Leases; MetalLB supports L2 status with live matching speaker and Node. BGP/global/ambiguous sources remain unknown.
Allowed: one of none | kube-vip | metallb | keepalived.
host-only, restart
Environment: KUDURRU_VIP__OBSERVATION__PROVIDER
vip.observation.runDirstring/run/kudurrunodeVIP observation directory. Absolute directory containing the existing keepalived Consumer journal. Read-only in serve; no FIFO reader, supervisor, weight file or writer is started. Files retain private 0600 access; the serve process must already have permission.
host-only, restart
Environment: KUDURRU_VIP__OBSERVATION__RUNDIR
vip.observation.serviceslist[]nodeObserved VIP Services. Up to 32 exact Service/address bindings. File-only structured input; each Service must remain allocated to the expected address. Allocation never implies an owner.
Allowed: items: {name (required): string; address (required): string (format ip); namespace (required): string; service (required): string}.
host-only, restart
Environment: file only.
vip.observation.announcerNamespacestringmetallb-systemnodeMetalLB announcer namespace. Namespace containing MetalLB ServiceL2Status and speaker Pods. Requires read permissions; at most 64 status objects per acquisition. No provider credential or write permission is added.
host-only, restart
Environment: KUDURRU_VIP__OBSERVATION__ANNOUNCERNAMESPACE
vip.observation.intervalduration5snodeVIP observation interval. Read-only polling interval, 1s-1m. Polling does not renew a provider heartbeat.
host-only, restart
Environment: KUDURRU_VIP__OBSERVATION__INTERVAL
vip.observation.timeoutduration2snodeVIP acquisition timeout. Deadline for the entire acquisition, 100ms-5s. Failed reads replace previous ownership with unknown.
host-only, restart
Environment: KUDURRU_VIP__OBSERVATION__TIMEOUT
vip.observation.maxAgeduration15snodeVIP observation maximum age. Local acquisition expiry measured from its original start; at least interval+timeout, at most 1m. Provider Lease or Node heartbeat expiry can shorten this; a fresh L2 status read never invents a provider heartbeat.
host-only, restart
Environment: KUDURRU_VIP__OBSERVATION__MAXAGE

clientNames

KeyTypeDefaultScopeDescription
clientNames.reversePTR.enabledboolfalsenodeEnable reverse PTR. Acquire client names asynchronously from explicit DNS sources. Untrusted fallback only when inventory and DHCP have no name.
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__ENABLED
clientNames.reversePTR.serversstring[][]nodePTR DNS servers. One to four explicit unicast IP:port sources. UDP only; no system resolver, DNS search, TCP fallback or CNAME chasing.
Allowed: items: string (format hostport).
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__SERVERS
clientNames.reversePTR.networksstring[][]nodePTR client networks. One to 32 explicit IPv4/IPv6 CIDRs eligible for background name acquisition.
Allowed: items: string (format cidr).
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__NETWORKS
clientNames.reversePTR.maxEntriesint4096nodePTR cache entries. Bounded observation cache. Cold and expired names return immediately without waiting for DNS.
Allowed: range 1-65536.
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__MAXENTRIES
clientNames.reversePTR.workersint2nodePTR workers. Fixed number of background DNS workers. Demand queue holds at most 256 addresses.
Allowed: range 1-8.
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__WORKERS
clientNames.reversePTR.timeoutduration1snodePTR timeout. Original acquisition deadline, 100ms-5s across all configured sources.
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__TIMEOUT
clientNames.reversePTR.maxAgeduration10mnodePTR maximum age. Positive lifetime cap, 1s-1h, bounded by DNS TTL from acquisition start. Expired names never remain a fallback.
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__MAXAGE
clientNames.reversePTR.negativeTTLduration30snodePTR retry delay. Negative or failed acquisition backoff, 1s-5m. No client name is retained on failure.
host-only, restart
Environment: KUDURRU_CLIENTNAMES__REVERSEPTR__NEGATIVETTL

Source: docs-site/content/reference/configuration.md