--- a/README Tue Feb 19 13:58:22 2013 +0200
+++ b/README Tue Feb 19 15:20:40 2013 +0200
@@ -1,7 +1,7 @@
Manage DNS/bind9 zonefiles.
update:
- ./bin/update reads data from settings/, and generates zonefiles under zones/.
+ ./bin/update reads data from settings/, and generates zonefiles under var/zones/.
`update` also shows and commits changes in settings/ data.
@@ -78,9 +78,6 @@
settings/:
Input files, fed through update to generate files under zones/
- *.serial:
- Zone serial numbers for corresponding *.zone
-
*.zone:
Zone header, passed through process-zone with `--serial *.serial` and any appropriate `--expand view=...`.
@@ -92,27 +89,33 @@
*.txt:
Hosts zone data, used to generate forwards/reverse -hosts zones
-zones/:
- Output files, loaded by bind.
-
- common/*
- Common zone files shared across views.
-
- hosts/*:$view
- View-variant hosts zones generated from settings/*.txt
-
- hosts/*
- Host zones generated from settings/*.txt, may be used in some views but not others.
+var/
+ Generated files.
- includes/*:$view
- View-specific zone includes used from view/*.
-
- includes/*.*
- Zone includes used from view/*.
+ zones/:
+ Generated zonefiles, loaded by bind.
- $view/*
- Zone data for given zone/domain in given view
+ common/*
+ Common zone files shared across views.
- $view/* -> ...:
- Symlinked generic-zone data for some specific zone; either to common/* or $view/*.
+ hosts/*:$view
+ View-variant hosts zones generated from settings/*.txt
+ hosts/*
+ Host zones generated from settings/*.txt, may be used in some views but not others.
+
+ includes/*:$view
+ View-specific zone includes used from view/*.
+
+ includes/*.*
+ Zone includes used from view/*.
+
+ $view/*
+ Zone data for given zone/domain in given view
+
+ $view/* -> ...:
+ Symlinked generic-zone data for some specific zone; either to common/* or $view/*.
+
+ serials/*.serial
+ Zone serial numbers for corresponding zones/*/*.zone
+