libknot 3.3.15.dev0__tar.gz → 3.3.17.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/PKG-INFO +23 -17
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/README.md +22 -16
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot.egg-info/PKG-INFO +23 -17
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/pyproject.toml +1 -1
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/setup.py +1 -1
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot/__init__.py +0 -0
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot/control.py +0 -0
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot/dname.py +0 -0
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot/probe.py +0 -0
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot.egg-info/SOURCES.txt +0 -0
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot.egg-info/dependency_links.txt +0 -0
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/libknot.egg-info/top_level.txt +0 -0
- {libknot-3.3.15.dev0 → libknot-3.3.17.dev0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: libknot
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.17.dev0
|
|
4
4
|
Summary: Python bindings for libknot
|
|
5
5
|
Home-page: https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/libknot
|
|
6
6
|
Author: CZ.NIC, z.s.p.o.
|
|
@@ -61,7 +61,7 @@ The module API is stored in `libknot.control`.
|
|
|
61
61
|
### Protocol overview<a id="kctl-proto"></a>
|
|
62
62
|
|
|
63
63
|
Connections are supposed to be short-lived, because maintaining a passive
|
|
64
|
-
connection is costly for the server. Therefore the expected usage of the
|
|
64
|
+
connection is costly for the server. Therefore the expected usage of the control
|
|
65
65
|
interface is to always open a new connection on demand, then close it once it's
|
|
66
66
|
not immediately needed.
|
|
67
67
|
|
|
@@ -81,7 +81,7 @@ then sent along with the next `END` or `BLOCK` unit.
|
|
|
81
81
|
A unit can optionaly hold data, though this is only meaningful for the `DATA`
|
|
82
82
|
and `EXTRA` types. The data consists of several sections of which usually only
|
|
83
83
|
a few at a time will be present. For example when a unit issuing a `stats`
|
|
84
|
-
command is sent, there is no reason for it to contain an `
|
|
84
|
+
command is sent, there is no reason for it to contain an `ID` section.
|
|
85
85
|
|
|
86
86
|
The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
87
87
|
|
|
@@ -89,7 +89,7 @@ The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
|
89
89
|
| ------------ | ----------------------- | ------------------------------------------------------ |
|
|
90
90
|
| `COMMAND` | cmd | Command name. |
|
|
91
91
|
| `FLAGS` | flags | Command flags. |
|
|
92
|
-
| `ERROR` | *n/a*
|
|
92
|
+
| `ERROR` | *(n/a)* | Error message. Only sent by the server. |
|
|
93
93
|
| `SECTION` | section | Configuration section name. |
|
|
94
94
|
| `ITEM` | item | Configuration item name. |
|
|
95
95
|
| `ID` | identifier | Configuration item identifier. |
|
|
@@ -102,7 +102,7 @@ The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
|
102
102
|
|
|
103
103
|
### Commands reference<a id="kctl-cmds"></a>
|
|
104
104
|
|
|
105
|
-
The following is a reference for the low-level
|
|
105
|
+
The following is a reference for the low-level control API. In case you're unsure
|
|
106
106
|
of the commands' semantics, please consult the
|
|
107
107
|
<a href="https://www.knot-dns.cz/docs/latest/singlehtml/index.html#actions">knotc documentation</a>.
|
|
108
108
|
|
|
@@ -115,19 +115,22 @@ cmd-name(SECTION_NAME, [OPT_SECTION])
|
|
|
115
115
|
|
|
116
116
|
[OPT_SECTION="literal value"], # Optional section with fixed expected value.
|
|
117
117
|
[SECTION1, SECTION2] # Sections must be present together or not at all.
|
|
118
|
-
[
|
|
118
|
+
[SECTION1, [SECTION2]] # SECTION2 may only appear if SECTION1 is present.
|
|
119
119
|
SECTION_NAME="option1"|"option2" # Either one or the other literal may be used.
|
|
120
120
|
SECTION_NAME={"asdf"} # Any subset of characters may be used.
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
The `B` flag always represents an option to execute in blocking mode.
|
|
124
124
|
|
|
125
|
+
When listing the filters a command accepts, the letter which is passed into
|
|
126
|
+
`FILTERS` will be boldened. Like this: zone**f**ile
|
|
127
|
+
|
|
125
128
|
#### Server
|
|
126
129
|
|
|
127
130
|
* `status([TYPE="cert-key"|"configure"|"version"|"workers"])`
|
|
128
131
|
* `stop()`
|
|
129
132
|
* `reload()`
|
|
130
|
-
* `stats([SECTION
|
|
133
|
+
* `stats([SECTION, [ITEM]], [FLAGS="F"])`
|
|
131
134
|
+ `SECTION` stores the module, `ITEM` stores the counter
|
|
132
135
|
+ the `F` flag specifies to include 0 counters in server's response
|
|
133
136
|
|
|
@@ -142,13 +145,15 @@ The following commands apply to all zones if `ZONE` is left empty.
|
|
|
142
145
|
* `zone-refresh([ZONE], [FLAGS="B"])`
|
|
143
146
|
* `zone-retransfer([ZONE], [FLAGS="B"])`
|
|
144
147
|
* `zone-notify([ZONE], [FLAGS="B"])`
|
|
145
|
-
* `zone-flush([ZONE], [FILTERS="d", DATA], [FLAGS="
|
|
148
|
+
* `zone-flush([ZONE], [FILTERS="d", DATA], [FLAGS={"FB"}])`
|
|
146
149
|
+ the output**d**ir filter commands that zone(s) be flushed to path stored in the `DATA` section
|
|
150
|
+
+ the `F` flag is required if zonefile synchronization is disabled
|
|
147
151
|
* `zone-backup([ZONE], [FILTERS={"dzjtkocqZJTKOCQ"}, [DATA]], [FLAGS="B"])`
|
|
148
152
|
+ filters
|
|
149
153
|
- the backup**d**ir filter commands that backups be made to path stored in the `DATA` section
|
|
150
154
|
- **z**onefile, **j**ournal, **t**imers, **k**aspdb, keys**o**nly, **c**atalog, **q**uic
|
|
151
155
|
- negative counterparts (eg. no**Z**onefile) are symmetrical and capitalized
|
|
156
|
+
+ the `F` flag allows for an existing backupdir to be overwritten
|
|
152
157
|
* `zone-restore` *analogous to `zone-backup`*
|
|
153
158
|
* `zone-sign([ZONE], [FLAGS="B"])`
|
|
154
159
|
* `zone-validate([ZONE], [FLAGS="B"])`
|
|
@@ -168,15 +173,15 @@ Use `@` as `OWNER` if you want to denote `ZONE` itself as the owner.
|
|
|
168
173
|
+ if `ZONE` is left empty all zones are read
|
|
169
174
|
* `zone-begin(ZONE, [FILTERS="b"])`
|
|
170
175
|
+ filters: **b**enevolent
|
|
171
|
-
* `zone-commit(ZONE)`
|
|
172
|
-
* `zone-abort(ZONE)`
|
|
173
|
-
* `zone-diff(ZONE)`
|
|
174
|
-
* `zone-get(ZONE, [OWNER], [TYPE])`
|
|
175
|
-
* `zone-set(ZONE, OWNER, [TTL], TYPE, DATA)`
|
|
176
|
-
* `zone-unset(ZONE, OWNER, [TYPE, [DATA]])`
|
|
177
|
-
* `zone-purge(ZONE, [FILTERS={ocejktf}], [FLAGS="B"])`
|
|
176
|
+
* `zone-commit([ZONE])`
|
|
177
|
+
* `zone-abort([ZONE])`
|
|
178
|
+
* `zone-diff([ZONE])`
|
|
179
|
+
* `zone-get([ZONE], [OWNER], [TYPE])`
|
|
180
|
+
* `zone-set([ZONE], OWNER, [TTL], TYPE, DATA)`
|
|
181
|
+
* `zone-unset([ZONE], OWNER, [TYPE, [DATA]])`
|
|
182
|
+
* `zone-purge([ZONE], [FILTERS={ocejktf}], [FLAGS="B"])`
|
|
178
183
|
+ filters: **o**rphan, **c**atalog, **e**xpire, **j**ournal, **k**aspdb, **t**imers, zone**f**ile
|
|
179
|
-
* `zone-stats(ZONE, [SECTION
|
|
184
|
+
* `zone-stats([ZONE], [SECTION, [ITEM]], [FLAGS="F"])`
|
|
180
185
|
+ `SECTION` stores the module, `ITEM` stores the counter
|
|
181
186
|
+ the `F` flag specifies to include 0 counters in server's response
|
|
182
187
|
|
|
@@ -203,7 +208,8 @@ For the following commands:
|
|
|
203
208
|
* `conf-diff([SECTION, [ID], [ITEM]])`
|
|
204
209
|
* `conf-get([SECTION, [ID], [ITEM]])`
|
|
205
210
|
* `conf-set(SECTION, ID, ITEM, [DATA])`
|
|
206
|
-
* `conf-unset([SECTION, [ID], [ITEM]
|
|
211
|
+
* `conf-unset([SECTION, [ID], [ITEM], [DATA]])`
|
|
212
|
+
+ `DATA` may only be meaningfully specified if the preceding sections are as well
|
|
207
213
|
|
|
208
214
|
### Control usage<a id="control-usage"></a>
|
|
209
215
|
|
|
@@ -39,7 +39,7 @@ The module API is stored in `libknot.control`.
|
|
|
39
39
|
### Protocol overview<a id="kctl-proto"></a>
|
|
40
40
|
|
|
41
41
|
Connections are supposed to be short-lived, because maintaining a passive
|
|
42
|
-
connection is costly for the server. Therefore the expected usage of the
|
|
42
|
+
connection is costly for the server. Therefore the expected usage of the control
|
|
43
43
|
interface is to always open a new connection on demand, then close it once it's
|
|
44
44
|
not immediately needed.
|
|
45
45
|
|
|
@@ -59,7 +59,7 @@ then sent along with the next `END` or `BLOCK` unit.
|
|
|
59
59
|
A unit can optionaly hold data, though this is only meaningful for the `DATA`
|
|
60
60
|
and `EXTRA` types. The data consists of several sections of which usually only
|
|
61
61
|
a few at a time will be present. For example when a unit issuing a `stats`
|
|
62
|
-
command is sent, there is no reason for it to contain an `
|
|
62
|
+
command is sent, there is no reason for it to contain an `ID` section.
|
|
63
63
|
|
|
64
64
|
The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
65
65
|
|
|
@@ -67,7 +67,7 @@ The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
|
67
67
|
| ------------ | ----------------------- | ------------------------------------------------------ |
|
|
68
68
|
| `COMMAND` | cmd | Command name. |
|
|
69
69
|
| `FLAGS` | flags | Command flags. |
|
|
70
|
-
| `ERROR` | *n/a*
|
|
70
|
+
| `ERROR` | *(n/a)* | Error message. Only sent by the server. |
|
|
71
71
|
| `SECTION` | section | Configuration section name. |
|
|
72
72
|
| `ITEM` | item | Configuration item name. |
|
|
73
73
|
| `ID` | identifier | Configuration item identifier. |
|
|
@@ -80,7 +80,7 @@ The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
|
80
80
|
|
|
81
81
|
### Commands reference<a id="kctl-cmds"></a>
|
|
82
82
|
|
|
83
|
-
The following is a reference for the low-level
|
|
83
|
+
The following is a reference for the low-level control API. In case you're unsure
|
|
84
84
|
of the commands' semantics, please consult the
|
|
85
85
|
<a href="https://www.knot-dns.cz/docs/latest/singlehtml/index.html#actions">knotc documentation</a>.
|
|
86
86
|
|
|
@@ -93,19 +93,22 @@ cmd-name(SECTION_NAME, [OPT_SECTION])
|
|
|
93
93
|
|
|
94
94
|
[OPT_SECTION="literal value"], # Optional section with fixed expected value.
|
|
95
95
|
[SECTION1, SECTION2] # Sections must be present together or not at all.
|
|
96
|
-
[
|
|
96
|
+
[SECTION1, [SECTION2]] # SECTION2 may only appear if SECTION1 is present.
|
|
97
97
|
SECTION_NAME="option1"|"option2" # Either one or the other literal may be used.
|
|
98
98
|
SECTION_NAME={"asdf"} # Any subset of characters may be used.
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
The `B` flag always represents an option to execute in blocking mode.
|
|
102
102
|
|
|
103
|
+
When listing the filters a command accepts, the letter which is passed into
|
|
104
|
+
`FILTERS` will be boldened. Like this: zone**f**ile
|
|
105
|
+
|
|
103
106
|
#### Server
|
|
104
107
|
|
|
105
108
|
* `status([TYPE="cert-key"|"configure"|"version"|"workers"])`
|
|
106
109
|
* `stop()`
|
|
107
110
|
* `reload()`
|
|
108
|
-
* `stats([SECTION
|
|
111
|
+
* `stats([SECTION, [ITEM]], [FLAGS="F"])`
|
|
109
112
|
+ `SECTION` stores the module, `ITEM` stores the counter
|
|
110
113
|
+ the `F` flag specifies to include 0 counters in server's response
|
|
111
114
|
|
|
@@ -120,13 +123,15 @@ The following commands apply to all zones if `ZONE` is left empty.
|
|
|
120
123
|
* `zone-refresh([ZONE], [FLAGS="B"])`
|
|
121
124
|
* `zone-retransfer([ZONE], [FLAGS="B"])`
|
|
122
125
|
* `zone-notify([ZONE], [FLAGS="B"])`
|
|
123
|
-
* `zone-flush([ZONE], [FILTERS="d", DATA], [FLAGS="
|
|
126
|
+
* `zone-flush([ZONE], [FILTERS="d", DATA], [FLAGS={"FB"}])`
|
|
124
127
|
+ the output**d**ir filter commands that zone(s) be flushed to path stored in the `DATA` section
|
|
128
|
+
+ the `F` flag is required if zonefile synchronization is disabled
|
|
125
129
|
* `zone-backup([ZONE], [FILTERS={"dzjtkocqZJTKOCQ"}, [DATA]], [FLAGS="B"])`
|
|
126
130
|
+ filters
|
|
127
131
|
- the backup**d**ir filter commands that backups be made to path stored in the `DATA` section
|
|
128
132
|
- **z**onefile, **j**ournal, **t**imers, **k**aspdb, keys**o**nly, **c**atalog, **q**uic
|
|
129
133
|
- negative counterparts (eg. no**Z**onefile) are symmetrical and capitalized
|
|
134
|
+
+ the `F` flag allows for an existing backupdir to be overwritten
|
|
130
135
|
* `zone-restore` *analogous to `zone-backup`*
|
|
131
136
|
* `zone-sign([ZONE], [FLAGS="B"])`
|
|
132
137
|
* `zone-validate([ZONE], [FLAGS="B"])`
|
|
@@ -146,15 +151,15 @@ Use `@` as `OWNER` if you want to denote `ZONE` itself as the owner.
|
|
|
146
151
|
+ if `ZONE` is left empty all zones are read
|
|
147
152
|
* `zone-begin(ZONE, [FILTERS="b"])`
|
|
148
153
|
+ filters: **b**enevolent
|
|
149
|
-
* `zone-commit(ZONE)`
|
|
150
|
-
* `zone-abort(ZONE)`
|
|
151
|
-
* `zone-diff(ZONE)`
|
|
152
|
-
* `zone-get(ZONE, [OWNER], [TYPE])`
|
|
153
|
-
* `zone-set(ZONE, OWNER, [TTL], TYPE, DATA)`
|
|
154
|
-
* `zone-unset(ZONE, OWNER, [TYPE, [DATA]])`
|
|
155
|
-
* `zone-purge(ZONE, [FILTERS={ocejktf}], [FLAGS="B"])`
|
|
154
|
+
* `zone-commit([ZONE])`
|
|
155
|
+
* `zone-abort([ZONE])`
|
|
156
|
+
* `zone-diff([ZONE])`
|
|
157
|
+
* `zone-get([ZONE], [OWNER], [TYPE])`
|
|
158
|
+
* `zone-set([ZONE], OWNER, [TTL], TYPE, DATA)`
|
|
159
|
+
* `zone-unset([ZONE], OWNER, [TYPE, [DATA]])`
|
|
160
|
+
* `zone-purge([ZONE], [FILTERS={ocejktf}], [FLAGS="B"])`
|
|
156
161
|
+ filters: **o**rphan, **c**atalog, **e**xpire, **j**ournal, **k**aspdb, **t**imers, zone**f**ile
|
|
157
|
-
* `zone-stats(ZONE, [SECTION
|
|
162
|
+
* `zone-stats([ZONE], [SECTION, [ITEM]], [FLAGS="F"])`
|
|
158
163
|
+ `SECTION` stores the module, `ITEM` stores the counter
|
|
159
164
|
+ the `F` flag specifies to include 0 counters in server's response
|
|
160
165
|
|
|
@@ -181,7 +186,8 @@ For the following commands:
|
|
|
181
186
|
* `conf-diff([SECTION, [ID], [ITEM]])`
|
|
182
187
|
* `conf-get([SECTION, [ID], [ITEM]])`
|
|
183
188
|
* `conf-set(SECTION, ID, ITEM, [DATA])`
|
|
184
|
-
* `conf-unset([SECTION, [ID], [ITEM]
|
|
189
|
+
* `conf-unset([SECTION, [ID], [ITEM], [DATA]])`
|
|
190
|
+
+ `DATA` may only be meaningfully specified if the preceding sections are as well
|
|
185
191
|
|
|
186
192
|
### Control usage<a id="control-usage"></a>
|
|
187
193
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: libknot
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.17.dev0
|
|
4
4
|
Summary: Python bindings for libknot
|
|
5
5
|
Home-page: https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/libknot
|
|
6
6
|
Author: CZ.NIC, z.s.p.o.
|
|
@@ -61,7 +61,7 @@ The module API is stored in `libknot.control`.
|
|
|
61
61
|
### Protocol overview<a id="kctl-proto"></a>
|
|
62
62
|
|
|
63
63
|
Connections are supposed to be short-lived, because maintaining a passive
|
|
64
|
-
connection is costly for the server. Therefore the expected usage of the
|
|
64
|
+
connection is costly for the server. Therefore the expected usage of the control
|
|
65
65
|
interface is to always open a new connection on demand, then close it once it's
|
|
66
66
|
not immediately needed.
|
|
67
67
|
|
|
@@ -81,7 +81,7 @@ then sent along with the next `END` or `BLOCK` unit.
|
|
|
81
81
|
A unit can optionaly hold data, though this is only meaningful for the `DATA`
|
|
82
82
|
and `EXTRA` types. The data consists of several sections of which usually only
|
|
83
83
|
a few at a time will be present. For example when a unit issuing a `stats`
|
|
84
|
-
command is sent, there is no reason for it to contain an `
|
|
84
|
+
command is sent, there is no reason for it to contain an `ID` section.
|
|
85
85
|
|
|
86
86
|
The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
87
87
|
|
|
@@ -89,7 +89,7 @@ The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
|
89
89
|
| ------------ | ----------------------- | ------------------------------------------------------ |
|
|
90
90
|
| `COMMAND` | cmd | Command name. |
|
|
91
91
|
| `FLAGS` | flags | Command flags. |
|
|
92
|
-
| `ERROR` | *n/a*
|
|
92
|
+
| `ERROR` | *(n/a)* | Error message. Only sent by the server. |
|
|
93
93
|
| `SECTION` | section | Configuration section name. |
|
|
94
94
|
| `ITEM` | item | Configuration item name. |
|
|
95
95
|
| `ID` | identifier | Configuration item identifier. |
|
|
@@ -102,7 +102,7 @@ The data section identifiers are defined in `libknot.control.KnotCtlDataIdx`:
|
|
|
102
102
|
|
|
103
103
|
### Commands reference<a id="kctl-cmds"></a>
|
|
104
104
|
|
|
105
|
-
The following is a reference for the low-level
|
|
105
|
+
The following is a reference for the low-level control API. In case you're unsure
|
|
106
106
|
of the commands' semantics, please consult the
|
|
107
107
|
<a href="https://www.knot-dns.cz/docs/latest/singlehtml/index.html#actions">knotc documentation</a>.
|
|
108
108
|
|
|
@@ -115,19 +115,22 @@ cmd-name(SECTION_NAME, [OPT_SECTION])
|
|
|
115
115
|
|
|
116
116
|
[OPT_SECTION="literal value"], # Optional section with fixed expected value.
|
|
117
117
|
[SECTION1, SECTION2] # Sections must be present together or not at all.
|
|
118
|
-
[
|
|
118
|
+
[SECTION1, [SECTION2]] # SECTION2 may only appear if SECTION1 is present.
|
|
119
119
|
SECTION_NAME="option1"|"option2" # Either one or the other literal may be used.
|
|
120
120
|
SECTION_NAME={"asdf"} # Any subset of characters may be used.
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
The `B` flag always represents an option to execute in blocking mode.
|
|
124
124
|
|
|
125
|
+
When listing the filters a command accepts, the letter which is passed into
|
|
126
|
+
`FILTERS` will be boldened. Like this: zone**f**ile
|
|
127
|
+
|
|
125
128
|
#### Server
|
|
126
129
|
|
|
127
130
|
* `status([TYPE="cert-key"|"configure"|"version"|"workers"])`
|
|
128
131
|
* `stop()`
|
|
129
132
|
* `reload()`
|
|
130
|
-
* `stats([SECTION
|
|
133
|
+
* `stats([SECTION, [ITEM]], [FLAGS="F"])`
|
|
131
134
|
+ `SECTION` stores the module, `ITEM` stores the counter
|
|
132
135
|
+ the `F` flag specifies to include 0 counters in server's response
|
|
133
136
|
|
|
@@ -142,13 +145,15 @@ The following commands apply to all zones if `ZONE` is left empty.
|
|
|
142
145
|
* `zone-refresh([ZONE], [FLAGS="B"])`
|
|
143
146
|
* `zone-retransfer([ZONE], [FLAGS="B"])`
|
|
144
147
|
* `zone-notify([ZONE], [FLAGS="B"])`
|
|
145
|
-
* `zone-flush([ZONE], [FILTERS="d", DATA], [FLAGS="
|
|
148
|
+
* `zone-flush([ZONE], [FILTERS="d", DATA], [FLAGS={"FB"}])`
|
|
146
149
|
+ the output**d**ir filter commands that zone(s) be flushed to path stored in the `DATA` section
|
|
150
|
+
+ the `F` flag is required if zonefile synchronization is disabled
|
|
147
151
|
* `zone-backup([ZONE], [FILTERS={"dzjtkocqZJTKOCQ"}, [DATA]], [FLAGS="B"])`
|
|
148
152
|
+ filters
|
|
149
153
|
- the backup**d**ir filter commands that backups be made to path stored in the `DATA` section
|
|
150
154
|
- **z**onefile, **j**ournal, **t**imers, **k**aspdb, keys**o**nly, **c**atalog, **q**uic
|
|
151
155
|
- negative counterparts (eg. no**Z**onefile) are symmetrical and capitalized
|
|
156
|
+
+ the `F` flag allows for an existing backupdir to be overwritten
|
|
152
157
|
* `zone-restore` *analogous to `zone-backup`*
|
|
153
158
|
* `zone-sign([ZONE], [FLAGS="B"])`
|
|
154
159
|
* `zone-validate([ZONE], [FLAGS="B"])`
|
|
@@ -168,15 +173,15 @@ Use `@` as `OWNER` if you want to denote `ZONE` itself as the owner.
|
|
|
168
173
|
+ if `ZONE` is left empty all zones are read
|
|
169
174
|
* `zone-begin(ZONE, [FILTERS="b"])`
|
|
170
175
|
+ filters: **b**enevolent
|
|
171
|
-
* `zone-commit(ZONE)`
|
|
172
|
-
* `zone-abort(ZONE)`
|
|
173
|
-
* `zone-diff(ZONE)`
|
|
174
|
-
* `zone-get(ZONE, [OWNER], [TYPE])`
|
|
175
|
-
* `zone-set(ZONE, OWNER, [TTL], TYPE, DATA)`
|
|
176
|
-
* `zone-unset(ZONE, OWNER, [TYPE, [DATA]])`
|
|
177
|
-
* `zone-purge(ZONE, [FILTERS={ocejktf}], [FLAGS="B"])`
|
|
176
|
+
* `zone-commit([ZONE])`
|
|
177
|
+
* `zone-abort([ZONE])`
|
|
178
|
+
* `zone-diff([ZONE])`
|
|
179
|
+
* `zone-get([ZONE], [OWNER], [TYPE])`
|
|
180
|
+
* `zone-set([ZONE], OWNER, [TTL], TYPE, DATA)`
|
|
181
|
+
* `zone-unset([ZONE], OWNER, [TYPE, [DATA]])`
|
|
182
|
+
* `zone-purge([ZONE], [FILTERS={ocejktf}], [FLAGS="B"])`
|
|
178
183
|
+ filters: **o**rphan, **c**atalog, **e**xpire, **j**ournal, **k**aspdb, **t**imers, zone**f**ile
|
|
179
|
-
* `zone-stats(ZONE, [SECTION
|
|
184
|
+
* `zone-stats([ZONE], [SECTION, [ITEM]], [FLAGS="F"])`
|
|
180
185
|
+ `SECTION` stores the module, `ITEM` stores the counter
|
|
181
186
|
+ the `F` flag specifies to include 0 counters in server's response
|
|
182
187
|
|
|
@@ -203,7 +208,8 @@ For the following commands:
|
|
|
203
208
|
* `conf-diff([SECTION, [ID], [ITEM]])`
|
|
204
209
|
* `conf-get([SECTION, [ID], [ITEM]])`
|
|
205
210
|
* `conf-set(SECTION, ID, ITEM, [DATA])`
|
|
206
|
-
* `conf-unset([SECTION, [ID], [ITEM]
|
|
211
|
+
* `conf-unset([SECTION, [ID], [ITEM], [DATA]])`
|
|
212
|
+
+ `DATA` may only be meaningfully specified if the preceding sections are as well
|
|
207
213
|
|
|
208
214
|
### Control usage<a id="control-usage"></a>
|
|
209
215
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|