github paimonsoror/telltaledns v0.10.0
TelltaleDNS 0.10.0

2 hours ago

A release with a Service health page, DNSSEC validation that asks together the questions that don't depend on each other, and an upstream circuit breaker that no longer benches an upstream for names it is merely slow on. A node that stepped down after a failover applies the new primary's versions again, and groups can follow a node's site. MikroTik and FRITZ!Box routers, Telegram alerts and on-demand list checks are new. The web UI is offered in Simplified Chinese, French and Russian.

Highlights

  • A Service health page (Monitor → Health) answers "is the service working, and if not, what and since when?" on one page, from one cluster-wide read, GET /api/v1/health/overview (also the MCP tool health_overview), worked out at most every 10 seconds off the DNS path. See ADR-225.

    • The Active clients tile counts distinct clients across nodes without counting a device twice.
  • DNSSEC validation asks together what doesn't depend on each other. [dnssec] prefetch (on by default) asks the questions of a validation's walk that don't wait on each other's answers together; every answer is checked as before. On the offline benchmark, a cold validation of three CNAMEs in an unsigned zone (300 ms and 12 ms hops) took a median 617 ms, not 1,823 ms; on a warm zone planning adds about 20 to 30 µs. The validator also keeps its NS, DS, DNSKEY and SOA answers for their TTL, so that case takes 7 questions where it took 15. See ADR-230 and ADR-217.

  • The upstream circuit breaker counts evidence: timeouts that an upstream's own answers explain no longer bench it, and its active check probes a benched upstream as soon as the backoff ends. See Upgrading and ADR-232.

  • Clusters. After a drill, a handover or any election without a restart, the node that stepped down applies the new primary's versions within seconds, and a replica waits for its link's first Hello before it looks for another primary (ADR-205). Automatic failover can be set before the voters have joined (ADR-228). Compare nodes says differs, not odd, for two nodes (ADR-219).

  • Groups by site. [[group]] nodes = ["site:<name>"] applies a group only at the nodes that announce those sites, so one cluster can serve several homes that reuse a private range. In the Helm chart, resolvers.site sets each resolver pod's site; it replaces resolvers.siteFromNode, which was in no release. See ADR-220 and ADR-234.

  • Devices recognized by client ID are followed under their name in the per-device views and the query log, whose Make a quick rule is then for the device, not for the address the query came from (ADR-218, ADR-231).

  • MikroTik and FRITZ!Box routers join UniFi and OPNsense: each names devices and lets a device named by its MAC keep its name, groups and rules at another address. See "Supported routers" in the running guide.

  • Telegram alerts, and lists on demand. type = "telegram" sends plain text through your bot (ADR-209). Check now and Refresh now on a list's row say whether it downloads now and take it now (ADR-206).

  • Languages. French and Russian ship beside Simplified Chinese. The three are offered through a language setting (Settings → Account, and the sign-in page; Français 99%, Русский 87%, 简体中文 89%), and a browser whose language list prefers one gets it on first load. The in-app help and the words the server composes stay English. The installer speaks English and Simplified Chinese (--lang zh-Hans, TELLTALE_LANG or a Simplified Chinese locale).

  • Presets and where it runs. AliDNS and DNSPod are in the preset catalog and, together, in the guided setup's upstream menu as choice 9. Choice 9 is AliDNS (plain DNS, as its provider documents) and DNSPod (encrypted). A Docker template for Unraid and a setup guide for OpenWrt (docs/openwrt.md) are new.

Fixes

  • With DNSSEC off, a client that sets AD without DO gets the upstream's AD bit when the upstream sets it (ADR-222).
  • The Helm chart's upgrade hook pod is no longer an endpoint of the DNS Service while it runs.
  • DNS over QUIC upstreams retry a query once on a new connection when the reused one is gone (ADR-213), and close a silent connection as unanswered (rate-limited, with QUIC frame counters at debug) when timeouts receive no answers, resets or QUIC acknowledgements (ADR-235).

Upgrading from 0.9

Most installs need no change. Coming from 0.8 or earlier, read the 0.9.0 notes too. Check these if they apply to you:

  • Clusters: upgrade replicas and resolver pods first, then the primary, or let telltale ctl upgrade --to 0.10.0 do it on native nodes with cluster updates on. Until a node is upgraded, the Service health page lists it as "older version: no history", a node that steps down after a failover behaves as the first known issue of 0.9.0 says, and a client-ID device shows as two rows.
  • New settings are shared, and a node on 0.9 refuses them: [[group]] nodes, a [[router]] of type mikrotik or fritzbox, a telegram alert destination and [dnssec] prefetch = false (never written while it is on). It keeps serving its last configuration, takes no later shared change and doesn't start with them in its own file. Set them only once every node runs 0.10, and take them out before going back to 0.9.
  • Kubernetes: a values file that still sets resolvers.siteFromNode (edge builds only) fails to render: use resolvers.site.valueFrom. An empty TELLTALE_CLUSTER_SITE used to make a node announce the site ""; it now keeps its configured site and raises the health reason site_empty. With resolvers.site.required, a pod without a site answers /readyz 503 site_missing.
  • Quick rules. A row of a client-ID device shows its name and its rule is for the device. A row that isn't named (the Live view, rows shipped from another node, older rows) still starts from the address, and a rule for an address covers every device behind it.
  • The AD bit. With validation off, a client that sets DO or AD sees the upstream's own AD bit, so a device on the path that copies a query's header bits into its answers now makes them see AD every time.
  • Upstreams only partly down. One that times out on up to half of what it is asked is no longer benched, so that share waits about 400 ms for the next member. A burst of fewer than ten timeouts followed by silence no longer benches an upstream, and a silent sole upstream under a slow steady stream is benched after about 6 seconds, not 2.
  • DoH and the cluster port. A doh POST has 10 seconds to send its body (then 408); a connection with no open request for 30 seconds, or whose client doesn't take the next part of an answer for 10, is ended. A cluster-port connection without a member certificate (a node joining, a request for the CA) may make 2 requests, has 10 seconds in all and shares 64 places, 16 per address: behind a load balancer that hides client addresses, joining nodes share one address.
  • telltale config check warns about more: a [[router]] read over http://, an over-wide FRITZ!Box network, a device whose name shows a client ID, a device keyed by an address inside a network that two site groups list, a site's default group beside [clients] router_macs and a MAC-named device, and a trust anchors file with keys other than the root's.
  • Metrics and health: the running guide lists the new ones; those that change behaviour or alert rules are telltale_upstream_breaker_opens_total{cause}, telltale_rollup_errors_total{op}, telltale_cluster_site_empty and the health reasons history_unavailable, site_differs and site_empty. telltale_client_set_errors_total{kind} and telltale_peer_client_set_invalid_total{node} count distinct-clients set errors, and the overview gains windowSeconds, orMore and clientsOrMore.
  • Data, and going back to 0.9. rollups.db gains a table, client_set (each closed 5-minute slot's distinct clients; none at query-log privacy level 2 and above); a 0.9.0 binary opens the file, reads its minutes, hours and days as before and ignores the table (checked with the released 0.9.0 build). A node may also hold <data_dir>/client-refs.json, and cluster.json may gain joined_via, which an older build ignores. Before going back, take out the settings of the second item.
  • Language. A browser whose language list prefers Simplified Chinese, French or Russian now gets the web UI in that language on first load; choosing English under Settings → Account or on the sign-in page goes back, and the choice is kept in that browser.
  • The installer. On a machine whose locale (LC_ALL, LC_MESSAGES or LANG) is Simplified Chinese, install.sh now asks in Chinese by itself; --lang en or TELLTALE_LANG=en keeps English.

Known issues

  • After a failover or a drill, the primary builds on the cluster version it took over: the devices, local names, forwarded domains and quick rules in it are read-only in the web UI and the API (409), and the shared sections of its own file aren't used (#164).
  • A first lookup with full recursion and validate can still outlast the client's wait (2.1 s by default): the client gets SERVFAIL with EDE 22 "validation still running", and the answer is cached for the next question.
  • A DoQ server that still acknowledges packets while leaving some queries unanswered keeps its connection open; silence eviction closes a DoQ connection only when nothing at all comes back from the server (ADR-235).
  • Plain-HTTP DoH for a proxy on the same host isn't available: a doh listener always needs tls (#91).
  • The Service health page's footprint. Recording distinct clients dropped no event and left the server's CPU unchanged in 11-minute runs from 4,096 and 8,192 distinct sources at query-log privacy levels 0 and 2, against the previous build and a same-binary control. The page's 7-day run on a Raspberry Pi and the 128 MiB resolver pod measurement of ADR-225 have not been made.

For developers

  • New ADRs: 205 to 235, none numbered 223; ADR-205 is Accepted, the others Proposed. docs/running.md is now a start page with topic pages (ADR-226).

Thanks

Zadkiel AHARONIAN for groups by site and resolvers.site (#135, #165, #169); Carlos Talbot for the MikroTik routers and the Unraid template (#68, #67); airart320 for the FRITZ!Box routers (#110, #119), Telegram alerts (#134) and the report behind the DNSSEC question cache and prefetch (#112); Pierpaolo Pernici for the Telegram request (#129); cbernha986 for the reports behind the AD bit fix and the DNSSEC work (#155, #120); Michael Roughton for the strategies documentation and the follow-up on #120 (#123); snnh for the Chinese installer with AliDNS and DNSPod (#141); Gael, Илья Тетерин and Dylan Duan for the French, Russian and newest Chinese translations (#170, #160, #156); spiralshapeturtle for the reports behind failover (#121), DoQ (#130) and Compare nodes (#131); sampl3x for the DoQ report (#127); Daniel for the client-ID request (#133); Graham Fairbank for the port 53 check in the Docker quick start (#162); Greg Pakes for the report behind the hook pod and the first-Hello wait (#128).

What's Changed

  • docs(upstream): describe the strategies and parallel_fanout [UPS-005, DOC-006] by @rough-ton in #123
  • chore: start 0.10.0 development (after v0.9.0) [OPS-004] by @github-actions[bot] in #126
  • Support FRITZ!Box device identity via TR-064 by @airart320 in #110
  • feat(router): sign in to a FRITZ!Box and read its whole host list by @airart320 in #119
  • feat(alerts): Telegram bot destinations [OBS-010] by @airart320 in #134
  • feat(install): Simplified Chinese messages and AliDNS/DNSPod upstreams [OPS-004, DOC-001] by @snnh in #141
  • test(e2e): probe TCP ports for the API and metrics [OPS-007, CLU-008] by @aslafy-z in #142
  • build(ci): bump azure/setup-helm from 4 to 5 by @dependabot[bot] in #137
  • build(ci): bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in #139
  • build(deps): bump the ui-minor-patch group in /ui with 3 updates by @dependabot[bot] in #136
  • build(ci): bump actions/setup-python from 5 to 7 by @dependabot[bot] in #138
  • Feat/mikrotik router by @tusc in #68
  • build(deps): bump cross-spawn from 7.0.6 to 7.1.2 in /deploy/mcp-e2e by @dependabot[bot] in #157
  • Feat/Unraid template by @tusc in #67
  • docs: the Docker quick start says to check port 53 before the first start [OPS-004, DOC-006] by @grahamfairbank in #162
  • zh-Hans: translate the newest messages (macWithheld, list Check/Refresh now, Telegram, FRITZ!Box) by @Kiddo4993 in #156
  • Add Rus lang translate by @iteterin in #160
  • i18n: add French (fr-FR) language pack by @gael1980 in #170
  • fix(config): ignore an empty TELLTALE_CLUSTER_SITE [CLU-009] by @aslafy-z in #168
  • feat(helm): resolvers.site with value and valueFrom [CLU-009] by @aslafy-z in #169
  • fix(cluster): an ephemeral member opens no cluster port [CLU-009] by @aslafy-z in #172
  • fix(ui): language pack build check and its test race [API-013] by @aslafy-z in #173

New Contributors

Full Changelog: v0.9.0...v0.10.0

Don't miss a new telltaledns release

NewReleases is sending notifications on new releases.