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:
- the built-in default (the Default column);
- the config file (
--config,KUDURRU_CONFIG, default/etc/kudurru/kudurru.yaml); - the settings file (
settingsFileorKUDURRU_SETTINGS_FILE) for cluster-scope keys, which is where changes made in the UI, withkudurru settings setor withPATCH /api/v1/settingsare written; it is watched and hot keys apply at once; - the environment:
KUDURRU_<SECTION>__<KEY>, with__for every dot of the path (KUDURRU_LOG__LEVEL=debug), orKUDURRU_<SECTION>__<KEY>_FILEnaming a file that holds the value.string[]values are comma-separated;listandmapkeys 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
branding
response
control
dnssec
node
dhcp
listeners
| Key | Type | Default | Scope | Description |
|---|---|---|---|---|
listeners.dns | list | [{address: "0.0.0.0:53", protocols: [udp, tcp]}] | node | DNS 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.dot | list | [] | node | DNS-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.doh | list | [] | node | DNS-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.doq | list | [] | node | DNS-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.doh3 | list | [] | node | DNS-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.dnstap | list | [] | node | dnstap 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.address | string | 0.0.0.0:8080 | node | API 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.auto | string | selfsigned | node | API 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.certFile | string | (empty) | node | API 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.keyFile | string | (empty) | node | API 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.pathPrefix | string | (empty) | node | API 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.trustedProxies | string[] | [] | node | Trusted 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.address | string | 0.0.0.0:8081 | node | Health 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.address | string | 0.0.0.0:9153 | node | Metrics 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.proxyProtocolFrom | string[] | [] | node | PROXYv2 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.proxyProtocolSecretFile | string | (empty) | node | PROXYv2 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.address | string | 0.0.0.0:8082 | node | Node-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.tokenFile | string | (empty) | node | Internal 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.certFile | string | (empty) | node | Internal 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.keyFile | string | (empty) | node | Internal 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.caFile | string | (empty) | node | Internal 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.serverName | string | (empty) | node | Internal 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.http | string | :80 | node | Block 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.https | string | (empty) | node | Block 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.certFile | string | (empty) | node | Block 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.keyFile | string | (empty) | node | Block page key file. Path of the private key (PEM) of listeners.blockPage.tls.certFile. host-only, restart Environment: KUDURRU_LISTENERS__BLOCKPAGE__TLS__KEYFILE |
listeners.sockets | int | 0 | node | Sockets 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.maxTCPQueries | int | 0 | node | TCP 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.quicMaxConns | int | 0 | node | QUIC 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.idleTimeout | duration | 10s | node | TCP 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.quicIdleTimeout | duration | 30s | node | QUIC 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
upstreams
| Key | Type | Default | Scope | Description |
|---|---|---|---|---|
upstreams.importFile | string | (empty) | node | Import 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.groups | map | {default: {servers: ["1.1.1.1:53", "9.9.9.9:53"], strategy: parallel_best, timeout: 2s}} | cluster | Upstream 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.bootstrap | string[] | ["1.1.1.1:53"] | cluster | Bootstrap 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.conditional | map | {} | cluster | Conditional 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.mode | string | strip | cluster | EDNS 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.ipv4Prefix | int | 24 | cluster | ECS 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.ipv6Prefix | int | 56 | cluster | ECS 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.dnssec | bool | true | cluster | DNSSEC 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.anchorMode | string | static | cluster | Root 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.managedTopology | string | disabled | node | Managed 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.managedEdges | list | [] | node | Managed 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.qnameMinimization | bool | true | cluster | QNAME 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.ipv6 | string | auto | cluster | IPv6 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.trustAnchors | string[] | [] | cluster | Root 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.negativeTrustAnchors | list | [] | cluster | Recursive 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.rootHints | string[] | [] | cluster | Root 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
blocking
| Key | Type | Default | Scope | Description |
|---|---|---|---|---|
blocking.enabled | bool | true | cluster | Blocking 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.defaultResponse | string | zeroIP | cluster | Default 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.blockTTL | duration | 10m | cluster | Block 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.allowDegraded | bool | true | cluster | Serve 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.v4 | string | (empty) | cluster | Custom 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.v6 | string | (empty) | cluster | Custom 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.refreshInterval | duration | 24h | cluster | List 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.initStrategy | string | fast | cluster | List 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.listsDir | string | (empty) | node | List 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.httpsOnly | bool | false | node | HTTPS-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.allowLocalListURLs | bool | false | node | Allow 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.url | string | (empty) | cluster | Catalogue 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.adguardServicesURL | string | (empty) | cluster | AdGuard 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.refreshInterval | duration | 24h | cluster | Catalogue 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
| Key | Type | Default | Scope | Description |
|---|---|---|---|---|
blockPage.enabled | bool | false | cluster | Block 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.ipv4 | string | (empty) | cluster | Block 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.ipv6 | string | (empty) | cluster | Block 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.title | string | This site is blocked | cluster | Page title. Heading of the block page, e.g. This site is blocked (plain text, at most 200 characters). Environment: KUDURRU_BLOCKPAGE__TITLE |
blockPage.message | string | The administrator of this network has blocked access to this domain. | cluster | Page 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.contact | string | (empty) | cluster | Administrator 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.showDetails | bool | true | cluster | Show 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.dashboardURL | string | (empty) | cluster | Dashboard 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.rateLimit | int | 120 | cluster | Requests 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
querylog
database
ratelimit
Top-level keys
notify
externalDNS
externalZones
auth
| Key | Type | Default | Scope | Description |
|---|---|---|---|---|
auth.localLogin | string | enabled | cluster | Local 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.adminPasswordFile | string | (empty) | node | First-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.idleTimeout | duration | 30m | cluster | Session 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.lifetime | duration | 12h | cluster | Session 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.secure | string | auto | cluster | Secure 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.maxLifetime | duration | 0s | cluster | Maximum 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.identityProviders | list | [] | cluster | Identity 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.allowedOrigins | string[] | [] | node | Provider 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.localOrigins | string[] | [] | node | Local 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.algorithms | string[] | [RS256] | node | Provider 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.systemTrust | bool | true | node | Provider 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.caFiles | string[] | [] | node | Provider 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.mode | string | sar | cluster | Kubernetes 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.path | string | /run/kudurru/kudurru.sock | node | Admin 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.group | int | -1 | node | Admin 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 |