12 lines
667 B
Markdown
12 lines
667 B
Markdown
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` |
|