rndc.docbook revision 4610465ed9408cbe434dbfb8be8ea53f48969c91
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <refentryinfo>
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User </refentryinfo>
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews <refentrytitle><application>rndc</application></refentrytitle>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <refnamediv>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <refname><application>rndc</application></refname>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <refpurpose>name server control utility</refpurpose>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </refnamediv>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <refsynopsisdiv>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <cmdsynopsis>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-c <replaceable class="parameter">config-file</replaceable></option></arg>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <arg><option>-s <replaceable class="parameter">server</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-p <replaceable class="parameter">port</replaceable></option></arg>
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews <arg><option>-y <replaceable class="parameter">key_id</replaceable></option></arg>
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews </cmdsynopsis>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User </refsynopsisdiv>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <command>rndc</command> controls the operation of a name
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews server. It supersedes the <command>ndc</command> utility
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User that was provided in old BIND releases. If
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews <command>rndc</command> is invoked with no command line
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User options or arguments, it prints a short summary of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein supported commands and the available options and their
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <command>rndc</command> communicates with the name server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein over a TCP connection, sending commands authenticated with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein digital signatures. In the current versions of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <command>rndc</command> and <command>named</command> named
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the only supported authentication algorithm is HMAC-MD5,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein which uses a shared secret on each end of the connection.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User This provides TSIG-style authentication for the command
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein request and the name server's response. All commands sent
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein over the channel must be signed by a key_id known to the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <command>rndc</command> reads a configuration file to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein determine how to contact the name server and decide what
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User algorithm and key it should use.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <variablelist>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <varlistentry>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <term>-c <replaceable class="parameter">config-file</replaceable></term>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Use <replaceable class="parameter">config-file</replaceable>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User as the configuration file instead of the default,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </varlistentry>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <varlistentry>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <term>-s <replaceable class="parameter">server</replaceable></term>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <replaceable class="parameter">server</replaceable> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the name or address of the server which matches a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server statement in the configuration file for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <command>rndc</command>. If no server is supplied on the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User command line, the host named by the default-server clause
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User in the option statement of the configuration file will be
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </varlistentry>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <term>-p <replaceable class="parameter">port</replaceable></term>