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
View File
@@ -2,6 +2,19 @@
All notable changes follow [Keep a Changelog](https://keepachangelog.com/) and SemVer.
## [0.1.2] – 2026-11-23
### Changed
- **Zone data layout**: `data/zones/` is split by owner – `zones/primary/` (your zone files; default of `easydns zone create` and of zones created through the API), `zones/secondary/` (transferred copies, as before) and `zones/signed/` (DNSSEC, was `data/signed/`). Signed zones are moved automatically on the first start, so signatures are reused. Existing primary zones keep working from their current `file:` path; moving them is optional (commands in `docs/deployment.md`).
- Example configurations, `dev.sh`, the container (`compose.yaml` mounts `./zones/primary`) and the packages use the installed layout; sample zone files moved to `zones/primary/` in the repository, `config/hybrid.yaml` no longer uses `../` paths.
- Sample zone definitions in `config/zones.d/` are named after the zone (`example.org.yaml`), the same as `easydns zone create` writes them.
- systemd unit: removed `StateDirectory=easydns` – it created an unused, empty `/var/lib/easydns` (data lives in `/etc/easydns/data`).
### Added
- **Hosts files** (`hosts:`), like dnsmasq: names from `/etc/hosts`-format files (`hosts.files`, globs allowed) are answered before local zones, block lists, forwarding and recursion – A/AAAA for every name and alias, PTR for the address (first name), NODATA for other types so the name never leaves the host. Only for clients in `recursion.allowed_clients`. `hosts.domain` also answers bare names as `<name>.<domain>` (`expand-hosts`), `hosts.ttl` sets the TTL (default 0, like `local-ttl`), and changed files are re-read every `hosts.reload_interval` (default 5 s) without a reload. Missing files are a `check-config` warning and are read once they appear. Guide with a dnsmasq translation table: `docs/hosts.md`.
## [0.1.1] – 2026-11-22
First public release. Packages (DEB, RPM for RHEL, RPM for SUSE; amd64) are published on