man.rndc.html revision c0cbdeedb5e119c640f098da1851cb1b9adcc739
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
1a6464613c59e35072b90ca296ae402cbe956144Christian Maeder - Copyright (C) 2000-2003 Internet Software Consortium.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - Permission to use, copy, modify, and/or distribute this software for any
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - purpose with or without fee is hereby granted, provided that the above
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - copyright notice and this permission notice appear in all copies.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder - PERFORMANCE OF THIS SOFTWARE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
d67a33b40578beef2e255a274f89bb9c34aaf056Christian Maeder<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
9a648682ccaa8ef63583548c3edb01c6542d7885Christian Maeder<link rel="prev" href="man.nsupdate.html" title="nsupdate">
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<link rel="next" href="man.rndc.conf.html" title="rndc.conf">
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<table width="100%" summary="Navigation header">
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<tr><th colspan="3" align="center"><span class="application">rndc</span></th></tr>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<a accesskey="p" href="man.nsupdate.html">Prev</a>�</td>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<th width="60%" align="center">Manual pages</th>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<td width="20%" align="right">�<a accesskey="n" href="man.rndc.conf.html">Next</a>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<a name="man.rndc"></a><div class="titlepage"></div>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<p><span class="application">rndc</span> — name server control utility</p>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<div class="cmdsynopsis"><p><code class="command">rndc</code> [<code class="option">-b <em class="replaceable"><code>source-address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-k <em class="replaceable"><code>key-file</code></em></code>] [<code class="option">-s <em class="replaceable"><code>server</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-q</code>] [<code class="option">-r</code>] [<code class="option">-V</code>] [<code class="option">-y <em class="replaceable"><code>key_id</code></em></code>] {command}</p></div>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<a name="id2659058"></a><h2>DESCRIPTION</h2>
ebe517300051f765f2ed856a789dd5613d681ab0Klaus Luettich<p><span><strong class="command">rndc</strong></span>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder controls the operation of a name
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder server. It supersedes the <span><strong class="command">ndc</strong></span> utility
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder that was provided in old BIND releases. If
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <span><strong class="command">rndc</strong></span> is invoked with no command line
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder options or arguments, it prints a short summary of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder supported commands and the available options and their
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<p><span><strong class="command">rndc</strong></span>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder communicates with the name server over a TCP connection, sending
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder commands authenticated with digital signatures. In the current
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <span><strong class="command">rndc</strong></span> and <span><strong class="command">named</strong></span>,
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder the only supported authentication algorithms are HMAC-MD5
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder (for compatibility), HMAC-SHA1, HMAC-SHA224, HMAC-SHA256
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder (default), HMAC-SHA384 and HMAC-SHA512.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder They use a shared secret on each end of the connection.
0e012772df2ce0dc7e8f0fe3acf458c2871dcfbcChristian Maeder This provides TSIG-style authentication for the command
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder request and the name server's response. All commands sent
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder over the channel must be signed by a key_id known to the
5e74e458ca844d5b6ec688b2122cae32575f3259Christian Maeder<p><span><strong class="command">rndc</strong></span>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder reads a configuration file to
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder determine how to contact the name server and decide what
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder algorithm and key it should use.
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder<dt><span class="term">-b <em class="replaceable"><code>source-address</code></em></span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Use <em class="replaceable"><code>source-address</code></em>
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder as the source address for the connection to the server.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Multiple instances are permitted to allow setting of both
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder the IPv4 and IPv6 source addresses.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term">-c <em class="replaceable"><code>config-file</code></em></span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Use <em class="replaceable"><code>config-file</code></em>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder as the configuration file instead of the default,
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <code class="filename">/etc/rndc.conf</code>.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term">-k <em class="replaceable"><code>key-file</code></em></span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Use <em class="replaceable"><code>key-file</code></em>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder as the key file instead of the default,
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <code class="filename">/etc/rndc.key</code>. The key in
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <code class="filename">/etc/rndc.key</code> will be used to
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder commands sent to the server if the <em class="replaceable"><code>config-file</code></em>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder does not exist.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term">-s <em class="replaceable"><code>server</code></em></span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dd><p><em class="replaceable"><code>server</code></em> is
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder the name or address of the server which matches a
ef67402074be14deb95e4ff564737d5593144130Klaus Luettich server statement in the configuration file for
ef67402074be14deb95e4ff564737d5593144130Klaus Luettich <span><strong class="command">rndc</strong></span>. If no server is supplied on the
ef67402074be14deb95e4ff564737d5593144130Klaus Luettich command line, the host named by the default-server clause
ef67402074be14deb95e4ff564737d5593144130Klaus Luettich in the options statement of the <span><strong class="command">rndc</strong></span>
19933e754a6a244efca3b63184fb191668e08931Klaus Luettich configuration file will be used.
ef67402074be14deb95e4ff564737d5593144130Klaus Luettich<dt><span class="term">-p <em class="replaceable"><code>port</code></em></span></dt>
725a68ec81cba9b8aa8647bebfb5baa449803e7eKlaus Luettich Send commands to TCP port
ef67402074be14deb95e4ff564737d5593144130Klaus Luettich <em class="replaceable"><code>port</code></em>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder of BIND 9's default control channel port, 953.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Quiet mode: Message text returned by the server
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder will not be printed except when there is an error.
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder Instructs <span><strong class="command">rndc</strong></span> to print the result code
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder returned by <span><strong class="command">named</strong></span> after executing the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder requested command (e.g., ISC_R_SUCCESS, ISC_R_FAILURE, etc).
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Enable verbose logging.
d67a33b40578beef2e255a274f89bb9c34aaf056Christian Maeder<dt><span class="term">-y <em class="replaceable"><code>key_id</code></em></span></dt>
26f228bf3a3fea810223396e5794c217a79a8d5bChristian Maeder Use the key <em class="replaceable"><code>key_id</code></em>
d67a33b40578beef2e255a274f89bb9c34aaf056Christian Maeder from the configuration file.
26f228bf3a3fea810223396e5794c217a79a8d5bChristian Maeder <em class="replaceable"><code>key_id</code></em>
ba904a15082557e939db689fcfba0c68c9a4f740Christian Maeder known by <span><strong class="command">named</strong></span> with the same algorithm and secret string
ba904a15082557e939db689fcfba0c68c9a4f740Christian Maeder in order for control message validation to succeed.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder If no <em class="replaceable"><code>key_id</code></em>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder is specified, <span><strong class="command">rndc</strong></span> will first look
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder for a key clause in the server statement of the server
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder being used, or if no server statement is present for that
26f228bf3a3fea810223396e5794c217a79a8d5bChristian Maeder host, then the default-key clause of the options statement.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Note that the configuration file contains shared secrets
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder which are used to send authenticated control commands
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder to name servers. It should therefore not have general read
75cda7e5b890d050d560d970af244a183f28328fKlaus Luettich or write access.
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder A list of commands supported by <span><strong class="command">rndc</strong></span> can
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder be seen by running <span><strong class="command">rndc</strong></span> without arguments.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Currently supported commands are:
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term"><strong class="userinput"><code>addzone <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>] <em class="replaceable"><code>configuration</code></em> </code></strong></span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Add a zone while the server is running. This
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder command requires the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <span><strong class="command">allow-new-zones</strong></span> option to be set
470ca7a2797069ae4b27c34c1b71419f67be1f84Christian Maeder to <strong class="userinput"><code>yes</code></strong>. The
470ca7a2797069ae4b27c34c1b71419f67be1f84Christian Maeder <em class="replaceable"><code>configuration</code></em> string
470ca7a2797069ae4b27c34c1b71419f67be1f84Christian Maeder specified on the command line is the zone
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder configuration text that would ordinarily be
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder placed in <code class="filename">named.conf</code>.
809afe029307414ed253ebcba83e0eff8c62a49dChristian Maeder The configuration is saved in a file called
809afe029307414ed253ebcba83e0eff8c62a49dChristian Maeder <code class="filename"><em class="replaceable"><code>name</code></em>.nzf</code>,
809afe029307414ed253ebcba83e0eff8c62a49dChristian Maeder where <em class="replaceable"><code>name</code></em> is the
809afe029307414ed253ebcba83e0eff8c62a49dChristian Maeder name of the view, or if it contains characters
809afe029307414ed253ebcba83e0eff8c62a49dChristian Maeder that are incompatible with use as a file name, a
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder cryptographic hash generated from the name
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder When <span><strong class="command">named</strong></span> is
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder restarted, the file will be loaded into the view
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder configuration, so that zones that were added
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder can persist after a restart.
470ca7a2797069ae4b27c34c1b71419f67be1f84Christian Maeder This sample <span><strong class="command">addzone</strong></span> command
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder would add the zone <code class="literal">example.com</code>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder to the default view:
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<code class="prompt">$ </code><strong class="userinput"><code>rndc addzone example.com '{ type master; file "example.com.db"; };'</code></strong>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder (Note the brackets and semi-colon around the zone
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder configuration text.)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder See also <span><strong class="command">rndc delzone</strong></span> and <span><strong class="command">rndc modzone</strong></span>.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term"><strong class="userinput"><code>delzone [<span class="optional">-clean</span>] <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>] </code></strong></span></dt>
d67a33b40578beef2e255a274f89bb9c34aaf056Christian Maeder Delete a zone while the server is running.
d67a33b40578beef2e255a274f89bb9c34aaf056Christian Maeder If the <code class="option">-clean</code> argument is specified,
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder the zone's master file (and journal file, if any)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder will be deleted along with the zone. Without the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <code class="option">-clean</code> option, zone files must
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder be cleaned up by hand. (If the zone is of
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder type "slave" or "stub", the files needing to
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder be cleaned up will be reported in the output
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder of the <span><strong class="command">rndc delzone</strong></span> command.)
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder If the zone was originally added via
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder <span><strong class="command">rndc addzone</strong></span>, then it will be
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder removed permanently. However, if it was originally
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder configured in <code class="filename">named.conf</code>, then
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder that original configuration is still in place; when
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder the server is restarted or reconfigured, the zone will
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder come back. To remove it permanently, it must also be
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder removed from <code class="filename">named.conf</code>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder See also <span><strong class="command">rndc addzone</strong></span> and <span><strong class="command">rndc modzone</strong></span>.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term"><strong class="userinput"><code>dumpdb [<span class="optional">-all|-cache|-zone|-adb|-bad|-fail</span>] [<span class="optional"><em class="replaceable"><code>view ...</code></em></span>]</code></strong></span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Dump the server's caches (default) and/or zones to
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder dump file for the specified views. If no view is
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder specified, all
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder views are dumped.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder (See the <span><strong class="command">dump-file</strong></span> option in
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder the BIND 9 Administrator Reference Manual.)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term"><strong class="userinput"><code>flush</code></strong></span></dt>
b49276c9f50038e0bd499ad49f7bd6444566a834Christian Maeder Flushes the server's cache.
d67a33b40578beef2e255a274f89bb9c34aaf056Christian Maeder<dt><span class="term"><strong class="userinput"><code>flushname</code></strong> <em class="replaceable"><code>name</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>] </span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Flushes the given name from the view's DNS cache
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder and, if applicable, from the view's nameserver address
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder database, bad server cache and SERVFAIL cache.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term"><strong class="userinput"><code>flushtree</code></strong> <em class="replaceable"><code>name</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>] </span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Flushes the given name, and all of its subdomains,
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder from the view's DNS cache, address database,
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder bad server cache, and SERVFAIL cache.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term"><strong class="userinput"><code>freeze [<span class="optional"><em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</span>]</code></strong></span></dt>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder Suspend updates to a dynamic zone. If no zone is
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder specified, then all zones are suspended. This allows
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder manual edits to be made to a zone normally updated by
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder dynamic update. It also causes changes in the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder journal file to be synced into the master file.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder All dynamic update attempts will be refused while
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder the zone is frozen.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder See also <span><strong class="command">rndc thaw</strong></span>.
1a6464613c59e35072b90ca296ae402cbe956144Christian Maeder<dt><span class="term"><strong class="userinput"><code>halt [<span class="optional">-p</span>]</code></strong></span></dt>
1a6464613c59e35072b90ca296ae402cbe956144Christian Maeder Stop the server immediately. Recent changes
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder made through dynamic update or IXFR are not saved to
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder the master files, but will be rolled forward from the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder journal files when the server is restarted.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder If <code class="option">-p</code> is specified <span><strong class="command">named</strong></span>'s process id is returned.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder This allows an external process to determine when <span><strong class="command">named</strong></span>
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder had completed halting.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder See also <span><strong class="command">rndc stop</strong></span>.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder<dt><span class="term"><strong class="userinput"><code>loadkeys <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>managed-keys <em class="replaceable"><code>(status | refresh | sync)</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>modzone <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>] <em class="replaceable"><code>configuration</code></em> </code></strong></span></dt>
See also <span><strong class="command">rndc addzone</strong></span> and <span><strong class="command">rndc delzone</strong></span>.
<dt><span class="term"><strong class="userinput"><code>notify <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt>
[<span class="optional">( -d | -f | -r | -l <em class="replaceable"><code>duration</code></em>)</span>]
All of these options can be shortened, i.e., to
<dt><span class="term"><strong class="userinput"><code>querylog</code></strong> [<span class="optional">on|off</span>] </span></dt>
<dt><span class="term"><strong class="userinput"><code>refresh <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>reload <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>retransfer <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>secroots [<span class="optional">-</span>] [<span class="optional"><em class="replaceable"><code>view ...</code></em></span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>showzone <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>] </code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>sign <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>signing [<span class="optional">( -list | -clear <em class="replaceable"><code>keyid/algorithm</code></em> | -clear <code class="literal">all</code> | -nsec3param ( <em class="replaceable"><code>parameters</code></em> | <code class="literal">none</code> ) | -serial <em class="replaceable"><code>value</code></em> ) </span>] <em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>] </code></strong></span></dt>
<span><strong class="command">rndc signing -nsec3param 1 0 10 FFFF <em class="replaceable"><code>zone</code></em></strong></span>.
<span><strong class="command">rndc signing -nsec3param 1 1 15 - <em class="replaceable"><code>zone</code></em></strong></span>.
Note that the number of zones includes the internal <span><strong class="command">bind/CH</strong></span> zone
<dt><span class="term"><strong class="userinput"><code>stop [<span class="optional">-p</span>]</code></strong></span></dt>
If <code class="option">-p</code> is specified <span><strong class="command">named</strong></span>'s process id is returned.
This allows an external process to determine when <span><strong class="command">named</strong></span>
<dt><span class="term"><strong class="userinput"><code>sync [<span class="optional">-clean</span>] [<span class="optional"><em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>thaw [<span class="optional"><em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</span>]</code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>trace <em class="replaceable"><code>level</code></em></code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>tsig-delete</code></strong> <em class="replaceable"><code>keyname</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span></dt>
<dt><span class="term"><strong class="userinput"><code>validation ( on | off | check ) [<span class="optional"><em class="replaceable"><code>view ...</code></em></span>] </code></strong></span></dt>
<dt><span class="term"><strong class="userinput"><code>zonestatus [<span class="optional"><em class="replaceable"><code>zone</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em> [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</span>]</code></strong></span></dt>