Files
EasyDNS/config/zones.d/README.md
T
2026-11-23 09:31:05 +01:00

12 lines
667 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Zone definitions included by `config/config.yaml` (`include: ["zones.d/*.yaml"]`), installed
as `/etc/easydns/zones.d/`. One file per zone, named after the zone (`example.com.yaml` –
`easydns zone create` writes exactly that); files are read in alphabetical order, hidden
files and `*~` backups are ignored.
Relative `file:` paths are resolved against `server.data_dir`:
| Zone type | Zone file |
|---|---|
| primary | `file: zones/primary/example.com.zone` → `/etc/easydns/data/zones/primary/example.com.zone` (you edit it; DDNS/API write it too) |
| secondary | no `file:` needed – the copy is kept in `/etc/easydns/data/zones/secondary/example.com.zone` |