rndc.8 27.1 KB
Newer Older
Tinderbox User's avatar
Tinderbox User committed
1
.\" Copyright (C) 2000, 2001, 2004, 2005, 2007, 2013-2019 Internet Systems Consortium, Inc. ("ISC")
Rob Austein's avatar
regen  
Rob Austein committed
2
.\" 
Tinderbox User's avatar
Tinderbox User committed
3 4 5
.\" This Source Code Form is subject to the terms of the Mozilla Public
.\" License, v. 2.0. If a copy of the MPL was not distributed with this
.\" file, You can obtain one at http://mozilla.org/MPL/2.0/.
Rob Austein's avatar
regen  
Rob Austein committed
6
.\"
Rob Austein's avatar
regen  
Rob Austein committed
7 8
.hy 0
.ad l
Tinderbox User's avatar
Tinderbox User committed
9
'\" t
Mark Andrews's avatar
regen  
Mark Andrews committed
10 11
.\"     Title: rndc
.\"    Author: 
Tinderbox User's avatar
Tinderbox User committed
12
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Tinderbox User's avatar
Tinderbox User committed
13
.\"      Date: 2014-08-15
Mark Andrews's avatar
regen  
Mark Andrews committed
14
.\"    Manual: BIND9
Tinderbox User's avatar
Tinderbox User committed
15 16
.\"    Source: ISC
.\"  Language: English
Mark Andrews's avatar
regen  
Mark Andrews committed
17
.\"
Tinderbox User's avatar
Tinderbox User committed
18 19 20 21 22 23 24 25 26 27 28 29 30
.TH "RNDC" "8" "2014\-08\-15" "ISC" "BIND9"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
Mark Andrews's avatar
regen  
Mark Andrews committed
31 32 33 34
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
Tinderbox User's avatar
Tinderbox User committed
35 36 37
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
Mark Andrews's avatar
regen  
Mark Andrews committed
38
.SH "NAME"
Bob Halley's avatar
Bob Halley committed
39
rndc \- name server control utility
Rob Austein's avatar
regen  
Rob Austein committed
40
.SH "SYNOPSIS"
Tinderbox User's avatar
Tinderbox User committed
41
.HP \w'\fBrndc\fR\ 'u
Tinderbox User's avatar
Tinderbox User committed
42
\fBrndc\fR [\fB\-b\ \fR\fB\fIsource\-address\fR\fR] [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-k\ \fR\fB\fIkey\-file\fR\fR] [\fB\-s\ \fR\fB\fIserver\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-q\fR] [\fB\-r\fR] [\fB\-V\fR] [\fB\-y\ \fR\fB\fIkey_id\fR\fR] [[\fB\-4\fR] | [\fB\-6\fR]] {command}
Bob Halley's avatar
Bob Halley committed
43 44
.SH "DESCRIPTION"
.PP
Mark Andrews's avatar
regen  
Mark Andrews committed
45
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
46
controls the operation of a name server\&. It supersedes the
Mark Andrews's avatar
regen  
Mark Andrews committed
47
\fBndc\fR
Tinderbox User's avatar
Tinderbox User committed
48
utility that was provided in old BIND releases\&. If
Mark Andrews's avatar
regen  
Mark Andrews committed
49
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
50
is invoked with no command line options or arguments, it prints a short summary of the supported commands and the available options and their arguments\&.
Bob Halley's avatar
Bob Halley committed
51
.PP
Mark Andrews's avatar
regen  
Mark Andrews committed
52
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
53
communicates with the name server over a TCP connection, sending commands authenticated with digital signatures\&. In the current versions of
Mark Andrews's avatar
regen  
Mark Andrews committed
54 55
\fBrndc\fR
and
Tinderbox User's avatar
Tinderbox User committed
56
\fBnamed\fR, the only supported authentication algorithms are HMAC\-MD5 (for compatibility), HMAC\-SHA1, HMAC\-SHA224, HMAC\-SHA256 (default), HMAC\-SHA384 and HMAC\-SHA512\&. They use a shared secret on each end of the connection\&. This provides TSIG\-style authentication for the command request and the name server\*(Aqs response\&. All commands sent over the channel must be signed by a key_id known to the server\&.
Bob Halley's avatar
Bob Halley committed
57
.PP
Mark Andrews's avatar
regen  
Mark Andrews committed
58
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
59
reads a configuration file to determine how to contact the name server and decide what algorithm and key it should use\&.
Bob Halley's avatar
Bob Halley committed
60
.SH "OPTIONS"
Mark Andrews's avatar
regen  
Mark Andrews committed
61
.PP
Tinderbox User's avatar
Tinderbox User committed
62 63 64 65 66 67 68 69 70 71
\-4
.RS 4
Use IPv4 only\&.
.RE
.PP
\-6
.RS 4
Use IPv6 only\&.
.RE
.PP
Rob Austein's avatar
regen  
Rob Austein committed
72
\-b \fIsource\-address\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
73
.RS 4
Mark Andrews's avatar
regen  
Mark Andrews committed
74 75
Use
\fIsource\-address\fR
Tinderbox User's avatar
Tinderbox User committed
76
as the source address for the connection to the server\&. Multiple instances are permitted to allow setting of both the IPv4 and IPv6 source addresses\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
77 78
.RE
.PP
Rob Austein's avatar
regen  
Rob Austein committed
79
\-c \fIconfig\-file\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
80
.RS 4
Mark Andrews's avatar
regen  
Mark Andrews committed
81 82 83
Use
\fIconfig\-file\fR
as the configuration file instead of the default,
Tinderbox User's avatar
Tinderbox User committed
84
/etc/rndc\&.conf\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
85 86
.RE
.PP
Rob Austein's avatar
regen  
Rob Austein committed
87
\-k \fIkey\-file\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
88
.RS 4
Mark Andrews's avatar
regen  
Mark Andrews committed
89 90 91
Use
\fIkey\-file\fR
as the key file instead of the default,
Tinderbox User's avatar
Tinderbox User committed
92 93
/etc/rndc\&.key\&. The key in
/etc/rndc\&.key
Mark Andrews's avatar
regen  
Mark Andrews committed
94 95
will be used to authenticate commands sent to the server if the
\fIconfig\-file\fR
Tinderbox User's avatar
Tinderbox User committed
96
does not exist\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
97 98
.RE
.PP
Rob Austein's avatar
regen  
Rob Austein committed
99
\-s \fIserver\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
100
.RS 4
Mark Andrews's avatar
regen  
Mark Andrews committed
101 102
\fIserver\fR
is the name or address of the server which matches a server statement in the configuration file for
Tinderbox User's avatar
Tinderbox User committed
103
\fBrndc\fR\&. If no server is supplied on the command line, the host named by the default\-server clause in the options statement of the
Mark Andrews's avatar
regen  
Mark Andrews committed
104
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
105
configuration file will be used\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
106 107
.RE
.PP
Rob Austein's avatar
regen  
Rob Austein committed
108
\-p \fIport\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
109
.RS 4
Mark Andrews's avatar
regen  
Mark Andrews committed
110 111
Send commands to TCP port
\fIport\fR
Tinderbox User's avatar
Tinderbox User committed
112
instead of BIND 9\*(Aqs default control channel port, 953\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
113 114
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
115 116
\-q
.RS 4
Tinderbox User's avatar
Tinderbox User committed
117
Quiet mode: Message text returned by the server will not be printed except when there is an error\&.
Tinderbox User's avatar
Tinderbox User committed
118 119
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
120 121 122 123 124 125
\-r
.RS 4
Instructs
\fBrndc\fR
to print the result code returned by
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
126
after executing the requested command (e\&.g\&., ISC_R_SUCCESS, ISC_R_FAILURE, etc)\&.
Tinderbox User's avatar
Tinderbox User committed
127 128
.RE
.PP
Rob Austein's avatar
regen  
Rob Austein committed
129
\-V
Mark Andrews's avatar
regen  
Mark Andrews committed
130
.RS 4
Tinderbox User's avatar
Tinderbox User committed
131
Enable verbose logging\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
132 133
.RE
.PP
Mark Andrews's avatar
regen  
Mark Andrews committed
134
\-y \fIkey_id\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
135
.RS 4
Mark Andrews's avatar
regen  
Mark Andrews committed
136
Use the key
Mark Andrews's avatar
regen  
Mark Andrews committed
137
\fIkey_id\fR
Tinderbox User's avatar
Tinderbox User committed
138
from the configuration file\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
139
\fIkey_id\fR
Tinderbox User's avatar
Tinderbox User committed
140 141
must be known by
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
142
with the same algorithm and secret string in order for control message validation to succeed\&. If no
Mark Andrews's avatar
regen  
Mark Andrews committed
143
\fIkey_id\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
144 145
is specified,
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
146
will first look for a key clause in the server statement of the server being used, or if no server statement is present for that host, then the default\-key clause of the options statement\&. Note that the configuration file contains shared secrets which are used to send authenticated control commands to name servers\&. It should therefore not have general read or write access\&.
Mark Andrews's avatar
regen  
Mark Andrews committed
147
.RE
Tinderbox User's avatar
Tinderbox User committed
148
.SH "COMMANDS"
Bob Halley's avatar
Bob Halley committed
149
.PP
Tinderbox User's avatar
Tinderbox User committed
150
A list of commands supported by
Mark Andrews's avatar
regen  
Mark Andrews committed
151
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
152
can be seen by running
Mark Andrews's avatar
regen  
Mark Andrews committed
153
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
154
without arguments\&.
Tinderbox User's avatar
Tinderbox User committed
155 156 157
.PP
Currently supported commands are:
.PP
Tinderbox User's avatar
Tinderbox User committed
158
\fBaddzone \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR\fB \fR\fB\fIconfiguration\fR\fR\fB \fR
Tinderbox User's avatar
Tinderbox User committed
159
.RS 4
Tinderbox User's avatar
Tinderbox User committed
160
Add a zone while the server is running\&. This command requires the
Tinderbox User's avatar
Tinderbox User committed
161 162
\fBallow\-new\-zones\fR
option to be set to
Tinderbox User's avatar
Tinderbox User committed
163
\fByes\fR\&. The
Tinderbox User's avatar
Tinderbox User committed
164 165
\fIconfiguration\fR
string specified on the command line is the zone configuration text that would ordinarily be placed in
Tinderbox User's avatar
Tinderbox User committed
166
named\&.conf\&.
Tinderbox User's avatar
Tinderbox User committed
167
.sp
Tinderbox User's avatar
Tinderbox User committed
168
The configuration is saved in a file called
Tinderbox User's avatar
Tinderbox User committed
169 170 171 172 173 174 175
\fIviewname\fR\&.nzf
(or, if
\fBnamed\fR
is compiled with liblmdb, an LMDB database file called
\fIviewname\fR\&.nzd)\&.
\fIviewname\fR
is the name of the view, unless the view name contains characters that are incompatible with use as a file name, in which case a cryptographic hash of the view name is used instead\&. When
Tinderbox User's avatar
Tinderbox User committed
176
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
177
is restarted, the file will be loaded into the view configuration, so that zones that were added can persist after a restart\&.
Tinderbox User's avatar
Tinderbox User committed
178
.sp
Tinderbox User's avatar
Tinderbox User committed
179 180 181
This sample
\fBaddzone\fR
command would add the zone
Tinderbox User's avatar
Tinderbox User committed
182
example\&.com
Tinderbox User's avatar
Tinderbox User committed
183
to the default view:
Tinderbox User's avatar
Tinderbox User committed
184
.sp
Tinderbox User's avatar
Tinderbox User committed
185
$\fBrndc addzone example\&.com \*(Aq{ type master; file "example\&.com\&.db"; };\*(Aq\fR
Tinderbox User's avatar
Tinderbox User committed
186
.sp
Tinderbox User's avatar
Tinderbox User committed
187
(Note the brackets and semi\-colon around the zone configuration text\&.)
Tinderbox User's avatar
Tinderbox User committed
188 189 190 191
.sp
See also
\fBrndc delzone\fR
and
Tinderbox User's avatar
Tinderbox User committed
192
\fBrndc modzone\fR\&.
Tinderbox User's avatar
Tinderbox User committed
193 194
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
195
\fBdelzone \fR\fB[\-clean]\fR\fB \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR\fB \fR
Tinderbox User's avatar
Tinderbox User committed
196
.RS 4
Tinderbox User's avatar
Tinderbox User committed
197
Delete a zone while the server is running\&.
Tinderbox User's avatar
Tinderbox User committed
198 199
.sp
If the
Tinderbox User's avatar
Tinderbox User committed
200
\fB\-clean\fR
Tinderbox User's avatar
Tinderbox User committed
201
argument is specified, the zone\*(Aqs master file (and journal file, if any) will be deleted along with the zone\&. Without the
Tinderbox User's avatar
Tinderbox User committed
202
\fB\-clean\fR
Tinderbox User's avatar
Tinderbox User committed
203
option, zone files must be cleaned up by hand\&. (If the zone is of type "slave" or "stub", the files needing to be cleaned up will be reported in the output of the
Tinderbox User's avatar
Tinderbox User committed
204
\fBrndc delzone\fR
Tinderbox User's avatar
Tinderbox User committed
205
command\&.)
Tinderbox User's avatar
Tinderbox User committed
206 207
.sp
If the zone was originally added via
Tinderbox User's avatar
Tinderbox User committed
208 209 210
\fBrndc addzone\fR, then it will be removed permanently\&. However, if it was originally configured in
named\&.conf, then that original configuration is still in place; when the server is restarted or reconfigured, the zone will come back\&. To remove it permanently, it must also be removed from
named\&.conf
Tinderbox User's avatar
Tinderbox User committed
211 212 213 214
.sp
See also
\fBrndc addzone\fR
and
Tinderbox User's avatar
Tinderbox User committed
215
\fBrndc modzone\fR\&.
Tinderbox User's avatar
Tinderbox User committed
216 217
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
218
\fBdnstap ( \-reopen | \-roll \fR\fB[\fInumber\fR]\fR\fB )\fR
Tinderbox User's avatar
Tinderbox User committed
219
.RS 4
Tinderbox User's avatar
Tinderbox User committed
220 221
Close and re\-open DNSTAP output files\&.
\fBrndc dnstap \-reopen\fR
Tinderbox User's avatar
Tinderbox User committed
222 223 224
allows the output file to be renamed externally, so that
\fBnamed\fR
can truncate and re\-open it\&.
Tinderbox User's avatar
Tinderbox User committed
225 226 227 228
\fBrndc dnstap \-roll\fR
causes the output file to be rolled automatically, similar to log files; the most recent output file has "\&.0" appended to its name; the previous most recent output file is moved to "\&.1", and so on\&. If
\fInumber\fR
is specified, then the number of backup log files is limited to that number\&.
Tinderbox User's avatar
Tinderbox User committed
229 230
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
231
\fBdumpdb \fR\fB[\-all|\-cache|\-zones|\-adb|\-bad|\-fail]\fR\fB \fR\fB[\fIview \&.\&.\&.\fR]\fR
Tinderbox User's avatar
Tinderbox User committed
232
.RS 4
Tinderbox User's avatar
Tinderbox User committed
233
Dump the server\*(Aqs caches (default) and/or zones to the dump file for the specified views\&. If no view is specified, all views are dumped\&. (See the
Tinderbox User's avatar
Tinderbox User committed
234
\fBdump\-file\fR
Tinderbox User's avatar
Tinderbox User committed
235
option in the BIND 9 Administrator Reference Manual\&.)
Tinderbox User's avatar
Tinderbox User committed
236 237
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
238
\fBflush\fR
Tinderbox User's avatar
Tinderbox User committed
239
.RS 4
Tinderbox User's avatar
Tinderbox User committed
240
Flushes the server\*(Aqs cache\&.
Tinderbox User's avatar
Tinderbox User committed
241 242
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
243
\fBflushname\fR \fIname\fR [\fIview\fR]
Tinderbox User's avatar
Tinderbox User committed
244
.RS 4
Tinderbox User's avatar
Tinderbox User committed
245
Flushes the given name from the view\*(Aqs DNS cache and, if applicable, from the view\*(Aqs nameserver address database, bad server cache and SERVFAIL cache\&.
Tinderbox User's avatar
Tinderbox User committed
246 247
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
248
\fBflushtree\fR \fIname\fR [\fIview\fR]
Tinderbox User's avatar
Tinderbox User committed
249
.RS 4
Tinderbox User's avatar
Tinderbox User committed
250
Flushes the given name, and all of its subdomains, from the view\*(Aqs DNS cache, address database, bad server cache, and SERVFAIL cache\&.
Tinderbox User's avatar
Tinderbox User committed
251 252
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
253
\fBfreeze \fR\fB[\fIzone\fR [\fIclass\fR [\fIview\fR]]]\fR
Tinderbox User's avatar
Tinderbox User committed
254
.RS 4
Tinderbox User's avatar
Tinderbox User committed
255
Suspend updates to a dynamic zone\&. If no zone is specified, then all zones are suspended\&. This allows manual edits to be made to a zone normally updated by dynamic update\&. It also causes changes in the journal file to be synced into the master file\&. All dynamic update attempts will be refused while the zone is frozen\&.
Tinderbox User's avatar
Tinderbox User committed
256
.sp
Tinderbox User's avatar
Tinderbox User committed
257
See also
Tinderbox User's avatar
Tinderbox User committed
258
\fBrndc thaw\fR\&.
Tinderbox User's avatar
Tinderbox User committed
259 260 261 262
.RE
.PP
\fBhalt \fR\fB[\-p]\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
263
Stop the server immediately\&. Recent changes made through dynamic update or IXFR are not saved to the master files, but will be rolled forward from the journal files when the server is restarted\&. If
Tinderbox User's avatar
Tinderbox User committed
264 265
\fB\-p\fR
is specified
Tinderbox User's avatar
Tinderbox User committed
266
\fBnamed\fR\*(Aqs process id is returned\&. This allows an external process to determine when
Tinderbox User's avatar
Tinderbox User committed
267
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
268
had completed halting\&.
Tinderbox User's avatar
Tinderbox User committed
269 270
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
271
\fBrndc stop\fR\&.
Tinderbox User's avatar
Tinderbox User committed
272 273
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
274
\fBloadkeys \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
Tinderbox User's avatar
Tinderbox User committed
275
.RS 4
Tinderbox User's avatar
Tinderbox User committed
276 277
Fetch all DNSSEC keys for the given zone from the key directory\&. If they are within their publication period, merge them into the zone\*(Aqs DNSKEY RRset\&. Unlike
\fBrndc sign\fR, however, the zone is not immediately re\-signed by the new keys, but is allowed to incrementally re\-sign over time\&.
Tinderbox User's avatar
Tinderbox User committed
278 279 280 281
.sp
This command requires that the
\fBauto\-dnssec\fR
zone option be set to
Tinderbox User's avatar
Tinderbox User committed
282
maintain, and also requires the zone to be configured to allow dynamic DNS\&. (See "Dynamic Update Policies" in the Administrator Reference Manual for more details\&.)
Tinderbox User's avatar
Tinderbox User committed
283 284
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
285
\fBmanaged\-keys \fR\fB\fI(status | refresh | sync | destroy)\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
Tinderbox User's avatar
Tinderbox User committed
286
.RS 4
Tinderbox User's avatar
Tinderbox User committed
287
Inspect and control the "managed keys" database which handles RFC 5011 DNSSEC trust anchor maintenance\&. If a view is specified, these commands are applied to that view; otherwise they are applied to all views\&.
Tinderbox User's avatar
Tinderbox User committed
288 289 290 291 292 293 294 295 296 297 298
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
When run with the
status
Tinderbox User's avatar
Tinderbox User committed
299
keyword, prints the current status of the managed keys database\&.
Tinderbox User's avatar
Tinderbox User committed
300 301 302 303 304 305 306 307 308 309 310 311
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
When run with the
refresh
Tinderbox User's avatar
Tinderbox User committed
312
keyword, forces an immediate refresh query to be sent for all the managed keys, updating the managed keys database if any new keys are found, without waiting the normal refresh interval\&.
Tinderbox User's avatar
Tinderbox User committed
313 314 315 316 317 318 319 320 321 322 323 324
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
When run with the
sync
Tinderbox User's avatar
Tinderbox User committed
325
keyword, forces an immediate dump of the managed keys database to disk (in the file
Tinderbox User's avatar
Tinderbox User committed
326
managed\-keys\&.bind
Tinderbox User's avatar
Tinderbox User committed
327 328 329 330 331 332 333 334 335 336 337 338 339
or (\fIviewname\fR\&.mkeys)\&. This synchronizes the database with its journal file, so that the database\*(Aqs current contents can be inspected visually\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
When run with the
destroy
Tinderbox User's avatar
Tinderbox User committed
340
keyword, the managed keys database is shut down and deleted, and all key maintenance is terminated\&. This command should be used only with extreme caution\&.
Tinderbox User's avatar
Tinderbox User committed
341 342 343 344 345 346 347 348 349 350 351
.sp
Existing keys that are already trusted are not deleted from memory; DNSSEC validation can continue after this command is used\&. However, key maintenance operations will cease until
\fBnamed\fR
is restarted or reconfigured, and all existing key maintenance state will be deleted\&.
.sp
Running
\fBrndc reconfig\fR
or restarting
\fBnamed\fR
immediately after this command will cause key maintenance to be reinitialized from scratch, just as if the server were being started for the first time\&. This is primarily intended for testing, but it may also be used, for example, to jumpstart the acquisition of new keys in the event of a trust anchor rollover, or as a brute\-force repair for key maintenance problems\&.
.RE
Tinderbox User's avatar
Tinderbox User committed
352 353
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
354
\fBmodzone \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR\fB \fR\fB\fIconfiguration\fR\fR\fB \fR
Tinderbox User's avatar
Tinderbox User committed
355
.RS 4
Tinderbox User's avatar
Tinderbox User committed
356
Modify the configuration of a zone while the server is running\&. This command requires the
Tinderbox User's avatar
Tinderbox User committed
357 358
\fBallow\-new\-zones\fR
option to be set to
Tinderbox User's avatar
Tinderbox User committed
359
\fByes\fR\&. As with
Tinderbox User's avatar
Tinderbox User committed
360 361 362
\fBaddzone\fR, the
\fIconfiguration\fR
string specified on the command line is the zone configuration text that would ordinarily be placed in
Tinderbox User's avatar
Tinderbox User committed
363
named\&.conf\&.
Tinderbox User's avatar
Tinderbox User committed
364 365
.sp
If the zone was originally added via
Tinderbox User's avatar
Tinderbox User committed
366 367 368
\fBrndc addzone\fR, the configuration changes will be recorded permanently and will still be in effect after the server is restarted or reconfigured\&. However, if it was originally configured in
named\&.conf, then that original configuration is still in place; when the server is restarted or reconfigured, the zone will revert to its original configuration\&. To make the changes permanent, it must also be modified in
named\&.conf
Tinderbox User's avatar
Tinderbox User committed
369 370 371 372
.sp
See also
\fBrndc addzone\fR
and
Tinderbox User's avatar
Tinderbox User committed
373
\fBrndc delzone\fR\&.
Tinderbox User's avatar
Tinderbox User committed
374 375
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
376
\fBnotify \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
Tinderbox User's avatar
Tinderbox User committed
377
.RS 4
Tinderbox User's avatar
Tinderbox User committed
378
Resend NOTIFY messages for the zone\&.
Tinderbox User's avatar
Tinderbox User committed
379 380
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
381
\fBnotrace\fR
Tinderbox User's avatar
Tinderbox User committed
382
.RS 4
Tinderbox User's avatar
Tinderbox User committed
383
Sets the server\*(Aqs debugging level to 0\&.
Tinderbox User's avatar
Tinderbox User committed
384 385
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
386
\fBrndc trace\fR\&.
Tinderbox User's avatar
Tinderbox User committed
387 388
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
389
\fBnta \fR\fB[( \-class \fIclass\fR | \-dump | \-force | \-remove | \-lifetime \fIduration\fR)]\fR\fB \fR\fB\fIdomain\fR\fR\fB \fR\fB[\fIview\fR]\fR\fB \fR
Tinderbox User's avatar
Tinderbox User committed
390 391 392
.RS 4
Sets a DNSSEC negative trust anchor (NTA) for
\fBdomain\fR, with a lifetime of
Tinderbox User's avatar
Tinderbox User committed
393 394
\fBduration\fR\&. The default lifetime is configured in
named\&.conf
Tinderbox User's avatar
Tinderbox User committed
395
via the
Tinderbox User's avatar
Tinderbox User committed
396
\fBnta\-lifetime\fR
Tinderbox User's avatar
Tinderbox User committed
397
option, and defaults to one hour\&. The lifetime cannot exceed one week\&.
Tinderbox User's avatar
Tinderbox User committed
398
.sp
Tinderbox User's avatar
Tinderbox User committed
399
A negative trust anchor selectively disables DNSSEC validation for zones that are known to be failing because of misconfiguration rather than an attack\&. When data to be validated is at or below an active NTA (and above any other configured trust anchors),
Tinderbox User's avatar
Tinderbox User committed
400
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
401
will abort the DNSSEC validation process and treat the data as insecure rather than bogus\&. This continues until the NTA\*(Aqs lifetime is elapsed\&.
Tinderbox User's avatar
Tinderbox User committed
402
.sp
Tinderbox User's avatar
Tinderbox User committed
403 404
NTAs persist across restarts of the
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
405 406
server\&. The NTAs for a view are saved in a file called
\fIname\fR\&.nta, where
Tinderbox User's avatar
Tinderbox User committed
407
\fIname\fR
Tinderbox User's avatar
Tinderbox User committed
408
is the name of the view, or if it contains characters that are incompatible with use as a file name, a cryptographic hash generated from the name of the view\&.
Tinderbox User's avatar
Tinderbox User committed
409
.sp
Tinderbox User's avatar
Tinderbox User committed
410 411
An existing NTA can be removed by using the
\fB\-remove\fR
Tinderbox User's avatar
Tinderbox User committed
412
option\&.
Tinderbox User's avatar
Tinderbox User committed
413
.sp
Tinderbox User's avatar
Tinderbox User committed
414
An NTA\*(Aqs lifetime can be specified with the
Tinderbox User's avatar
Tinderbox User committed
415
\fB\-lifetime\fR
Tinderbox User's avatar
Tinderbox User committed
416
option\&. TTL\-style suffixes can be used to specify the lifetime in seconds, minutes, or hours\&. If the specified NTA already exists, its lifetime will be updated to the new value\&. Setting
Tinderbox User's avatar
Tinderbox User committed
417 418
\fBlifetime\fR
to zero is equivalent to
Tinderbox User's avatar
Tinderbox User committed
419
\fB\-remove\fR\&.
Tinderbox User's avatar
Tinderbox User committed
420
.sp
Tinderbox User's avatar
Tinderbox User committed
421
If the
Tinderbox User's avatar
Tinderbox User committed
422
\fB\-dump\fR
Tinderbox User's avatar
Tinderbox User committed
423
is used, any other arguments are ignored, and a list of existing NTAs is printed (note that this may include NTAs that are expired but have not yet been cleaned up)\&.
Tinderbox User's avatar
Tinderbox User committed
424 425 426 427 428
.sp
Normally,
\fBnamed\fR
will periodically test to see whether data below an NTA can now be validated (see the
\fBnta\-recheck\fR
Tinderbox User's avatar
Tinderbox User committed
429
option in the Administrator Reference Manual for details)\&. If data can be validated, then the NTA is regarded as no longer necessary, and will be allowed to expire early\&. The
Tinderbox User's avatar
Tinderbox User committed
430
\fB\-force\fR
Tinderbox User's avatar
Tinderbox User committed
431
overrides this behavior and forces an NTA to persist for its entire lifetime, regardless of whether data could be validated if the NTA were not present\&.
Tinderbox User's avatar
Tinderbox User committed
432
.sp
Tinderbox User's avatar
Tinderbox User committed
433 434 435 436
The view class can be specified with
\fB\-class\fR\&. The default is class
\fBIN\fR, which is the only class for which DNSSEC is currently supported\&.
.sp
Tinderbox User's avatar
Tinderbox User committed
437
All of these options can be shortened, i\&.e\&., to
Tinderbox User's avatar
Tinderbox User committed
438 439
\fB\-l\fR,
\fB\-r\fR,
Tinderbox User's avatar
Tinderbox User committed
440 441 442 443 444
\fB\-d\fR,
\fB\-f\fR, and
\fB\-c\fR\&.
.sp
Unrecognized options are treated as errors\&. To reference a domain or view name that begins with a hyphen, use a double\-hyphen on the command line to indicate the end of options\&.
Tinderbox User's avatar
Tinderbox User committed
445 446
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
447
\fBquerylog\fR [ on | off ]
Tinderbox User's avatar
Tinderbox User committed
448
.RS 4
Tinderbox User's avatar
Tinderbox User committed
449
Enable or disable query logging\&. (For backward compatibility, this command can also be used without an argument to toggle query logging on and off\&.)
Tinderbox User's avatar
Tinderbox User committed
450 451
.sp
Query logging can also be enabled by explicitly directing the
Tinderbox User's avatar
Tinderbox User committed
452
\fBqueries\fR\fBcategory\fR
Tinderbox User's avatar
Tinderbox User committed
453 454 455 456 457
to a
\fBchannel\fR
in the
\fBlogging\fR
section of
Tinderbox User's avatar
Tinderbox User committed
458
named\&.conf
Tinderbox User's avatar
Tinderbox User committed
459 460 461 462 463
or by specifying
\fBquerylog yes;\fR
in the
\fBoptions\fR
section of
Tinderbox User's avatar
Tinderbox User committed
464
named\&.conf\&.
Tinderbox User's avatar
Tinderbox User committed
465 466
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
467
\fBreconfig\fR
Tinderbox User's avatar
Tinderbox User committed
468
.RS 4
Tinderbox User's avatar
Tinderbox User committed
469
Reload the configuration file and load new zones, but do not reload existing zone files even if they have changed\&. This is faster than a full
Tinderbox User's avatar
Tinderbox User committed
470
\fBreload\fR
Tinderbox User's avatar
Tinderbox User committed
471
when there is a large number of zones because it avoids the need to examine the modification times of the zones files\&.
Tinderbox User's avatar
Tinderbox User committed
472 473
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
474
\fBrecursing\fR
Tinderbox User's avatar
Tinderbox User committed
475
.RS 4
Tinderbox User's avatar
Tinderbox User committed
476
Dump the list of queries
Tinderbox User's avatar
Tinderbox User committed
477
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
478
is currently recursing on, and the list of domains to which iterative queries are currently being sent\&. (The second list includes the number of fetches currently active for the given domain, and how many have been passed or dropped because of the
Tinderbox User's avatar
Tinderbox User committed
479
\fBfetches\-per\-zone\fR
Tinderbox User's avatar
Tinderbox User committed
480
option\&.)
Tinderbox User's avatar
Tinderbox User committed
481 482
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
483
\fBrefresh \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
Tinderbox User's avatar
Tinderbox User committed
484
.RS 4
Tinderbox User's avatar
Tinderbox User committed
485
Schedule zone maintenance for the given zone\&.
Tinderbox User's avatar
Tinderbox User committed
486 487 488 489
.RE
.PP
\fBreload\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
490
Reload configuration file and zones\&.
Tinderbox User's avatar
Tinderbox User committed
491 492 493 494
.RE
.PP
\fBreload \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
495
Reload the given zone\&.
Tinderbox User's avatar
Tinderbox User committed
496 497 498 499
.RE
.PP
\fBretransfer \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
500
Retransfer the given slave zone from the master server\&.
Tinderbox User's avatar
Tinderbox User committed
501
.sp
Tinderbox User's avatar
Tinderbox User committed
502
If the zone is configured to use
Tinderbox User's avatar
Tinderbox User committed
503
\fBinline\-signing\fR, the signed version of the zone is discarded; after the retransfer of the unsigned version is complete, the signed version will be regenerated with all new signatures\&.
Tinderbox User's avatar
Tinderbox User committed
504 505
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
506
\fBscan\fR
Tinderbox User's avatar
Tinderbox User committed
507
.RS 4
Tinderbox User's avatar
Tinderbox User committed
508 509 510 511
Scan the list of available network interfaces for changes, without performing a full
\fBreconfig\fR
or waiting for the
\fBinterface\-interval\fR
Tinderbox User's avatar
Tinderbox User committed
512
timer\&.
Tinderbox User's avatar
Tinderbox User committed
513 514
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
515
\fBsecroots \fR\fB[\-]\fR\fB \fR\fB[\fIview \&.\&.\&.\fR]\fR
Tinderbox User's avatar
Tinderbox User committed
516
.RS 4
Tinderbox User's avatar
Tinderbox User committed
517
Dump the security roots (i\&.e\&., trust anchors configured via
Tinderbox User's avatar
Tinderbox User committed
518 519 520 521 522 523
\fBdnssec\-keys\fR
statements, or the synonymous
\fBmanaged\-keys\fR
or the deprecated
\fBtrusted\-keys\fR
statements, or via
Tinderbox User's avatar
Tinderbox User committed
524
\fBdnssec\-validation auto\fR) and negative trust anchors for the specified views\&. If no view is specified, all views are dumped\&. Security roots will indicate whether they are configured as trusted keys, managed keys, or initializing managed keys (managed keys that have not yet been updated by a successful key refresh query)\&.
Tinderbox User's avatar
Tinderbox User committed
525
.sp
Tinderbox User's avatar
Tinderbox User committed
526 527
If the first argument is "\-", then the output is returned via the
\fBrndc\fR
Tinderbox User's avatar
Tinderbox User committed
528 529
response channel and printed to the standard output\&. Otherwise, it is written to the secroots dump file, which defaults to
named\&.secroots, but can be overridden via the
Tinderbox User's avatar
Tinderbox User committed
530 531
\fBsecroots\-file\fR
option in
Tinderbox User's avatar
Tinderbox User committed
532
named\&.conf\&.
Tinderbox User's avatar
Tinderbox User committed
533
.sp
Tinderbox User's avatar
Tinderbox User committed
534
See also
Tinderbox User's avatar
Tinderbox User committed
535
\fBrndc managed\-keys\fR\&.
Tinderbox User's avatar
Tinderbox User committed
536 537
.RE
.PP
Evan Hunt's avatar
Evan Hunt committed
538
\fBserve\-stale ( on | off | reset | status ) \fR\fB[\fIclass\fR [\fIview\fR]]\fR
Tinderbox User's avatar
Tinderbox User committed
539
.RS 4
Evan Hunt's avatar
Evan Hunt committed
540 541 542 543 544 545 546 547 548 549
Enable, disable, reset, or report the current status of the serving of stale answers as configured in
named\&.conf\&.
.sp
If serving of stale answers is disabled by
\fBrndc\-serve\-stale off\fR, then it will remain disabled even if
\fBnamed\fR
is reloaded or reconfigured\&.
\fBrndc serve\-stale reset\fR
restores the setting as configured in
named\&.conf\&.
Tinderbox User's avatar
Tinderbox User committed
550
.sp
Evan Hunt's avatar
Evan Hunt committed
551 552 553 554 555 556
\fBrndc serve\-stale status\fR
will report whether serving of stale answers is currently enabled, disabled by the configuration, or disabled by
\fBrndc\fR\&. It will also report the values of
\fBstale\-answer\-ttl\fR
and
\fBmax\-stale\-ttl\fR\&.
Tinderbox User's avatar
Tinderbox User committed
557 558
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
559 560
\fBshowzone \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR\fB \fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
561
Print the configuration of a running zone\&.
Tinderbox User's avatar
Tinderbox User committed
562 563
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
564
\fBrndc zonestatus\fR\&.
Tinderbox User's avatar
Tinderbox User committed
565 566 567 568 569 570
.RE
.PP
\fBsign \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
.RS 4
Fetch all DNSSEC keys for the given zone from the key directory (see the
\fBkey\-directory\fR
Tinderbox User's avatar
Tinderbox User committed
571
option in the BIND 9 Administrator Reference Manual)\&. If they are within their publication period, merge them into the zone\*(Aqs DNSKEY RRset\&. If the DNSKEY RRset is changed, then the zone is automatically re\-signed with the new key set\&.
Tinderbox User's avatar
Tinderbox User committed
572 573 574 575 576 577
.sp
This command requires that the
\fBauto\-dnssec\fR
zone option be set to
allow
or
Tinderbox User's avatar
Tinderbox User committed
578
maintain, and also requires the zone to be configured to allow dynamic DNS\&. (See "Dynamic Update Policies" in the Administrator Reference Manual for more details\&.)
Tinderbox User's avatar
Tinderbox User committed
579 580
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
581
\fBrndc loadkeys\fR\&.
Tinderbox User's avatar
Tinderbox User committed
582 583
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
584
\fBsigning \fR\fB[( \-list | \-clear \fIkeyid/algorithm\fR | \-clear all | \-nsec3param ( \fIparameters\fR | none ) | \-serial \fIvalue\fR ) ]\fR\fB \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR\fB \fR
Tinderbox User's avatar
Tinderbox User committed
585
.RS 4
Tinderbox User's avatar
Tinderbox User committed
586 587
List, edit, or remove the DNSSEC signing state records for the specified zone\&. The status of ongoing DNSSEC operations (such as signing or generating NSEC3 chains) is stored in the zone in the form of DNS resource records of type
\fBsig\-signing\-type\fR\&.
Tinderbox User's avatar
Tinderbox User committed
588
\fBrndc signing \-list\fR
Tinderbox User's avatar
Tinderbox User committed
589
converts these records into a human\-readable form, indicating which keys are currently signing or have finished signing the zone, and which NSEC3 chains are being created or removed\&.
Tinderbox User's avatar
Tinderbox User committed
590 591 592 593
.sp
\fBrndc signing \-clear\fR
can remove a single key (specified in the same format that
\fBrndc signing \-list\fR
Tinderbox User's avatar
Tinderbox User committed
594
uses to display it), or all keys\&. In either case, only completed keys are removed; any record indicating that a key has not yet finished signing the zone will be retained\&.
Tinderbox User's avatar
Tinderbox User committed
595 596
.sp
\fBrndc signing \-nsec3param\fR
Tinderbox User's avatar
Tinderbox User committed
597
sets the NSEC3 parameters for a zone\&. This is the only supported mechanism for using NSEC3 with
Tinderbox User's avatar
Tinderbox User committed
598
\fBinline\-signing\fR
Tinderbox User's avatar
Tinderbox User committed
599
zones\&. Parameters are specified in the same format as an NSEC3PARAM resource record: hash algorithm, flags, iterations, and salt, in that order\&.
Tinderbox User's avatar
Tinderbox User committed
600 601
.sp
Currently, the only defined value for hash algorithm is
Tinderbox User's avatar
Tinderbox User committed
602
1, representing SHA\-1\&. The
Tinderbox User's avatar
Tinderbox User committed
603 604 605 606
\fBflags\fR
may be set to
0
or
Tinderbox User's avatar
Tinderbox User committed
607
1, depending on whether you wish to set the opt\-out bit in the NSEC3 chain\&.
Tinderbox User's avatar
Tinderbox User committed
608
\fBiterations\fR
Tinderbox User's avatar
Tinderbox User committed
609
defines the number of additional times to apply the algorithm when generating an NSEC3 hash\&. The
Tinderbox User's avatar
Tinderbox User committed
610
\fBsalt\fR
Tinderbox User's avatar
Tinderbox User committed
611
is a string of data expressed in hexadecimal, a hyphen (`\-\*(Aq) if no salt is to be used, or the keyword
Tinderbox User's avatar
Tinderbox User committed
612 613
auto, which causes
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
614
to generate a random 64\-bit salt\&.
Tinderbox User's avatar
Tinderbox User committed
615 616
.sp
So, for example, to create an NSEC3 chain using the SHA\-1 hash algorithm, no opt\-out flag, 10 iterations, and a salt value of "FFFF", use:
Tinderbox User's avatar
Tinderbox User committed
617 618
\fBrndc signing \-nsec3param 1 0 10 FFFF \fR\fB\fIzone\fR\fR\&. To set the opt\-out flag, 15 iterations, and no salt, use:
\fBrndc signing \-nsec3param 1 1 15 \- \fR\fB\fIzone\fR\fR\&.
Tinderbox User's avatar
Tinderbox User committed
619 620
.sp
\fBrndc signing \-nsec3param none\fR
Tinderbox User's avatar
Tinderbox User committed
621
removes an existing NSEC3 chain and replaces it with NSEC\&.
Tinderbox User's avatar
Tinderbox User committed
622 623
.sp
\fBrndc signing \-serial value\fR
Tinderbox User's avatar
Tinderbox User committed
624
sets the serial number of the zone to value\&. If the value would cause the serial number to go backwards it will be rejected\&. The primary use is to set the serial on inline signed zones\&.
Tinderbox User's avatar
Tinderbox User committed
625
.RE
Tinderbox User's avatar
Tinderbox User committed
626 627 628
.PP
\fBstats\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
629
Write server statistics to the statistics file\&. (See the
Tinderbox User's avatar
Tinderbox User committed
630
\fBstatistics\-file\fR
Tinderbox User's avatar
Tinderbox User committed
631
option in the BIND 9 Administrator Reference Manual\&.)
Tinderbox User's avatar
Tinderbox User committed
632 633 634 635
.RE
.PP
\fBstatus\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
636
Display status of the server\&. Note that the number of zones includes the internal
Tinderbox User's avatar
Tinderbox User committed
637 638
\fBbind/CH\fR
zone and the default
Tinderbox User's avatar
Tinderbox User committed
639 640
\fB\&./IN\fR
hint zone if there is not an explicit root zone configured\&.
Tinderbox User's avatar
Tinderbox User committed
641 642 643 644
.RE
.PP
\fBstop \fR\fB[\-p]\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
645
Stop the server, making sure any recent changes made through dynamic update or IXFR are first saved to the master files of the updated zones\&. If
Tinderbox User's avatar
Tinderbox User committed
646 647
\fB\-p\fR
is specified
Tinderbox User's avatar
Tinderbox User committed
648
\fBnamed\fR\*(Aqs process id is returned\&. This allows an external process to determine when
Tinderbox User's avatar
Tinderbox User committed
649
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
650
had completed stopping\&.
Tinderbox User's avatar
Tinderbox User committed
651 652
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
653
\fBrndc halt\fR\&.
Tinderbox User's avatar
Tinderbox User committed
654 655 656 657
.RE
.PP
\fBsync \fR\fB[\-clean]\fR\fB \fR\fB[\fIzone\fR [\fIclass\fR [\fIview\fR]]]\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
658
Sync changes in the journal file for a dynamic zone to the master file\&. If the "\-clean" option is specified, the journal file is also removed\&. If no zone is specified, then all zones are synced\&.
Tinderbox User's avatar
Tinderbox User committed
659 660
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
661 662 663 664 665 666 667 668 669 670 671
\fBtcp\-timeouts \fR\fB[\fIinitial\fR \fIidle\fR \fIkeepalive\fR \fIadvertised\fR]\fR
.RS 4
When called without arguments, display the current values of the
\fBtcp\-initial\-timeout\fR,
\fBtcp\-idle\-timeout\fR,
\fBtcp\-keepalive\-timeout\fR
and
\fBtcp\-advertised\-timeout\fR
options\&. When called with arguments, update these values\&. This allows an administrator to make rapid adjustments when under a denial of service attack\&. See the descriptions of these options in the BIND 9 Administrator Reference Manual for details of their use\&.
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
672 673
\fBthaw \fR\fB[\fIzone\fR [\fIclass\fR [\fIview\fR]]]\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
674
Enable updates to a frozen dynamic zone\&. If no zone is specified, then all frozen zones are enabled\&. This causes the server to reload the zone from disk, and re\-enables dynamic updates after the load has completed\&. After a zone is thawed, dynamic updates will no longer be refused\&. If the zone has changed and the
Tinderbox User's avatar
Tinderbox User committed
675
\fBixfr\-from\-differences\fR
Tinderbox User's avatar
Tinderbox User committed
676
option is in use, then the journal file will be updated to reflect changes in the zone\&. Otherwise, if the zone has changed, any existing journal file will be removed\&.
Tinderbox User's avatar
Tinderbox User committed
677 678
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
679
\fBrndc freeze\fR\&.
Tinderbox User's avatar
Tinderbox User committed
680 681 682 683
.RE
.PP
\fBtrace\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
684
Increment the servers debugging level by one\&.
Tinderbox User's avatar
Tinderbox User committed
685 686 687 688
.RE
.PP
\fBtrace \fR\fB\fIlevel\fR\fR
.RS 4
Tinderbox User's avatar
Tinderbox User committed
689
Sets the server\*(Aqs debugging level to an explicit value\&.
Tinderbox User's avatar
Tinderbox User committed
690 691
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
692
\fBrndc notrace\fR\&.
Tinderbox User's avatar
Tinderbox User committed
693 694 695 696
.RE
.PP
\fBtsig\-delete\fR \fIkeyname\fR [\fIview\fR]
.RS 4
Tinderbox User's avatar
Tinderbox User committed
697
Delete a given TKEY\-negotiated key from the server\&. (This does not apply to statically configured TSIG keys\&.)
Tinderbox User's avatar
Tinderbox User committed
698 699 700 701 702 703
.RE
.PP
\fBtsig\-list\fR
.RS 4
List the names of all TSIG keys currently configured for use by
\fBnamed\fR
Tinderbox User's avatar
Tinderbox User committed
704
in each view\&. The list includes both statically configured keys and dynamic TKEY\-negotiated keys\&.
Tinderbox User's avatar
Tinderbox User committed
705 706
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
707
\fBvalidation ( on | off | status ) \fR\fB[\fIview \&.\&.\&.\fR]\fR\fB \fR
Tinderbox User's avatar
Tinderbox User committed
708
.RS 4
Tinderbox User's avatar
Tinderbox User committed
709
Enable, disable, or check the current status of DNSSEC validation\&. By default, validation is enabled\&.
Tinderbox User's avatar
Tinderbox User committed
710 711
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
712
\fBzonestatus \fR\fB\fIzone\fR\fR\fB \fR\fB[\fIclass\fR [\fIview\fR]]\fR
Tinderbox User's avatar
Tinderbox User committed
713
.RS 4
Tinderbox User's avatar
Tinderbox User committed
714
Displays the current status of the given zone, including the master file name and any include files from which it was loaded, when it was most recently loaded, the current serial number, the number of nodes, whether the zone supports dynamic updates, whether the zone is DNSSEC signed, whether it uses automatic DNSSEC key management or inline signing, and the scheduled refresh or expiry times for the zone\&.
Tinderbox User's avatar
Tinderbox User committed
715 716
.sp
See also
Tinderbox User's avatar
Tinderbox User committed
717
\fBrndc showzone\fR\&.
Tinderbox User's avatar
Tinderbox User committed
718
.RE
Tinderbox User's avatar
Tinderbox User committed
719 720 721 722 723 724 725 726 727 728 729
.PP
\fBrndc\fR
commands that specify zone names, such as
\fBreload\fR,
\fBretransfer\fR
or
\fBzonestatus\fR, can be ambiguous when applied to zones of type
\fBredirect\fR\&. Redirect zones are always called "\&.", and can be confused with zones of type
\fBhint\fR
or with slaved copies of the root zone\&. To specify a redirect zone, use the special zone name
\fB\-redirect\fR, without a trailing period\&. (With a trailing period, this would specify a zone called "\-redirect"\&.)
Tinderbox User's avatar
Tinderbox User committed
730
.SH "LIMITATIONS"
Bob Halley's avatar
Bob Halley committed
731
.PP
Mark Andrews's avatar
regen  
Mark Andrews committed
732 733
There is currently no way to provide the shared secret for a
\fBkey_id\fR
Tinderbox User's avatar
Tinderbox User committed
734
without using the configuration file\&.
Bob Halley's avatar
Bob Halley committed
735
.PP
Tinderbox User's avatar
Tinderbox User committed
736
Several error messages could be clearer\&.
Bob Halley's avatar
Bob Halley committed
737 738
.SH "SEE ALSO"
.PP
Mark Andrews's avatar
regen  
Mark Andrews committed
739
\fBrndc.conf\fR(5),
Tinderbox User's avatar
Tinderbox User committed
740
\fBrndc-confgen\fR(8),
Mark Andrews's avatar
regen  
Mark Andrews committed
741
\fBnamed\fR(8),
Mark Andrews's avatar
regen  
Mark Andrews committed
742
\fBnamed.conf\fR(5),
Mark Andrews's avatar
regen  
Mark Andrews committed
743
\fBndc\fR(8),
Tinderbox User's avatar
Tinderbox User committed
744
BIND 9 Administrator Reference Manual\&.
Bob Halley's avatar
Bob Halley committed
745 746
.SH "AUTHOR"
.PP
Tinderbox User's avatar
Tinderbox User committed
747
\fBInternet Systems Consortium, Inc\&.\fR
Mark Andrews's avatar
regen  
Mark Andrews committed
748
.SH "COPYRIGHT"
Tinderbox User's avatar
Tinderbox User committed
749
.br
Tinderbox User's avatar
Tinderbox User committed
750
Copyright \(co 2000, 2001, 2004, 2005, 2007, 2013-2019 Internet Systems Consortium, Inc. ("ISC")
Mark Andrews's avatar
regen  
Mark Andrews committed
751
.br