| 1 |
@@if defined BIND_CHROOT_DIR |
| 2 |
/@@{BIND_CHROOT_DIR}/dev/log$ f RotLog |
| 3 |
/@@{BIND_CHROOT_DIR}/dev$ d VarDir |
| 4 |
@@if not defined BIND_WORKING_DIR |
| 5 |
@@define BIND_WORKING_DIR @@{BIND_CHROOT_DIR}/var/cache/bind |
| 6 |
@@endif |
| 7 |
@@if not defined BIND_RUN_DIR |
| 8 |
@@define BIND_RUN_DIR @@{BIND_CHROOT_DIR}/@{RUN}/named |
| 9 |
@@endif |
| 10 |
@@endif |
| 11 |
|
| 12 |
@@if not defined BIND_WORKING_DIR |
| 13 |
@@define BIND_WORKING_DIR var/cache/bind |
| 14 |
@@endif |
| 15 |
@@if not defined BIND_RUN_DIR |
| 16 |
@@define BIND_RUN_DIR @@{RUN}/named |
| 17 |
@@endif |
| 18 |
/@@{RUN}/named$ d RecreatedDir |
| 19 |
/@@{BIND_RUN_DIR}$ d RecreatedDir |
| 20 |
/@@{BIND_RUN_DIR}/(session\\.key|named\\.pid)$ f VarFile |
| 21 |
/@@{BIND_WORKING_DIR}$ d VarDir |
| 22 |
# remove before forky |
| 23 |
# /@@{BIND_WORKING_DIR}/[-[:alnum:].]+$ f VarFile |
| 24 |
/@@{BIND_WORKING_DIR}/managed-keys\\.bind$ f VarFile |
| 25 |
!/@@{BIND_WORKING_DIR}/managed-keys\\.bind\\.jnl$ f |
| 26 |
/@@{RUN}/systemd/propagate/named\\.service$ d RecreatedDir |
| 27 |
|
| 28 |
# the bind packages in trixie do not suggest any structure for |
| 29 |
# zone directories. |
| 30 |
|
| 31 |
ZoneDir = VarDir |
| 32 |
ZoneFile = VarFile |
| 33 |
|
| 34 |
@@if defined BIND_ZONE_DIRS |
| 35 |
/@@{BIND_CHROOT_DIR}@@{BIND_ZONE_DIR_PREFIX}@@{BIND_ZONE_DIRS}$ d ZoneDir |
| 36 |
@@endif |
| 37 |
@@if defined BIND_ZONE_FILES |
| 38 |
# the regexp for BIND_ZONE_FILES must contain the respective directory! |
| 39 |
/@@{BIND_CHROOT_DIR}@@{BIND_ZONE_DIR_PREFIX}@@{BIND_ZONE_FILES}$ f ZoneFile |
| 40 |
@@endif |