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

+4 -4
View File
@@ -31,8 +31,8 @@ server, mode 0640, readable by root and the `easydns` group). So after installat
### Creating a zone
`easydns zone create` writes a minimal, valid primary zone – SOA, NS, glue for in-zone
name servers and optional apex addresses – into `<data_dir>/zones/<zone>.zone`
(`/etc/easydns/data/zones/`) and its definition into `/etc/easydns/zones.d/<zone>.yaml`.
name servers and optional apex addresses – into `<data_dir>/zones/primary/<zone>.zone`
(`/etc/easydns/data/zones/primary/`) and its definition into `/etc/easydns/zones.d/<zone>.yaml`.
The zone is parsed and validated before anything is written; existing files are never
overwritten without `--force`.
@@ -66,7 +66,7 @@ ns1 IN A 192.0.2.10
# /etc/easydns/zones.d/example.com.yaml
- name: example.com
type: primary
file: zones/example.com.zone
file: zones/primary/example.com.zone
```
| Option | Meaning (default) |
@@ -99,7 +99,7 @@ output is structured. Exit codes: 0 success (a DNS answer, also NXDOMAIN for `ed
| `etrace` / `easytrace` | dig +trace | `etrace example.com --dnssec --json` |
| `ednssec` / `easydnssec` | delv | `ednssec example.com A -v` (secure/insecure/bogus with reason; exit 2 = bogus) |
| `eptr` / `easyptr` | dig -x | `eptr 192.0.2.1 2001:db8::1 --verify` (forward-confirmed) |
| `ezone` / `easyzone` | named-checkzone | `ezone check zones/example.com.zone --origin example.com`, `ezone validate --all -c config.yaml`, `ezone canonical ...` |
| `ezone` / `easyzone` | named-checkzone | `ezone check zones/primary/example.com.zone --origin example.com`, `ezone validate --all -c config.yaml`, `ezone canonical ...` |
| `econf` / `easyconf` | named-checkconf | `econf check config.yaml`, `econf print config.yaml` |
| `ebench` / `easybench` | dnsperf | `ebench @127.0.0.1 --qps 1000 --duration 30s -c 50 -d queries.txt` (high load needs `--i-own-this-server`) |
| `ediff` / `easydiff` | – | `ediff example.com MX @1.1.1.1 @8.8.8.8 --json` (order-insensitive, TTL shown not compared) |