This commit is contained in:
Mateusz Gruszczyński committed 2026-11-23 09:31:05 +01:00
1 parent 6e57b9e1b8
commit 7b8c7e93fb
48 files changed
+1010 -116

No files matched your search

+13 -6
View File
@@ -8,11 +8,11 @@ resolver**, a **Forwarder** and any **Hybrid** combination of them – and comes
> Migration from BIND: [docs/migration-from-bind.md](docs/migration-from-bind.md) · Feature status and gaps: [docs/spec-gaps.md](docs/spec-gaps.md)
## Project status: 0.1.1 – first public release, beta
## Project status: 0.1.2 – beta
All DNS roles listed below are implemented and covered by automated
tests (unit, integration with real servers on loopback, DNSSEC chains, DoT/DoH, API, CLI,
robustness – 102 test cases, `cargo clippy -D warnings` clean). **It has not yet been
robustness – 113 test cases, `cargo clippy -D warnings` clean). **It has not yet been
verified in production conditions.** Before it can be called production-ready, the items
in [Production readiness](#production-readiness) must be completed. Until then use it:
@@ -73,6 +73,9 @@ in [Production readiness](#production-readiness) must be completed. Until then u
* hybrid: local zones → policy → forward zones → recursion/forwarding, with separate cache
namespaces; private names never leak to the Internet (RFC 6761/6303 local-only names)
* split-horizon **views**, block/allow lists (exact, suffix, wildcard, regex, hosts files)
* **local names from `/etc/hosts`** (and other hosts-format files) answered first, like
dnsmasq: A/AAAA/PTR, optional domain for bare names, re-read automatically on change –
[docs/hosts.md](docs/hosts.md)
### Transport and security
@@ -96,7 +99,8 @@ in [Production readiness](#production-readiness) must be completed. Until then u
* `easydns` / `edns` CLI: run, check-config, status, zone create, zones, cache, upstreams,
block lists, root hints, DNSSEC keys, completions, man page – works locally **without
generating or passing an API key** (local control token, API on `127.0.0.1:9953`)
* one directory for everything: `/etc/easydns` (config, `zones.d/`, `keys.d/`, `data/zones/`)
* one directory for everything: `/etc/easydns` (config, `zones.d/`, `keys.d/`; data in
`data/zones/primary/`, `data/zones/secondary/`, `data/zones/signed/`)
* packages for Debian/Ubuntu, RHEL/Alma/Rocky and SUSE from
[repo.linuxiarz.pl](https://repo.linuxiarz.pl), Dockerfile + compose, systemd units,
install script, developer runner `dev.sh`
@@ -169,7 +173,7 @@ BIND first. Development from source:
```
The installed default ([config/config.yaml](config/config.yaml)): hybrid mode,
`0.0.0.0:53` + `[::1]:53`, recursion for `acl:lan`, zones in `/etc/easydns/data/zones/`,
`0.0.0.0:53` + `[::1]:53`, recursion for `acl:lan`, zone files in `/etc/easydns/data/zones/primary/`,
definitions in `/etc/easydns/zones.d/`, BIND key files in `/etc/easydns/keys.d/`.
Example configurations: [primary](config/primary.yaml), [secondary](config/secondary.yaml),
@@ -245,7 +249,9 @@ flowchart TD
OP -- UPDATE --> U[RFC 2136 on primary]
OP -- QUERY --> X{AXFR/IXFR?}
X -- yes --> XA[ACL + TSIG → transfer]
X -- no --> Z{local zone in client view?}
X -- no --> H{name in hosts files? client may resolve}
H -- yes --> HA[answer from hosts file AA=1]
H -- no --> Z{local zone in client view?}
Z -- yes --> AA[authoritative answer AA=1]
Z -- no --> R{client allowed to recurse?}
R -- no --> REF[REFUSED]
@@ -296,7 +302,8 @@ restricted permissions, runs unprivileged with `CAP_NET_BIND_SERVICE`. Details:
[**migration from BIND**](docs/migration-from-bind.md) · [feature status](docs/spec-gaps.md) ·
[**operations: master & resolution**](docs/operations.md) · [**zone transfer variants**](docs/zone-transfer-variants.md) ·
[**performance vs BIND (estimates)**](docs/performance.md) ·
[**encrypted DNS: DoT/DoH**](docs/secure-dns.md)
[**encrypted DNS: DoT/DoH**](docs/secure-dns.md) ·
[**local names from /etc/hosts (dnsmasq style)**](docs/hosts.md)
## Tests