Repository navigation
Releases
v0.6.3
NimbusDNS v0.6.3
A fix for NimbusDNS refusing to start after a power cut, and update notices in the panel.
Starts after a crash or power cut
After a power cut the container restarted in a loop with Another nimbusdns instance is already running (see /var/run/nimbusdns.pid), and only deleting the PID file by hand brought it back.
The single-instance check read the PID from the file and treated it as running if a process with that PID existed. A restarted container keeps its filesystem, so the file from before the crash was still there, and in a container the daemon is always PID 1: the new process found "PID 1 is alive" (itself) and exited. On a normal host the same could happen when the old PID had been reused by another process.
The PID file is now held with an exclusive flock for the life of the process. The kernel drops the lock however the process ends (crash, SIGKILL, power loss), so a file left behind is simply taken over, while a second copy started next to a running one is still refused.
Update notices
NimbusDNS now asks GitHub for the latest release a minute after start and every 12 hours. When a newer version is out:
- the Overview page shows a banner with a link to the release notes (dismiss it and it stays hidden until the next release),
- the sidebar shows the new version next to the running one,
- Settings → About shows the latest release,
- the log gets one
NimbusDNS X.Y.Z is availableline.
The check is a single anonymous request to api.github.com and sends nothing about your network. If the router has no internet it fails quietly and retries hourly. To turn it off:
[misc]
check-updates = falseGET /api/version now includes an update object (latest, url, update_available, checked_at), or null before the first successful check.
Dependencies
Lockfile refreshed (http 1.6.0); every direct dependency was already at its latest release.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.6.3
v0.6.2
NimbusDNS v0.6.2
DoT fix: one silently dropped query no longer tears down a healthy upstream connection.
Since 0.6.0 a DoT connection on which a query sat unanswered for 2.5 s, with nothing else received in that time, was treated as dead and replaced. But upstreams drop some individual queries on purpose and never answer them: Google Public DNS ignores names with certain binary labels, which a device on the production network sends. Under light traffic, each such query reconnected a working connection, and the resend on the new connection hit the same wall.
Now a connection on which a query has waited 2 s with nothing received is sent a . NS probe. Any response within 1.5 s proves the connection alive; only the dropped query times out (and the router fails over to the next upstream as before). No response means the connection really is dead, and it is replaced as in 0.6.0, even if the stuck query's caller has already given up.
If a client keeps getting SERVFAIL for a name Google drops, an upstream that answers it (Cloudflare and Quad9 return NXDOMAIN) avoids the 5 s wait.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.6.2
v0.6.1
NimbusDNS v0.6.1
Log noise fix.
- The hourly query-log retention purge logs at info only when it actually deletes rows. A purge that finds nothing to delete (the common case, and always the case with query logging off) now logs at debug instead of writing
Deleted 0 old queriesevery hour.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.6.1
v0.6.0
NimbusDNS v0.6.0
A new web panel, built from scratch, and a fix for intermittent SERVFAIL answers found in production logs.
Web panel
The panel is rewritten from the ground up. It is still embedded in the binary and makes no external requests (no fonts, no CDNs), so it works on a router with no internet.
- Overview: query, blocked, cache-hit and rate tiles; a 24-hour stacked activity chart (forwarded, cached, blocked per 10 minutes) with hover details and a table view; top domains, top clients, recently blocked; memory, CPU and upstream status.
- Query log: search by domain and client, filter by status, page through the full history, and block or allow a domain from its row.
- Blocklists and Allow & deny: source list with one-click update (the panel reports when the new list is in), paged blocked-domain list, allow and deny rules in tabs.
- Upstream DNS: the active servers with their latency, a provider picker (Cloudflare, Google, Quad9, Mullvad, OpenDNS, AdGuard) and a custom DoT server form with validation.
- DHCP: pool usage, lease table with device names and vendors (filterable), and server settings.
- Settings: blocking response, query logging, cache size, rate limit, blocklist schedule, admin password and theme.
- Protection switch in the top bar pauses and resumes blocking for the whole network. Resuming from the same browser restores the blocking response you had (NXDOMAIN, custom IP, and so on) instead of resetting it to NULL.
- Proper sign-in and first-run setup screens replace the browser
prompt(). An expired session returns to the sign-in screen instead of reloading in a loop. - Light and dark themes (following the system by default), keyboard focus states, and a layout that works on phones.
Security fix: the old panel inserted domain names from the query log into the page as raw HTML. Any device on the network could send a DNS query for a crafted name and run script in the admin's browser. Everything from the network is now escaped. Panel assets are also served with X-Content-Type-Options: nosniff, X-Frame-Options: DENY, Referrer-Policy: no-referrer and Cache-Control: no-cache, so an upgrade never mixes a new page with a cached old script.
DNS
No more SERVFAIL bursts after quiet periods. The DoT connection to each upstream was kept open indefinitely. Behind a NAT (in particular carrier-grade NAT) idle TCP connections are silently dropped, so the first queries after a quiet spell were written to a dead connection and failed together. The fallback upstream's connection had gone stale the same way, so clients got SERVFAIL ("All upstreams failed" in the log, often right after the hour, when devices wake up).
- Connections are opened on demand and closed after 20 s without traffic.
- A connection with a query outstanding for 2.5 s and nothing received since is treated as dead and replaced. Before this, a blackholed connection could hang for the kernel's ~15 minute retransmission timeout.
- A query whose connection closes under it is resent once on the new connection before failing over.
- TCP connect has a 5 s timeout, and TCP_NODELAY is set so pipelined queries are not held back by Nagle's algorithm.
- After a failed connect, the upstream backs off (0.5 s up to 10 s) and fails queued queries immediately, so the router moves to the next upstream instead of waiting out the timeout.
Failover actually happens on a timeout. Each upstream could use the whole 5 s budget, so an upstream that timed out left none for the next one. A non-final upstream now gets at most 3 s.
Performance
A full cache no longer rescans itself on every miss. When the cache was full of live entries, every insert ran an O(n) scan of all shards that freed nothing. The scan now runs at most once a second.
Logging
Routine DHCP OFFER/ACK messages are logged at debug instead of info (they were 87% of all log lines), and MAC addresses print as aa:bb:cc:dd:ee:ff.
Dependencies
Every dependency is at its latest release (matchit stays where axum pins it). Unused dependencies were removed.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.6.0
OUI Database Update (2026-12-01)
Automatic monthly update of the IEEE OUI database.
- Source: https://www.wireshark.org/download/automated/data/manuf
- Entries: 58930 manufacturer prefixes
- Updated: 2026-12-01
This release is data-only. No code changes are included.
v0.5.13
NimbusDNS v0.5.13
Dependency refresh release.
nix0.31 → 0.32rusqlite0.41 → 0.43 (bundled SQLite update)matchitstays at 0.8.4: axum 0.8.9 pins it exactly (=0.8.4).
No functional changes; workspace tests and clippy pass.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.5.13
v0.5.12
NimbusDNS v0.5.12
Robustness release. Every fix below came out of a stress and fuzzing run against 0.5.11 (dnsperf at ~300k qps, malformed DNS and DHCP packets, mutation fuzzing, TCP connection exhaustion, slowloris, DHCP starvation and pool exhaustion) and has a regression test that fails without it.
DNS
One client can no longer stall DNS for the whole network. In-flight queries were capped globally (max-concurrent-queries, default 150) and a query to an upstream that never answers holds its slot for the full 5 s upstream timeout. About 300 such queries from a single device — or ordinary traffic while an upstream was slow — used every slot, and every other client's queries were dropped for 5 s at a time. There is now also a per-client cap, max-concurrent-per-client (default 64), and the global default is raised to 1024. A client that fills its own share only blocks itself.
TCP pipelining (RFC 7766). Only the first query on a TCP connection was answered; the connection was then closed with the rest unread, which made the kernel send a RST that could discard the first answer too. glibc sends A and AAAA back to back on one connection when it falls back to TCP, so those lookups failed. All queries on a connection are now answered in order (up to 100 per connection, 10 s idle timeout as before).
Rate-limited queries no longer flood the query log. Every refused query was written to the log, so one client over its rate limit pushed hundreds of thousands of rows a second into SQLite: a 20 s flood wrote ~700 MB and kept the writer busy for minutes. Now only the first refused query per client per second is logged. The same flood now leaves a 2 MB database and the server idle immediately afterwards.
DNS responses (QR=1) sent to the server are ignored instead of answered, so two servers cannot bounce packets at each other and the server is not a reflector for them.
Forwarded answers set RA and clear AA. Answers relayed from an upstream kept the upstream's flags, so an upstream that sets AA (or leaves RA clear) made nimbusdns look authoritative or non-recursive to clients.
DHCP
DHCP works when nimbusdns is not the gateway. Replies were sent from, and identified the server as, the configured router address. That only worked when nimbusdns ran on the router itself; on any other host the kernel refused to send from a foreign address ("Network is unreachable") and no client ever received an offer. The server now uses its own address on the served interface (or, without interface, its local address in the pool's subnet) for the IP source and option 54; router is only the gateway handed to clients. Installs on the gateway see no change.
A packet with hlen above 16 no longer panics. dhcproto slices its 16-byte chaddr by hlen, so one crafted packet panicked the packet task (and would take down the whole process under panic = "abort"). hlen is now checked first.
DHCPINFORM is answered (RFC 2131 §3.4): a client that already has an address gets DNS, router and domain in an ACK with no address and no lease times.
Full-size DHCP packets. The receive buffer was 1 KiB, so larger requests (many options, PXE, vendor class) were truncated and failed to decode; it is now 1500 bytes.
Build
The builder image moves from Debian 12 (rust:1-bookworm) to Debian 13 (rust:1-trixie), matching the distroless/cc-debian13 runtime image.
Upgrading
Drop-in image replacement; nimbus.toml, databases and DHCP leases are used as-is. If your config sets max-concurrent-queries = 150 explicitly (older templates did), raise it — 1024 is the new default.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.5.12
v0.5.11
NimbusDNS v0.5.11
Dependency maintenance release. All direct Rust dependencies are updated to their latest releases:
| Crate | From | To |
|---|---|---|
| tokio | 1.54.0 | 1.54.1 |
| rusqlite | 0.40.2 | 0.41.1 |
| parking_lot | 0.12.5 | 0.13.0 |
| uuid | 1.28.0 | 1.29.0 |
| signal-hook | 0.4.5 | 0.4.6 |
rusqlite 0.41 and parking_lot 0.13 are new minor versions of 0.x crates (semver-breaking in principle); neither needed a code change. rusqlite 0.41 moves to libsqlite3-sys 0.39, which bundles a newer SQLite. SQLite's on-disk format is backward compatible, so existing query-log and settings databases open unchanged.
Cargo.lock is refreshed as well (45 packages, including aws-lc-rs 1.19.0, rustls-webpki 0.103.16 and webpki-root-certs 1.0.11). The full test suite (202 tests) and clippy with -D warnings pass. The IEEE OUI database is the 2026-11-01 snapshot.
Existing nimbus.toml files, databases and DHCP leases are used as-is; upgrading is a drop-in image replacement.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.5.11
OUI Database Update (2026-11-01)
Automatic monthly update of the IEEE OUI database.
- Source: https://www.wireshark.org/download/automated/data/manuf
- Entries: 58645 manufacturer prefixes
- Updated: 2026-11-01
This release is data-only. No code changes are included.
v0.5.10
NimbusDNS v0.5.10
Reliability fixes for the DNS and DHCP listeners, and a DNS cache that keeps working once it fills up.
DNS listeners no longer stop on a socket error. Previously a single failed recv_from on the UDP socket, or a failed accept on the TCP listener (for example EMFILE when the process runs out of file descriptors), ended the listener loop. The process kept running, so container restart policies never kicked in, while every DNS query on that transport went unanswered. Both loops now log the error, back off for 50 ms and keep serving.
DHCP receive errors no longer spin the CPU. A persistent receive error made the DHCP loop retry immediately in a tight loop. It now logs a warning and backs off for 50 ms between attempts.
Expired cache entries are reclaimed. Expired entries used to be removed only when the same name was looked up again, so a busy cache filled up with dead entries, and the eviction that followed dropped live answers instead. Expired entries are now swept every 60 seconds and reclaimed before any live entry is evicted, which keeps the hit rate stable over long uptimes.
No configuration, database or API changes; upgrading is a drop-in image replacement.
📥 Downloads
| Platform | File |
|---|---|
| 🐧 Linux ARM64 | nimbusdns-linux-arm64.tar.gz |
| 🐧 Linux x64 | nimbusdns-linux-x64.tar.gz |
| 🍎 macOS Apple Silicon | nimbusdns-macos-arm64.tar.gz |
| 🍎 macOS Intel | nimbusdns-macos-x64.tar.gz |
🐳 Docker
Pull the image:
docker pull ismkdc/nimbusdns:v0.5.10