10139N/A<!
DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" 10139N/A - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") 10139N/A - Copyright (C) 2000, 2001 Internet Software Consortium. 10139N/A - Permission to use, copy, modify, and distribute this software for any 10139N/A - purpose with or without fee is hereby granted, provided that the above 15291N/A - copyright notice and this permission notice appear in all copies. 16382N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10139N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10139N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 10139N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 10139N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 16155N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 10794N/A - PERFORMANCE OF THIS SOFTWARE. 16464N/A <
refentrytitle><
application>rndc</
application></
refentrytitle>
16114N/A <
refmiscinfo>BIND9</
refmiscinfo>
16475N/A <
refname><
application>rndc</
application></
refname>
16475N/A <
refpurpose>name server control utility</
refpurpose>
10139N/A <
holder>Internet Systems Consortium, Inc. ("ISC")</
holder>
10139N/A <
holder>Internet Software Consortium.</
holder>
10139N/A <
arg><
option>-b <
replaceable class="parameter">source-address</
replaceable></
option></
arg>
10139N/A <
arg><
option>-c <
replaceable class="parameter">config-file</
replaceable></
option></
arg>
10139N/A <
arg><
option>-k <
replaceable class="parameter">key-file</
replaceable></
option></
arg>
10139N/A <
arg><
option>-s <
replaceable class="parameter">server</
replaceable></
option></
arg>
10139N/A <
arg><
option>-p <
replaceable class="parameter">port</
replaceable></
option></
arg>
10139N/A <
arg><
option>-y <
replaceable class="parameter">key_id</
replaceable></
option></
arg>
10139N/A <
arg choice="req">command</
arg>
10139N/A controls the operation of a name
10139N/A server. It supersedes the <
command>ndc</
command> utility
10139N/A that was provided in old BIND releases. If
10139N/A <
command>rndc</
command> is invoked with no command line
10139N/A options or arguments, it prints a short summary of the
10139N/A supported commands and the available options and their
10139N/A communicates with the name server
10139N/A over a TCP connection, sending commands authenticated with
10139N/A digital signatures. In the current versions of
10139N/A <
command>rndc</
command> and <
command>named</
command> named
10139N/A the only supported authentication algorithm is HMAC-MD5,
10139N/A which uses a shared secret on each end of the connection.
10139N/A This provides TSIG-style authentication for the command
10139N/A request and the name server's response. All commands sent
10139N/A over the channel must be signed by a key_id known to the
10139N/A determine how to contact the name server and decide what
10139N/A algorithm and key it should use.
16475N/A <
term>-b <
replaceable class="parameter">source-address</
replaceable></
term>
10139N/A Use <
replaceable class="parameter">source-address</
replaceable>
10139N/A as the source address for the connection to the server.
10139N/A Multiple instances are permitted to allow setting of both
10139N/A the IPv4 and IPv6 source addresses.
10139N/A <
term>-c <
replaceable class="parameter">config-file</
replaceable></
term>
10139N/A Use <
replaceable class="parameter">config-file</
replaceable>
10139N/A as the configuration file instead of the default,
10139N/A <
term>-k <
replaceable class="parameter">key-file</
replaceable></
term>
11338N/A Use <
replaceable class="parameter">key-file</
replaceable>
11338N/A as the key file instead of the default,
10139N/A commands sent to the server if the <
replaceable class="parameter">config-file</
replaceable>
12773N/A <
term>-s <
replaceable class="parameter">server</
replaceable></
term>
12773N/A <
para><
replaceable class="parameter">server</
replaceable> is
12773N/A the name or address of the server which matches a
10139N/A server statement in the configuration file for
10139N/A <
command>rndc</
command>. If no server is supplied on
10139N/A command line, the host named by the default-server clause
10139N/A in the option statement of the configuration file will be
10139N/A <
term>-p <
replaceable class="parameter">port</
replaceable></
term>
10139N/A <
replaceable class="parameter">port</
replaceable>
10139N/A of BIND 9's default control channel port, 953.
10139N/A <
term>-y <
replaceable class="parameter">keyid</
replaceable></
term>
10139N/A Use the key <
replaceable class="parameter">keyid</
replaceable>
10139N/A <
replaceable class="parameter">keyid</
replaceable>
10139N/A known by named with the same algorithm and secret string
10139N/A in order for control message validation to succeed.
10139N/A If no <
replaceable class="parameter">keyid</
replaceable>
10139N/A is specified, <
command>rndc</
command> will first look
10139N/A for a key clause in the server statement of the server
10139N/A being used, or if no server statement is present for that
10139N/A host, then the default-key clause of the options statement.
10139N/A Note that the configuration file contains shared secrets
10139N/A which are used to send authenticated control commands
10139N/A to name servers. It should therefore not have general read
10139N/A For the complete set of commands supported by <
command>rndc</
command>,
10139N/A see the BIND 9 Administrator Reference Manual or run
10139N/A <
command>rndc</
command> without arguments to see its help
16382N/A does not yet support all the commands of
16356N/A the BIND 8 <
command>ndc</
command> utility.
16155N/A There is currently no way to provide the shared secret for a
16155N/A <
option>key_id</
option> without using the configuration file.
16114N/A Several error messages could be clearer.
16026N/A <
refentrytitle>named</
refentrytitle><
manvolnum>8</
manvolnum>
15772N/A <
refentrytitle>ndc</
refentrytitle><
manvolnum>8</
manvolnum>
15764N/A <
citetitle>BIND 9 Administrator Reference Manual</
citetitle>.
15693N/A <
para><
corpauthor>Internet Systems Consortium</
corpauthor>