749N/A<!
DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 749N/A [<!ENTITY mdash "—">]>
749N/A - Copyright (C) 2004, 2005, 2007, 2013 Internet Systems Consortium, Inc. ("ISC") 749N/A - Copyright (C) 2000, 2001 Internet Software Consortium. 749N/A - Permission to use, copy, modify, and/or distribute this software for any 749N/A - purpose with or without fee is hereby granted, provided that the above 749N/A - copyright notice and this permission notice appear in all copies. 749N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 749N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 749N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 749N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 749N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 749N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 749N/A - PERFORMANCE OF THIS SOFTWARE. 749N/A <
date>June 30, 2000</
date>
749N/A <
refentrytitle><
application>rndc</
application></
refentrytitle>
749N/A <
manvolnum>8</
manvolnum>
749N/A <
refmiscinfo>BIND9</
refmiscinfo>
749N/A <
refname><
application>rndc</
application></
refname>
749N/A <
refpurpose>name server control utility</
refpurpose>
749N/A <
holder>Internet Systems Consortium, Inc. ("ISC")</
holder>
749N/A <
holder>Internet Software Consortium.</
holder>
749N/A <
command>rndc</
command>
749N/A <
arg><
option>-b <
replaceable class="parameter">source-address</
replaceable></
option></
arg>
749N/A <
arg><
option>-c <
replaceable class="parameter">config-file</
replaceable></
option></
arg>
749N/A <
arg><
option>-k <
replaceable class="parameter">key-file</
replaceable></
option></
arg>
749N/A <
arg><
option>-s <
replaceable class="parameter">server</
replaceable></
option></
arg>
749N/A <
arg><
option>-p <
replaceable class="parameter">port</
replaceable></
option></
arg>
749N/A <
arg><
option>-V</
option></
arg>
749N/A <
arg><
option>-y <
replaceable class="parameter">key_id</
replaceable></
option></
arg>
749N/A <
arg choice="req">command</
arg>
<
title>DESCRIPTION</
title>
<
para><
command>rndc</
command>
controls the operation of a name
server. It supersedes the <
command>ndc</
command> utility
that was provided in old BIND releases. If
<
command>rndc</
command> is invoked with no command line
options or arguments, it prints a short summary of the
supported commands and the available options and their
<
para><
command>rndc</
command>
communicates with the name server over a TCP connection, sending
commands authenticated with digital signatures. In the current
<
command>rndc</
command> and <
command>named</
command>,
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's response. All commands sent
over the channel must be signed by a key_id known to the
<
para><
command>rndc</
command>
reads a configuration file to
determine how to contact the name server and decide what
algorithm and key it should use.
<
term>-b <
replaceable class="parameter">source-address</
replaceable></
term>
Use <
replaceable class="parameter">source-address</
replaceable>
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.
<
term>-c <
replaceable class="parameter">config-file</
replaceable></
term>
Use <
replaceable class="parameter">config-file</
replaceable>
as the configuration file instead of the default,
<
term>-k <
replaceable class="parameter">key-file</
replaceable></
term>
Use <
replaceable class="parameter">key-file</
replaceable>
as the key file instead of the default,
commands sent to the server if the <
replaceable class="parameter">config-file</
replaceable>
<
term>-s <
replaceable class="parameter">server</
replaceable></
term>
<
para><
replaceable class="parameter">server</
replaceable> is
the name or address of the server which matches a
server statement in the configuration file for
<
command>rndc</
command>. If no server is supplied on the
command line, the host named by the default-server clause
in the options statement of the <
command>rndc</
command>
configuration file will be used.
<
term>-p <
replaceable class="parameter">port</
replaceable></
term>
Send commands to TCP port
<
replaceable class="parameter">port</
replaceable>
of BIND 9's default control channel port, 953.
<
term>-y <
replaceable class="parameter">key_id</
replaceable></
term>
Use the key <
replaceable class="parameter">key_id</
replaceable>
from the configuration file.
<
replaceable class="parameter">key_id</
replaceable>
known by named with the same algorithm and secret string
in order for control message validation to succeed.
If no <
replaceable class="parameter">key_id</
replaceable>
is specified, <
command>rndc</
command> 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
For the complete set of commands supported by <
command>rndc</
command>,
see the BIND 9 Administrator Reference Manual or run
<
command>rndc</
command> without arguments to see its help
<
title>LIMITATIONS</
title>
<
para><
command>rndc</
command>
does not yet support all the commands of
the BIND 8 <
command>ndc</
command> utility.
There is currently no way to provide the shared secret for a
<
option>key_id</
option> without using the configuration file.
Several error messages could be clearer.
<
refentrytitle>
rndc.conf</
refentrytitle><
manvolnum>5</
manvolnum>
<
refentrytitle>rndc-confgen</
refentrytitle><
manvolnum>8</
manvolnum>
<
refentrytitle>named</
refentrytitle><
manvolnum>8</
manvolnum>
<
refentrytitle>
named.conf</
refentrytitle><
manvolnum>5</
manvolnum>
<
refentrytitle>ndc</
refentrytitle><
manvolnum>8</
manvolnum>
<
citetitle>BIND 9 Administrator Reference Manual</
citetitle>.
<
para><
corpauthor>Internet Systems Consortium</
corpauthor>