v0.1.1
This commit is contained in:
1 parent
fa432bebda
commit
b796a6685e
15 files changed
+390
-153
No files matched your search
+54
-57
@@ -1,65 +1,62 @@
|
||||
# Specification 1.0 compliance – what is missing (0.1.0 + Unreleased changes, updated 2026-11-22)
|
||||
# Feature status and known gaps (0.1.1)
|
||||
|
||||
Legend: ❌ missing, ⚠️ partial, 🧪 implemented but not verified by running it.
|
||||
Everything not listed here is implemented and covered by tests (see `docs/testing.md`).
|
||||
What EasyDNS 0.1.1 does not do yet, does only partly, or has not been verified outside the
|
||||
automated tests. Everything not listed here is implemented and covered by tests
|
||||
(see [testing.md](testing.md)). Planned work is in the README roadmap.
|
||||
|
||||
Status: **missing** – not implemented; **partial** – implemented with the limits described;
|
||||
**untested** – implemented, but not verified by running it in a real environment;
|
||||
**done** – listed here because it was a gap in an earlier version.
|
||||
|
||||
## Features
|
||||
|
||||
| § | Requirement | Status | Details |
|
||||
| Area | Feature | Status | Details |
|
||||
|---|---|---|---|
|
||||
| 3.1 | multiple listeners with socket re-use, socket limits | ✅ | UDP socket group per address with SO_REUSEPORT (`server.udp_sockets`); one TCP listener per address |
|
||||
| 3.2 | DNAME | ❌ | not supported by the zone parser or the resolver |
|
||||
| 3.2 | RFC 3597 | ✅ | in zone files and on the wire |
|
||||
| 4 | DNSSEC on the primary | ⚠️ | online signing with NSEC; **no NSEC3 signing**; manual key rollover (add/remove key file + reload); no automated KSK/ZSK rollover schedule, no CDS/CDNSKEY |
|
||||
| 4 | `$GENERATE` in zone files | ❌ | expand beforehand (`named-compilezone`) |
|
||||
| 5 | secondary forwarding UPDATE to the primary | ❌ | a secondary answers NOTIMP to UPDATE |
|
||||
| 6 | DNSSEC: automated trust anchor updates (RFC 5011) | ❌ | built-in anchors (KSK-2017, KSK-2024) or a file; updates are manual |
|
||||
| 6 | DNSSEC: Ed448 | ❌ | zones signed only with Ed448 validate as *insecure* |
|
||||
| 6 | coalescing of identical in-flight queries | ✅ | client questions are coalesced per route (forwarder pool / recursion); internal resolver lookups are not |
|
||||
| 7 | conditional forwarding per record type | ❌ | per domain/suffix and per client only |
|
||||
| 9 | persistent cache across restarts (optional) | ❌ | |
|
||||
| 9 | separate cache for DNSSEC results | ⚠️ | validated answers use a separate cache key (`dnssec=true`); the validator's zone key cache has a fixed 300 s TTL |
|
||||
| 10 | block list update schedule | ⚠️ | `easydns blocklists update` + systemd timer; no in-process scheduler |
|
||||
| 10 | rules by record type | ❌ | blocking works by name and client, not by type |
|
||||
| 10 | per-client/per-subnet policies | ⚠️ | exemptions (`exempt_clients`) and views for zones; no different block lists per subnet |
|
||||
| 10 | RPZ | ❌ | not explicitly required; conversion is described in `migration-from-bind.md` |
|
||||
| 11.2 | DoH over HTTP/2 | ✅ | server: HTTP/2 + HTTP/1.1 (ALPN), h2c behind a proxy; client: persistent multiplexed HTTP/2 with HTTP/1.1 fallback; DoT client pooled |
|
||||
| 11.3 | DoQ / DoH3 | ❌ (as specified) | architecture prepared, not implemented |
|
||||
| 12 | response rate limiting (RRL) | ⚠️ | per client (/32, /56) + global with "slip"; no RRL per (qname, response) |
|
||||
| 12 | memory control | ⚠️ | limits on cache entries, connections, in-flight queries and sizes; no hard RSS limit |
|
||||
| 12 | API auth: token revocation/rotation | ⚠️ | via configuration change + reload; no endpoint; no JWT/mTLS (optional) |
|
||||
| 12 | hiding domain names in logs | ⚠️ | client IPs are anonymised; names in the query log are not masked (the query log is off by default) |
|
||||
| 13 | modular configuration (include) | ✅ | `include: ["zones.d/*.yaml"]` – zones, keys, ACLs, forward zones in separate files (nesting, globs) |
|
||||
| 13 | hot reload of listeners / TLS / cache size | ⚠️ | need a restart – reported in `restart_required` |
|
||||
| 14 | users with roles | ⚠️ | tokens with admin/read-only roles; no user accounts |
|
||||
| 14 | `/api/...` aliases | – | intentionally only `/api/v1` |
|
||||
| 15 | web panel | ❌ (by decision) | out of scope for the first versions; no `web/` directory |
|
||||
| 16 | Grafana dashboard export | ✅ | `deploy/grafana/easydns.json` (not tested in Grafana 🧪) |
|
||||
| 17 | CLI name | ✅ | `easydns` (short `edns`) instead of `mydns` – changed on request |
|
||||
| 17 | `easydns` over a secure socket | ⚠️ | HTTP API on loopback only; no UNIX socket |
|
||||
| 18 | man pages and completions for the `e*` tools | ⚠️ | man page + completions only for `easydns`; the tools have `--help` |
|
||||
| 18.1 | `ed`: `ixfr=SERIAL` syntax, several queries per invocation, `+multiline` | ❌ | `+multiline` is accepted and ignored |
|
||||
| 18.3 | full nslookup compatibility in `ens` | ⚠️ | the most common arguments and interactive commands |
|
||||
| 18.10 | install via Cargo, `.deb`, `.rpm`, archives | 🧪 | `cargo install --path crates/dns-cli` works; `.deb` – `scripts/build-deb.sh` (Docker) **not run** in this environment; `.rpm` – nfpm configuration only |
|
||||
| 19 | `web/`, `benches/`, `tests/` at the repository root | ⚠️ | tests live in `crates/*/tests`, benchmarking is `easybench` + `docs/testing.md`; `benches/` has only a README |
|
||||
| – | message translations (i18n) | ❌ | messages are English only |
|
||||
| Listeners | several listeners with socket re-use | done | UDP socket group per address with SO_REUSEPORT (`server.udp_sockets`); one TCP listener per address |
|
||||
| Zone data | DNAME | missing | not supported by the zone parser or the resolver |
|
||||
| Zone data | `$GENERATE` in zone files | missing | expand beforehand (`named-compilezone`) |
|
||||
| Zone data | RFC 3597 unknown types | done | in zone files and on the wire |
|
||||
| Primary | DNSSEC signing | partial | online signing with NSEC; no NSEC3 signing; manual key rollover (add/remove key file + reload); no automated KSK/ZSK schedule, no CDS/CDNSKEY |
|
||||
| Secondary | forwarding UPDATE to the primary | missing | a secondary answers NOTIMP to UPDATE |
|
||||
| Resolver | automated trust anchor updates (RFC 5011) | missing | built-in anchors (KSK-2017, KSK-2024) or a file; updates are manual |
|
||||
| Resolver | Ed448 | missing | zones signed only with Ed448 validate as insecure |
|
||||
| Resolver | coalescing of identical in-flight queries | done | client questions are coalesced per route (forwarder pool / recursion); internal resolver lookups are not |
|
||||
| Resolver | separate cache for DNSSEC results | partial | validated answers use a separate cache key; the validator's zone key cache has a fixed 300 s TTL |
|
||||
| Cache | persistent cache across restarts | missing | |
|
||||
| Forwarder | conditional forwarding per record type | missing | per domain/suffix and per client only |
|
||||
| Forwarder | DoT/DoH upstreams | done | persistent pooled DoT, multiplexed HTTP/2 DoH with HTTP/1.1 fallback |
|
||||
| Policy | block list update schedule | partial | `easydns blocklists update` + systemd timer; no in-process scheduler |
|
||||
| Policy | rules by record type | missing | blocking works by name and client, not by type |
|
||||
| Policy | per-client/per-subnet policies | partial | exemptions (`exempt_clients`) and views for zones; no different block lists per subnet |
|
||||
| Policy | RPZ | missing | conversion is described in [migration-from-bind.md](migration-from-bind.md) |
|
||||
| Policy | response rate limiting (RRL) | partial | per client (/32, /56) + global with "slip"; no RRL per (qname, response) |
|
||||
| Transports | DoH over HTTP/2 | done | server: HTTP/2 + HTTP/1.1 (ALPN), h2c behind a proxy |
|
||||
| Transports | DoQ / DoH3 | missing | |
|
||||
| Operations | memory control | partial | limits on cache entries, connections, in-flight queries and sizes; no hard RSS limit |
|
||||
| Operations | hot reload of listeners / TLS settings / cache size | partial | need a restart, reported in `restart_required` (certificate files themselves are reloaded automatically) |
|
||||
| Operations | hiding domain names in logs | partial | client IPs are anonymised; names in the query log are not masked (the query log is off by default) |
|
||||
| Configuration | modular configuration (include) | done | `include: ["zones.d/*.yaml", "keys.d/*.conf"]` – zones, keys, ACLs, forward zones in separate files |
|
||||
| API | token revocation/rotation | partial | via configuration change + reload; no endpoint; no JWT/mTLS |
|
||||
| API | users with roles | partial | tokens with admin/read-only roles; no user accounts |
|
||||
| API | path aliases | by design | only `/api/v1` |
|
||||
| API | web panel | by design | out of scope for now |
|
||||
| CLI | access over a UNIX socket | partial | HTTP API on loopback with a local control token; no UNIX socket |
|
||||
| Tools | man pages and completions for the `e*` tools | partial | man page + completions only for `easydns`; the tools have `--help` |
|
||||
| Tools | `ed`: `ixfr=SERIAL`, several queries per invocation, `+multiline` | missing | `+multiline` is accepted and ignored |
|
||||
| Tools | full nslookup compatibility in `ens` | partial | the most common arguments and interactive commands |
|
||||
| Tools | message translations (i18n) | missing | messages are English only |
|
||||
| Packaging | DEB / RPM (RHEL) / RPM (SUSE) | done | amd64 packages on [repo.linuxiarz.pl](https://repo.linuxiarz.pl); no arm64 packages yet |
|
||||
|
||||
## Verification (what has NOT been run)
|
||||
## Verification
|
||||
|
||||
| § | Requirement | Status |
|
||||
| Area | What | Status |
|
||||
|---|---|---|
|
||||
| 20.4 | comparison with real `dig`/`host`/`nslookup` | 🧪 `scripts/e2e.sh` is ready but **has not been run** (no `dig` in the build environment); the `e*` tools are covered by their own integration tests |
|
||||
| Stage B | "external test secondary" (e.g. BIND) | ❌ interoperability with BIND as secondary/primary has not been tested; primary↔secondary was tested between EasyDNS instances (in one test process; the two-process variant is in `e2e.sh`) |
|
||||
| 20.5 | cargo-fuzz | 🧪 targets in `fuzz/`, not run; the stable robustness test (30 000 packets) runs with every `cargo test` |
|
||||
| 20.6 | 10k/50k/100k QPS, long-running test (leaks, tasks, descriptors) | ⚠️ ~54.6k QPS measured for authoritative answers on 2 vCPU; no 100k+ and no soak test; estimates vs BIND in `docs/performance.md` (estimated to stop scaling above ~4–8 cores) |
|
||||
| 20.7 | CI, ARM64, musl | 🧪 workflow ready (`ci/github-actions-ci.yml` – copy it to `.github/workflows/`), not run; ARM64/musl/macOS/Windows builds not executed |
|
||||
| 21 | Docker image, compose, systemd | 🧪 files ready, not built or run |
|
||||
| 11 | DoT/DoH upstreams in the forwarder | ✅ tested end to end (`secure_forwarder_over_dot_and_doh`): plain-DNS client → forwarder → DoT / DoH upstream with a private CA |
|
||||
| 18.9 | `ewhois` (RDAP/WHOIS) | 🧪 needs the Internet, untested |
|
||||
| 6 | DNSSEC validation on the real Internet | 🧪 tested against a local signed root→TLD→zone chain; not checked with the real IANA anchors (no network in the test environment) |
|
||||
| 6 | NSEC3 validation | ⚠️ logic + RFC 5155 test vector unit-tested; no end-to-end test with an NSEC3 zone |
|
||||
|
||||
## Repository
|
||||
|
||||
* No git repository has been initialised on disk (no commits were made – commits only on request).
|
||||
* `.github/` could not be written remotely – the workflow is in `ci/github-actions-ci.yml`.
|
||||
| Tools | comparison with real `dig`/`host`/`nslookup` (`scripts/e2e.sh`) | untested; the `e*` tools are covered by their own integration tests |
|
||||
| Interoperability | BIND as primary/secondary of EasyDNS | partial: zone data of a production BIND setup (10 zones, DDNS with `update-policy` and TSIG) compared record by record after migration; AXFR/IXFR/NOTIFY between BIND and EasyDNS not tested in both directions |
|
||||
| Robustness | cargo-fuzz | untested: targets in `fuzz/` are not run in CI; the stable robustness test (30 000 packets) runs with every `cargo test` |
|
||||
| Performance | 100k+ QPS, long-running test (leaks, tasks, descriptors) | partial: ~60k QPS measured for authoritative answers on 2 vCPU; no soak test; estimates vs BIND in [performance.md](performance.md) |
|
||||
| Builds | CI, ARM64, musl | untested: workflow in `ci/github-actions-ci.yml`; packages are built for x86_64 glibc only |
|
||||
| Containers | Docker image, compose | untested |
|
||||
| Tools | `ewhois` (RDAP/WHOIS) | untested (needs the Internet) |
|
||||
| Resolver | DNSSEC validation on the real Internet | untested: verified against a local signed root -> TLD -> zone chain, not with the real IANA anchors |
|
||||
| Resolver | NSEC3 validation | partial: logic + RFC 5155 test vector unit-tested; no end-to-end test with an NSEC3 zone |
|
||||
Reference in new issue
Block a user