libknot 3.3.11.dev0__tar.gz → 3.3.12.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.11.dev0 → libknot-3.3.12.dev0}/PKG-INFO +51 -45
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/README.md +50 -44
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot.egg-info/PKG-INFO +51 -45
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/pyproject.toml +1 -1
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/setup.py +1 -1
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot/__init__.py +0 -0
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot/control.py +0 -0
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot/dname.py +0 -0
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot/probe.py +0 -0
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot.egg-info/SOURCES.txt +0 -0
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot.egg-info/dependency_links.txt +0 -0
- {libknot-3.3.11.dev0 → libknot-3.3.12.dev0}/libknot.egg-info/top_level.txt +0 -0
- {libknot-3.3.11.dev0 → libknot-3.3.12.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.12.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.
|
|
@@ -121,8 +121,8 @@ cmd-name(SECTION_NAME:<i>section's purpouse</i>,
|
|
|
121
121
|
[OPT_SECTION1, OPT_SECTION2], <i># Sections must be present together or not at all</i>
|
|
122
122
|
[OPT_MASTER, [OPT_SLAVE]], <i># OPT_SLAVE may only appear if OPT_MASTER is present</i>
|
|
123
123
|
SECTION_NAME2=<b>"option1"</b>|<b>"option2"</b>, <i># Either one or the other literal may be used</i>
|
|
124
|
-
SECTION_NAME3={<b>"asdf"</b>},
|
|
125
|
-
SECTION_NAME4
|
|
124
|
+
SECTION_NAME3={<b>"asdf"</b>}, <i># any subset of characters</i>
|
|
125
|
+
SECTION_NAME4=<b>"a"</b><i>:flag's purpouse</i>,<b>"s"</b>,<b>"d"</b>,<b>"f"</b> <i># any subset of characters</i>
|
|
126
126
|
)
|
|
127
127
|
</pre>
|
|
128
128
|
|
|
@@ -130,65 +130,71 @@ The **`"B"`** flag always represents an option to execute in blocking mode.
|
|
|
130
130
|
|
|
131
131
|
#### Server
|
|
132
132
|
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
133
|
+
* <pre>status([TYPE=<b>"cert-key"</b>|<b>"configure"</b>|<b>"version"</b>|<b>"workers"</b>])</pre>
|
|
134
|
+
* <pre>stop()</pre>
|
|
135
|
+
* <pre>reload()</pre>
|
|
136
|
+
* <pre>stats([SECTION:<i>module</i>], [ITEM:<i>counter</i>], [FLAGS=<b>"F"</b>:<i>include 0 counters</i>])</pre>
|
|
137
137
|
|
|
138
138
|
#### Zone events
|
|
139
139
|
|
|
140
140
|
`ZONE`: if none applies to all zones
|
|
141
141
|
|
|
142
|
-
*
|
|
142
|
+
* <pre>zone-status([ZONE], [FILTERS={<b>"rstefc"</b>}])</pre>
|
|
143
143
|
+ `FILTERS`: role `(r)`, serial `(s)`, transaction `(t)`, events `(e)`, freeze `(f)`, catalog `(c)`
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
144
|
+
* <pre>zone-reload([ZONE], [FLAGS={<b>"B"</b>,<b>"F"</b><i>:reload modules</i>}])</pre>
|
|
145
|
+
* <pre>zone-refresh([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
146
|
+
* <pre>zone-retransfer([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
147
|
+
* <pre>zone-notify([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
148
|
+
* <pre>zone-flush([ZONE], [FILTERS=<b>"d"</b>, DATA:<i>output directory</i>], [FLAGS=<b>"B"</b>])</pre>
|
|
149
|
+
* <pre>zone-backup([ZONE], [FILTERS={<b>"dzjtkocq"</b>}, [DATA:<i>output dir if "d" filter present</i>]], [FLAGS=<b>"B"</b>])</pre>
|
|
150
150
|
+ `FILTERS`
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
151
|
+
- zonefile `(z)`, journal `(j)`, timers `(t)`, kaspdb `(k)`, keysonly `(o)`, catalog `(c)`, quic `(q)`
|
|
152
|
+
- negative counterparts (eg. `nozonefile`) are symmetrical and capitalized
|
|
153
|
+
* <pre>zone-restore <i>analogous to zone-backup</i></pre>
|
|
154
|
+
* <pre>zone-sign([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
155
|
+
* <pre>zone-validate([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
156
|
+
* <pre>zone-keys-load([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
157
|
+
* <pre>zone-key-rollover([ZONE], TYPE=<b>"ksk"</b>|<b>"zsk"</b>, [FLAGS=<b>"B"</b>])</pre>
|
|
158
|
+
* <pre>zone-ksk-submitted([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
159
|
+
* <pre>zone-freeze([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
160
|
+
* <pre>zone-thaw([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
161
|
+
* <pre>zone-xfr-freeze([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
162
|
+
* <pre>zone-xfr-thaw([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
163
163
|
|
|
164
164
|
#### Zone editing
|
|
165
165
|
|
|
166
166
|
Use `"@"` as `OWNER` if you want to denote `ZONE` itself as the owner.
|
|
167
167
|
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
|
|
168
|
+
* <pre>zone-read([ZONE<i>:if none read all</i>], [OWNER], [TYPE])</pre>
|
|
169
|
+
* <pre>zone-begin(ZONE)</pre>
|
|
170
|
+
* <pre>zone-commit(ZONE)</pre>
|
|
171
|
+
* <pre>zone-abort(ZONE)</pre>
|
|
172
|
+
* <pre>zone-diff(ZONE)</pre>
|
|
173
|
+
* <pre>zone-get(ZONE, [OWNER], [TYPE])</pre> <!-- TODO: test if OWNER and TYPE may be specified independently -->
|
|
174
|
+
* <pre>zone-set(ZONE, OWNER, [TTL], TYPE, DATA)</pre>
|
|
175
|
+
* <pre>zone-unset(ZONE, OWNER, [TYPE, [DATA]])</pre>
|
|
176
|
+
* <pre>zone-purge(ZONE, [FILTERS={<b>ocejktf</b>}], [FLAGS=<b>"B"</b>])</pre>
|
|
177
|
+
+ `FILTERS`: orphan `(o)`, catalog `(c)`, expire `(e)`, journal `(j)`, kaspdb `(k)`, timers `(t)`, zonefile `(f)`
|
|
178
|
+
* <pre>zone-stats(ZONE, [SECTION<i>:module</i>], [ITEM<i>:counter</i>], [FLAGS=<b>"F"</b>:<i>include 0 counters</i>])</pre>
|
|
178
179
|
|
|
179
180
|
#### Configuration
|
|
180
181
|
|
|
181
182
|
optional list schema option ('s') in FILTERS <!-- TODO: k cemu to je? -->
|
|
182
183
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
184
|
+
For the following commands:<br/>
|
|
185
|
+
· `SECTION` holds the configuration section name (eg. `template`)<br/>
|
|
186
|
+
· `ID` holds the configuration id (eg. `default`)<br/>
|
|
187
|
+
· `ITEM` holds the configuration item name (eg. `storage`)<br/>
|
|
188
|
+
|
|
189
|
+
* <pre>conf-list([SECTION, [ID], [ITEM]], [FILTERS=<b>"s"</b>])</pre>
|
|
190
|
+
* <pre>conf-read([SECTION, [ID], [ITEM]])</pre>
|
|
191
|
+
* <pre>conf-begin()</pre>
|
|
192
|
+
* <pre>conf-commit()</pre>
|
|
193
|
+
* <pre>conf-abort()</pre>
|
|
194
|
+
* <pre>conf-diff([SECTION, [ID], [ITEM]])</pre>
|
|
195
|
+
* <pre>conf-get([SECTION, [ID], [ITEM]])</pre>
|
|
196
|
+
* <pre>conf-set(SECTION, ID, ITEM, [DATA], [FILTERS=<b>"s"</b>])</pre>
|
|
197
|
+
* <pre>conf-unset([SECTION, [ID], [ITEM]], [DATA])</pre>
|
|
192
198
|
|
|
193
199
|
### Control examples<a id="control-examples"></a>
|
|
194
200
|
|
|
@@ -99,8 +99,8 @@ cmd-name(SECTION_NAME:<i>section's purpouse</i>,
|
|
|
99
99
|
[OPT_SECTION1, OPT_SECTION2], <i># Sections must be present together or not at all</i>
|
|
100
100
|
[OPT_MASTER, [OPT_SLAVE]], <i># OPT_SLAVE may only appear if OPT_MASTER is present</i>
|
|
101
101
|
SECTION_NAME2=<b>"option1"</b>|<b>"option2"</b>, <i># Either one or the other literal may be used</i>
|
|
102
|
-
SECTION_NAME3={<b>"asdf"</b>},
|
|
103
|
-
SECTION_NAME4
|
|
102
|
+
SECTION_NAME3={<b>"asdf"</b>}, <i># any subset of characters</i>
|
|
103
|
+
SECTION_NAME4=<b>"a"</b><i>:flag's purpouse</i>,<b>"s"</b>,<b>"d"</b>,<b>"f"</b> <i># any subset of characters</i>
|
|
104
104
|
)
|
|
105
105
|
</pre>
|
|
106
106
|
|
|
@@ -108,65 +108,71 @@ The **`"B"`** flag always represents an option to execute in blocking mode.
|
|
|
108
108
|
|
|
109
109
|
#### Server
|
|
110
110
|
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
111
|
+
* <pre>status([TYPE=<b>"cert-key"</b>|<b>"configure"</b>|<b>"version"</b>|<b>"workers"</b>])</pre>
|
|
112
|
+
* <pre>stop()</pre>
|
|
113
|
+
* <pre>reload()</pre>
|
|
114
|
+
* <pre>stats([SECTION:<i>module</i>], [ITEM:<i>counter</i>], [FLAGS=<b>"F"</b>:<i>include 0 counters</i>])</pre>
|
|
115
115
|
|
|
116
116
|
#### Zone events
|
|
117
117
|
|
|
118
118
|
`ZONE`: if none applies to all zones
|
|
119
119
|
|
|
120
|
-
*
|
|
120
|
+
* <pre>zone-status([ZONE], [FILTERS={<b>"rstefc"</b>}])</pre>
|
|
121
121
|
+ `FILTERS`: role `(r)`, serial `(s)`, transaction `(t)`, events `(e)`, freeze `(f)`, catalog `(c)`
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
122
|
+
* <pre>zone-reload([ZONE], [FLAGS={<b>"B"</b>,<b>"F"</b><i>:reload modules</i>}])</pre>
|
|
123
|
+
* <pre>zone-refresh([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
124
|
+
* <pre>zone-retransfer([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
125
|
+
* <pre>zone-notify([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
126
|
+
* <pre>zone-flush([ZONE], [FILTERS=<b>"d"</b>, DATA:<i>output directory</i>], [FLAGS=<b>"B"</b>])</pre>
|
|
127
|
+
* <pre>zone-backup([ZONE], [FILTERS={<b>"dzjtkocq"</b>}, [DATA:<i>output dir if "d" filter present</i>]], [FLAGS=<b>"B"</b>])</pre>
|
|
128
128
|
+ `FILTERS`
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
129
|
+
- zonefile `(z)`, journal `(j)`, timers `(t)`, kaspdb `(k)`, keysonly `(o)`, catalog `(c)`, quic `(q)`
|
|
130
|
+
- negative counterparts (eg. `nozonefile`) are symmetrical and capitalized
|
|
131
|
+
* <pre>zone-restore <i>analogous to zone-backup</i></pre>
|
|
132
|
+
* <pre>zone-sign([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
133
|
+
* <pre>zone-validate([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
134
|
+
* <pre>zone-keys-load([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
135
|
+
* <pre>zone-key-rollover([ZONE], TYPE=<b>"ksk"</b>|<b>"zsk"</b>, [FLAGS=<b>"B"</b>])</pre>
|
|
136
|
+
* <pre>zone-ksk-submitted([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
137
|
+
* <pre>zone-freeze([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
138
|
+
* <pre>zone-thaw([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
139
|
+
* <pre>zone-xfr-freeze([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
140
|
+
* <pre>zone-xfr-thaw([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
141
141
|
|
|
142
142
|
#### Zone editing
|
|
143
143
|
|
|
144
144
|
Use `"@"` as `OWNER` if you want to denote `ZONE` itself as the owner.
|
|
145
145
|
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
|
|
146
|
+
* <pre>zone-read([ZONE<i>:if none read all</i>], [OWNER], [TYPE])</pre>
|
|
147
|
+
* <pre>zone-begin(ZONE)</pre>
|
|
148
|
+
* <pre>zone-commit(ZONE)</pre>
|
|
149
|
+
* <pre>zone-abort(ZONE)</pre>
|
|
150
|
+
* <pre>zone-diff(ZONE)</pre>
|
|
151
|
+
* <pre>zone-get(ZONE, [OWNER], [TYPE])</pre> <!-- TODO: test if OWNER and TYPE may be specified independently -->
|
|
152
|
+
* <pre>zone-set(ZONE, OWNER, [TTL], TYPE, DATA)</pre>
|
|
153
|
+
* <pre>zone-unset(ZONE, OWNER, [TYPE, [DATA]])</pre>
|
|
154
|
+
* <pre>zone-purge(ZONE, [FILTERS={<b>ocejktf</b>}], [FLAGS=<b>"B"</b>])</pre>
|
|
155
|
+
+ `FILTERS`: orphan `(o)`, catalog `(c)`, expire `(e)`, journal `(j)`, kaspdb `(k)`, timers `(t)`, zonefile `(f)`
|
|
156
|
+
* <pre>zone-stats(ZONE, [SECTION<i>:module</i>], [ITEM<i>:counter</i>], [FLAGS=<b>"F"</b>:<i>include 0 counters</i>])</pre>
|
|
156
157
|
|
|
157
158
|
#### Configuration
|
|
158
159
|
|
|
159
160
|
optional list schema option ('s') in FILTERS <!-- TODO: k cemu to je? -->
|
|
160
161
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
162
|
+
For the following commands:<br/>
|
|
163
|
+
· `SECTION` holds the configuration section name (eg. `template`)<br/>
|
|
164
|
+
· `ID` holds the configuration id (eg. `default`)<br/>
|
|
165
|
+
· `ITEM` holds the configuration item name (eg. `storage`)<br/>
|
|
166
|
+
|
|
167
|
+
* <pre>conf-list([SECTION, [ID], [ITEM]], [FILTERS=<b>"s"</b>])</pre>
|
|
168
|
+
* <pre>conf-read([SECTION, [ID], [ITEM]])</pre>
|
|
169
|
+
* <pre>conf-begin()</pre>
|
|
170
|
+
* <pre>conf-commit()</pre>
|
|
171
|
+
* <pre>conf-abort()</pre>
|
|
172
|
+
* <pre>conf-diff([SECTION, [ID], [ITEM]])</pre>
|
|
173
|
+
* <pre>conf-get([SECTION, [ID], [ITEM]])</pre>
|
|
174
|
+
* <pre>conf-set(SECTION, ID, ITEM, [DATA], [FILTERS=<b>"s"</b>])</pre>
|
|
175
|
+
* <pre>conf-unset([SECTION, [ID], [ITEM]], [DATA])</pre>
|
|
170
176
|
|
|
171
177
|
### Control examples<a id="control-examples"></a>
|
|
172
178
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: libknot
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.12.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.
|
|
@@ -121,8 +121,8 @@ cmd-name(SECTION_NAME:<i>section's purpouse</i>,
|
|
|
121
121
|
[OPT_SECTION1, OPT_SECTION2], <i># Sections must be present together or not at all</i>
|
|
122
122
|
[OPT_MASTER, [OPT_SLAVE]], <i># OPT_SLAVE may only appear if OPT_MASTER is present</i>
|
|
123
123
|
SECTION_NAME2=<b>"option1"</b>|<b>"option2"</b>, <i># Either one or the other literal may be used</i>
|
|
124
|
-
SECTION_NAME3={<b>"asdf"</b>},
|
|
125
|
-
SECTION_NAME4
|
|
124
|
+
SECTION_NAME3={<b>"asdf"</b>}, <i># any subset of characters</i>
|
|
125
|
+
SECTION_NAME4=<b>"a"</b><i>:flag's purpouse</i>,<b>"s"</b>,<b>"d"</b>,<b>"f"</b> <i># any subset of characters</i>
|
|
126
126
|
)
|
|
127
127
|
</pre>
|
|
128
128
|
|
|
@@ -130,65 +130,71 @@ The **`"B"`** flag always represents an option to execute in blocking mode.
|
|
|
130
130
|
|
|
131
131
|
#### Server
|
|
132
132
|
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
133
|
+
* <pre>status([TYPE=<b>"cert-key"</b>|<b>"configure"</b>|<b>"version"</b>|<b>"workers"</b>])</pre>
|
|
134
|
+
* <pre>stop()</pre>
|
|
135
|
+
* <pre>reload()</pre>
|
|
136
|
+
* <pre>stats([SECTION:<i>module</i>], [ITEM:<i>counter</i>], [FLAGS=<b>"F"</b>:<i>include 0 counters</i>])</pre>
|
|
137
137
|
|
|
138
138
|
#### Zone events
|
|
139
139
|
|
|
140
140
|
`ZONE`: if none applies to all zones
|
|
141
141
|
|
|
142
|
-
*
|
|
142
|
+
* <pre>zone-status([ZONE], [FILTERS={<b>"rstefc"</b>}])</pre>
|
|
143
143
|
+ `FILTERS`: role `(r)`, serial `(s)`, transaction `(t)`, events `(e)`, freeze `(f)`, catalog `(c)`
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
144
|
+
* <pre>zone-reload([ZONE], [FLAGS={<b>"B"</b>,<b>"F"</b><i>:reload modules</i>}])</pre>
|
|
145
|
+
* <pre>zone-refresh([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
146
|
+
* <pre>zone-retransfer([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
147
|
+
* <pre>zone-notify([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
148
|
+
* <pre>zone-flush([ZONE], [FILTERS=<b>"d"</b>, DATA:<i>output directory</i>], [FLAGS=<b>"B"</b>])</pre>
|
|
149
|
+
* <pre>zone-backup([ZONE], [FILTERS={<b>"dzjtkocq"</b>}, [DATA:<i>output dir if "d" filter present</i>]], [FLAGS=<b>"B"</b>])</pre>
|
|
150
150
|
+ `FILTERS`
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
151
|
+
- zonefile `(z)`, journal `(j)`, timers `(t)`, kaspdb `(k)`, keysonly `(o)`, catalog `(c)`, quic `(q)`
|
|
152
|
+
- negative counterparts (eg. `nozonefile`) are symmetrical and capitalized
|
|
153
|
+
* <pre>zone-restore <i>analogous to zone-backup</i></pre>
|
|
154
|
+
* <pre>zone-sign([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
155
|
+
* <pre>zone-validate([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
156
|
+
* <pre>zone-keys-load([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
157
|
+
* <pre>zone-key-rollover([ZONE], TYPE=<b>"ksk"</b>|<b>"zsk"</b>, [FLAGS=<b>"B"</b>])</pre>
|
|
158
|
+
* <pre>zone-ksk-submitted([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
159
|
+
* <pre>zone-freeze([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
160
|
+
* <pre>zone-thaw([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
161
|
+
* <pre>zone-xfr-freeze([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
162
|
+
* <pre>zone-xfr-thaw([ZONE], [FLAGS=<b>"B"</b>])</pre>
|
|
163
163
|
|
|
164
164
|
#### Zone editing
|
|
165
165
|
|
|
166
166
|
Use `"@"` as `OWNER` if you want to denote `ZONE` itself as the owner.
|
|
167
167
|
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
|
|
168
|
+
* <pre>zone-read([ZONE<i>:if none read all</i>], [OWNER], [TYPE])</pre>
|
|
169
|
+
* <pre>zone-begin(ZONE)</pre>
|
|
170
|
+
* <pre>zone-commit(ZONE)</pre>
|
|
171
|
+
* <pre>zone-abort(ZONE)</pre>
|
|
172
|
+
* <pre>zone-diff(ZONE)</pre>
|
|
173
|
+
* <pre>zone-get(ZONE, [OWNER], [TYPE])</pre> <!-- TODO: test if OWNER and TYPE may be specified independently -->
|
|
174
|
+
* <pre>zone-set(ZONE, OWNER, [TTL], TYPE, DATA)</pre>
|
|
175
|
+
* <pre>zone-unset(ZONE, OWNER, [TYPE, [DATA]])</pre>
|
|
176
|
+
* <pre>zone-purge(ZONE, [FILTERS={<b>ocejktf</b>}], [FLAGS=<b>"B"</b>])</pre>
|
|
177
|
+
+ `FILTERS`: orphan `(o)`, catalog `(c)`, expire `(e)`, journal `(j)`, kaspdb `(k)`, timers `(t)`, zonefile `(f)`
|
|
178
|
+
* <pre>zone-stats(ZONE, [SECTION<i>:module</i>], [ITEM<i>:counter</i>], [FLAGS=<b>"F"</b>:<i>include 0 counters</i>])</pre>
|
|
178
179
|
|
|
179
180
|
#### Configuration
|
|
180
181
|
|
|
181
182
|
optional list schema option ('s') in FILTERS <!-- TODO: k cemu to je? -->
|
|
182
183
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
184
|
+
For the following commands:<br/>
|
|
185
|
+
· `SECTION` holds the configuration section name (eg. `template`)<br/>
|
|
186
|
+
· `ID` holds the configuration id (eg. `default`)<br/>
|
|
187
|
+
· `ITEM` holds the configuration item name (eg. `storage`)<br/>
|
|
188
|
+
|
|
189
|
+
* <pre>conf-list([SECTION, [ID], [ITEM]], [FILTERS=<b>"s"</b>])</pre>
|
|
190
|
+
* <pre>conf-read([SECTION, [ID], [ITEM]])</pre>
|
|
191
|
+
* <pre>conf-begin()</pre>
|
|
192
|
+
* <pre>conf-commit()</pre>
|
|
193
|
+
* <pre>conf-abort()</pre>
|
|
194
|
+
* <pre>conf-diff([SECTION, [ID], [ITEM]])</pre>
|
|
195
|
+
* <pre>conf-get([SECTION, [ID], [ITEM]])</pre>
|
|
196
|
+
* <pre>conf-set(SECTION, ID, ITEM, [DATA], [FILTERS=<b>"s"</b>])</pre>
|
|
197
|
+
* <pre>conf-unset([SECTION, [ID], [ITEM]], [DATA])</pre>
|
|
192
198
|
|
|
193
199
|
### Control examples<a id="control-examples"></a>
|
|
194
200
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|