2012-08-07 17:07:10 +10:00
|
|
|
Zone configuration commands:
|
|
|
|
|
|
|
|
We have defined the following groups:
|
|
|
|
|
|
|
|
* `ZONE`: for zone configuration
|
|
|
|
* `USER`: for user management
|
|
|
|
* `ERROR`: for error reporting
|
|
|
|
* `SYSTEM`: for system management?
|
|
|
|
* `...`: ...
|
|
|
|
|
2012-08-08 17:19:14 +10:00
|
|
|
Better stuff then add and set
|
2012-08-07 17:07:10 +10:00
|
|
|
|
|
|
|
# ZONE
|
|
|
|
|
|
|
|
In zone we have:
|
|
|
|
|
2012-08-07 20:33:31 +10:00
|
|
|
(This will probably all change and use more consistent names)
|
|
|
|
|
2012-08-07 17:07:10 +10:00
|
|
|
ZONE. TXT "READ origin /path/to/zone"
|
2012-08-07 20:33:31 +10:00
|
|
|
ZONE. TXT "READXFR origin ip(6)-of-master [tsig-secret]"
|
|
|
|
ZONE. TXT "DROP origin"
|
2012-08-08 01:42:36 +10:00
|
|
|
ZONE. TXT "list"
|
|
|
|
|
|
|
|
Zones are listed in the additional section of the reply packet
|
|
|
|
|
|
|
|
ZONE. TXT "zonename1"
|
|
|
|
ZONE. TXT "zonename2"
|
|
|
|
|
2012-08-07 17:07:10 +10:00
|
|
|
# USER
|
2012-08-08 01:42:36 +10:00
|
|
|
|
2012-08-08 17:19:14 +10:00
|
|
|
USER. TXT "ADD miekg"
|
2012-08-08 01:42:36 +10:00
|
|
|
USER. TXT "DROP miekg"
|
2012-08-08 17:19:14 +10:00
|
|
|
USER. TXT "ADDTSIG miekg base64-tsig-secret"
|
2012-08-08 06:36:39 +10:00
|
|
|
USER. TXT "ADDPOWER miekg list" // list/write/drop
|
|
|
|
USER. TXT "DROPPOWER miekg list"
|
2012-08-08 17:19:14 +10:00
|
|
|
|
|
|
|
|
2012-08-08 17:26:29 +10:00
|
|
|
The config is internally stored in some memory structure.
|
|
|
|
|
|
|
|
|
|
|
|
.FKS
|
|
|
|
ZONE.FKS. USER.FKS.
|