]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bind9/doc/arm/man.rndc.html
This commit was generated by cvs2svn to compensate for changes in r172677,
[FreeBSD/FreeBSD.git] / contrib / bind9 / doc / arm / man.rndc.html
1 <!--
2  - Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
3  - Copyright (C) 2000-2003 Internet Software Consortium.
4  - 
5  - Permission to use, copy, modify, and distribute this software for any
6  - purpose with or without fee is hereby granted, provided that the above
7  - copyright notice and this permission notice appear in all copies.
8  - 
9  - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10  - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11  - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12  - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13  - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14  - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15  - PERFORMANCE OF THIS SOFTWARE.
16 -->
17 <!-- $Id: man.rndc.html,v 1.2.2.42.10.1 2007/07/09 02:25:53 marka Exp $ -->
18 <html>
19 <head>
20 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
21 <title>rndc</title>
22 <meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
23 <link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
24 <link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
25 <link rel="prev" href="man.named.html" title="named">
26 <link rel="next" href="man.rndc.conf.html" title="rndc.conf">
27 </head>
28 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
29 <div class="navheader">
30 <table width="100%" summary="Navigation header">
31 <tr><th colspan="3" align="center"><span class="application">rndc</span></th></tr>
32 <tr>
33 <td width="20%" align="left">
34 <a accesskey="p" href="man.named.html">Prev</a> </td>
35 <th width="60%" align="center">Manual pages</th>
36 <td width="20%" align="right"> <a accesskey="n" href="man.rndc.conf.html">Next</a>
37 </td>
38 </tr>
39 </table>
40 <hr>
41 </div>
42 <div class="refentry" lang="en">
43 <a name="man.rndc"></a><div class="titlepage"></div>
44 <div class="refnamediv">
45 <h2>Name</h2>
46 <p><span class="application">rndc</span> &#8212; name server control utility</p>
47 </div>
48 <div class="refsynopsisdiv">
49 <h2>Synopsis</h2>
50 <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">-V</code>] [<code class="option">-y <em class="replaceable"><code>key_id</code></em></code>] {command}</p></div>
51 </div>
52 <div class="refsect1" lang="en">
53 <a name="id2602522"></a><h2>DESCRIPTION</h2>
54 <p><span><strong class="command">rndc</strong></span>
55       controls the operation of a name
56       server.  It supersedes the <span><strong class="command">ndc</strong></span> utility
57       that was provided in old BIND releases.  If
58       <span><strong class="command">rndc</strong></span> is invoked with no command line
59       options or arguments, it prints a short summary of the
60       supported commands and the available options and their
61       arguments.
62     </p>
63 <p><span><strong class="command">rndc</strong></span>
64       communicates with the name server
65       over a TCP connection, sending commands authenticated with
66       digital signatures.  In the current versions of
67       <span><strong class="command">rndc</strong></span> and <span><strong class="command">named</strong></span> named
68       the only supported authentication algorithm is HMAC-MD5,
69       which uses a shared secret on each end of the connection.
70       This provides TSIG-style authentication for the command
71       request and the name server's response.  All commands sent
72       over the channel must be signed by a key_id known to the
73       server.
74     </p>
75 <p><span><strong class="command">rndc</strong></span>
76       reads a configuration file to
77       determine how to contact the name server and decide what
78       algorithm and key it should use.
79     </p>
80 </div>
81 <div class="refsect1" lang="en">
82 <a name="id2602572"></a><h2>OPTIONS</h2>
83 <div class="variablelist"><dl>
84 <dt><span class="term">-b <em class="replaceable"><code>source-address</code></em></span></dt>
85 <dd><p>
86             Use <em class="replaceable"><code>source-address</code></em>
87             as the source address for the connection to the server.
88             Multiple instances are permitted to allow setting of both
89             the IPv4 and IPv6 source addresses.
90           </p></dd>
91 <dt><span class="term">-c <em class="replaceable"><code>config-file</code></em></span></dt>
92 <dd><p>
93             Use <em class="replaceable"><code>config-file</code></em>
94             as the configuration file instead of the default,
95             <code class="filename">/etc/rndc.conf</code>.
96           </p></dd>
97 <dt><span class="term">-k <em class="replaceable"><code>key-file</code></em></span></dt>
98 <dd><p>
99             Use <em class="replaceable"><code>key-file</code></em>
100             as the key file instead of the default,
101             <code class="filename">/etc/rndc.key</code>.  The key in
102             <code class="filename">/etc/rndc.key</code> will be used to
103             authenticate
104             commands sent to the server if the <em class="replaceable"><code>config-file</code></em>
105             does not exist.
106           </p></dd>
107 <dt><span class="term">-s <em class="replaceable"><code>server</code></em></span></dt>
108 <dd><p><em class="replaceable"><code>server</code></em> is
109                        the name or address of the server which matches a
110             server statement in the configuration file for
111             <span><strong class="command">rndc</strong></span>.  If no server is supplied on
112             the
113             command line, the host named by the default-server clause
114             in the option statement of the configuration file will be
115             used.
116           </p></dd>
117 <dt><span class="term">-p <em class="replaceable"><code>port</code></em></span></dt>
118 <dd><p>
119             Send commands to TCP port
120             <em class="replaceable"><code>port</code></em>
121             instead
122             of BIND 9's default control channel port, 953.
123           </p></dd>
124 <dt><span class="term">-V</span></dt>
125 <dd><p>
126             Enable verbose logging.
127           </p></dd>
128 <dt><span class="term">-y <em class="replaceable"><code>keyid</code></em></span></dt>
129 <dd><p>
130             Use the key <em class="replaceable"><code>keyid</code></em>
131             from the configuration file.
132             <em class="replaceable"><code>keyid</code></em>
133             must be
134             known by named with the same algorithm and secret string
135             in order for control message validation to succeed.
136             If no <em class="replaceable"><code>keyid</code></em>
137             is specified, <span><strong class="command">rndc</strong></span> will first look
138             for a key clause in the server statement of the server
139             being used, or if no server statement is present for that
140             host, then the default-key clause of the options statement.
141             Note that the configuration file contains shared secrets
142             which are used to send authenticated control commands
143             to name servers.  It should therefore not have general read
144             or write access.
145           </p></dd>
146 </dl></div>
147 <p>
148       For the complete set of commands supported by <span><strong class="command">rndc</strong></span>,
149       see the BIND 9 Administrator Reference Manual or run
150       <span><strong class="command">rndc</strong></span> without arguments to see its help
151       message.
152     </p>
153 </div>
154 <div class="refsect1" lang="en">
155 <a name="id2602928"></a><h2>LIMITATIONS</h2>
156 <p><span><strong class="command">rndc</strong></span>
157       does not yet support all the commands of
158       the BIND 8 <span><strong class="command">ndc</strong></span> utility.
159     </p>
160 <p>
161       There is currently no way to provide the shared secret for a
162       <code class="option">key_id</code> without using the configuration file.
163     </p>
164 <p>
165       Several error messages could be clearer.
166     </p>
167 </div>
168 <div class="refsect1" lang="en">
169 <a name="id2602958"></a><h2>SEE ALSO</h2>
170 <p><span class="citerefentry"><span class="refentrytitle">rndc.conf</span>(5)</span>,
171       <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
172       <span class="citerefentry"><span class="refentrytitle">named.conf</span>(5)</span>
173       <span class="citerefentry"><span class="refentrytitle">ndc</span>(8)</span>,
174       <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
175     </p>
176 </div>
177 <div class="refsect1" lang="en">
178 <a name="id2603005"></a><h2>AUTHOR</h2>
179 <p><span class="corpauthor">Internet Systems Consortium</span>
180     </p>
181 </div>
182 </div>
183 <div class="navfooter">
184 <hr>
185 <table width="100%" summary="Navigation footer">
186 <tr>
187 <td width="40%" align="left">
188 <a accesskey="p" href="man.named.html">Prev</a> </td>
189 <td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
190 <td width="40%" align="right"> <a accesskey="n" href="man.rndc.conf.html">Next</a>
191 </td>
192 </tr>
193 <tr>
194 <td width="40%" align="left" valign="top">
195 <span class="application">named</span> </td>
196 <td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
197 <td width="40%" align="right" valign="top"> <code class="filename">rndc.conf</code>
198 </td>
199 </tr>
200 </table>
201 </div>
202 </body>
203 </html>