Repository navigation
Releases
v2.7.0
v2.7.0 — Rolling rankings, verified updates and a reworked dashboard
Rankings were frozen: once a ranking was full, new names could not enter it however often they were queried. Rankings now cover the last 24 hours and the last 7 days in bounded buckets that admit new names. Lifetime rankings are discarded on upgrade; counters are kept.
Updates are verified: every release archive now ships a <archive>.sha256, and self-update installs a release only when the download matches it and the release is newer than the running version. The new auto_update setting turns the periodic check off. The dashboard's "检查更新" only reports the newest version; installing is a separate, confirmed step.
Dashboard: a status line for upstream, failure-rate and subscription problems; rankings first with a 24-hour / 7-day switch, per-device filter and click-to-diagnose; explanations behind "?" buttons that also work on phones; light polling every 3 seconds with rankings every 30 seconds.
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.7.0 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
- c5e36e8 feat: rolling rankings, verified updates and a reworked dashboard
v2.6.0
v2.6.0 — Serving stale answers when upstreams are slow (RFC 8767)
When an expired cached answer exists and the upstream has not answered within 1.8 seconds, nbdns now serves the expired answer with a 30-second TTL instead of keeping the client waiting, as RFC 8767 recommends and Unbound and BIND do; the upstream answer still refreshes the cache. Expired answers are never preferred over a working upstream and never sent to DNSSEC queries, so short-TTL records such as DDNS names stay accurate. Failure fallbacks now use the RFC 8767 30-second TTL, expired answers are kept for one day instead of one hour, and the dashboard counts stale answers.
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.6.0 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
v2.5.1
v2.5.1 — Simpler dashboard and complete release archives
Dashboard and packaging changes only; DNS behavior is unchanged. Long lists show their first 10 rows with a "显示全部 N 条" toggle below the table, replacing heading buttons that overflowed some cards. Cards use one neutral style with explanations in heading tooltips, failure reasons are short labels, tables fit on phones, and the footer is a single line linking to the project and the running version's release notes. Release archives now include every release note instead of stopping at v2.0.5.
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.5.1 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
v2.5.0
v2.5.0 — Caching resolution failures (RFC 9520)
When every upstream fails, nbdns now caches the failure as RFC 9520 recommends: 5 seconds, doubling per consecutive failure of the same query up to 60 seconds, cleared by the next success. Client retries meanwhile receive SERVFAIL, or a stale cached answer, without new upstream queries, so persistent retries no longer repeat upstream queries or exhaust max_concurrent_queries. Overload rejections and bootstrap lookups of upstream hostnames are never failure-cached. The failed-domain ranking shows cached failures as their own reason.
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.5.0 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
- 3b8ac99 feat: cache resolution failures with backoff (RFC 9520)
v2.4.0
v2.4.0 — Prefetch, one-day cache cap and an accurate hit rate
Cache entries hit in the last tenth of their lifetime are refreshed in the background (prefetch, as in Unbound and BIND), so frequently queried names rarely miss; expired answers are still never served while upstreams respond, so short-TTL records such as DDNS names change on time. The fixed one-hour cap on cached lifetimes becomes cache_max_ttl, defaulting to one day like Unbound; set it to 3600 to keep the previous behavior. The dashboard's cache hit rate no longer counts blocked queries and custom records, which never consult the cache, and counts expired entries as misses.
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.4.0 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
- 29cd516 feat: prefetch expiring cache entries, cap cache lifetime at one day
v2.3.3
v2.3.3 — Query types in the ECS repair list
Some names in the ECS blackhole repair list showed no repaired address although the repair worked: HTTPS or AAAA queries refused with ECS were answered without ECS by NOERROR with no addresses, which clients received instead of SERVFAIL. Each repaired name now records its query types, and such entries read, for example, "无地址记录(HTTPS 查询)".
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.3.3 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
- 2b48f47 fix: record query types of ECS repairs so empty answers are explained
v2.3.2
v2.3.2 — Compact ECS repair list and footer links
The ECS blackhole repair panel now scrolls inside the panel, with an expand button, instead of listing up to 50 domains at full height. The running version, with its release notes link, and the GitHub link appear only in the footer.
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.3.2 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
- 9bdda10 feat: scroll the ECS repair list and keep project links in the footer
v2.3.1
v2.3.1 — Upstream latency for TCP/DoT and configuration schema
Fixes for v2.3.0: the dashboard showed TCP and DNS-over-TLS upstreams at about 0.001 ms because pooled TCP/DoT exchanges report no duration; latency is now measured around every upstream exchange. data/config.schema.json now describes the v2.3.0 settings web_auth, web_allowed_hosts and client_name_server, which editors flagged as unknown.
See release notes and, for the dashboard changes, v2.3.0. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.3.1 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
- 482152d fix: measure TCP/DoT upstream latency and describe new settings in schema
v2.3.0
v2.3.0 — Dashboard security, diagnosis and recent statistics
Security: the dashboard APIs sent Access-Control-Allow-Origin: *, letting any web page opened on the LAN read every resolved domain and the client that asked for it. That header is gone, cross-site requests can no longer reset statistics or trigger updates (update checks now require POST), and the dashboard only answers requests for IP addresses, localhost, single-label and .lan-style names, which stops DNS rebinding. Use the new web_allowed_hosts for other names such as a reverse-proxy domain, and the new optional web_auth for a dashboard password. DoH is unaffected.
Dashboard: last-24-hour counters with an hourly trend chart (kept across restarts); a DNS diagnosis tool showing routes, each upstream's answer and latency, the cache entry, the served answer and whether dnsmasq rebind protection would drop it; upstreams limited to the configured ones with 24-hour error rate and average / P95 latency; Top 50 failed domains with the failing upstreams; Top 50 private-address answers that dnsmasq turns into empty replies; device names via PTR with the new client_name_server.
See release notes. No configuration migration is required from v2.0.x. Existing installations may automatically install this release and restart. v1 configurations remain incompatible with v2.
v2.3.0 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
v2.2.0
v2.2.0 — Domain list subscriptions for upstreams
Upstreams can take their match domains from subscribed or local domain lists with the new match_lists field, e.g. dnsmasq-china-list for a domestic DoH upstream; dnsmasq, plain, full:/domain: and Clash DOMAIN-SUFFIX formats are supported. A 110,000-domain list costs about 0.1 µs per query and 7 MiB of memory. Subscriptions, including filter lists, use ETag conditional requests and never rewrite unchanged content, reducing downloads and flash writes. Existing installations may automatically install this release and restart.
See release notes. No configuration migration is required from v2.0.x. v1 configurations remain incompatible with v2.
Changelog
- acff0cc feat: route domain list subscriptions to upstreams