man.rndc.conf.html revision b6f3a9131ec5bff166be3efb172c0492e53f932b
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
71cef386fae61275b03e203825680b39fedaa8c6Tinderbox User - Copyright (C) 2000-2003 Internet Software Consortium.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - Permission to use, copy, modify, and/or distribute this software for any
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - purpose with or without fee is hereby granted, provided that the above
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - copyright notice and this permission notice appear in all copies.
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User - PERFORMANCE OF THIS SOFTWARE.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User<!-- $Id: man.rndc.conf.html,v 1.181 2010/12/17 01:14:04 tbox Exp $ -->
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<link rel="prev" href="man.rndc.html" title="rndc">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<link rel="next" href="man.rndc-confgen.html" title="rndc-confgen">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<table width="100%" summary="Navigation header">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<tr><th colspan="3" align="center"><code class="filename">rndc.conf</code></th></tr>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<a accesskey="p" href="man.rndc.html">Prev</a>�</td>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<th width="60%" align="center">Manual pages</th>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<td width="20%" align="right">�<a accesskey="n" href="man.rndc-confgen.html">Next</a>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<a name="man.rndc.conf"></a><div class="titlepage"></div>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<p><code class="filename">rndc.conf</code> — rndc configuration file</p>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<div class="cmdsynopsis"><p><code class="command">rndc.conf</code> </p></div>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User<p><code class="filename">rndc.conf</code> is the configuration file
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User for <span><strong class="command">rndc</strong></span>, the BIND 9 name server control
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User utility. This file has a similar structure and syntax to
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="filename">named.conf</code>. Statements are enclosed
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User in braces and terminated with a semi-colon. Clauses in
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User the statements are also semi-colon terminated. The usual
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User comment styles are supported:
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater C style: /* */
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User C++ style: // to end of line
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Unix style: # to end of line
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<p><code class="filename">rndc.conf</code> is much simpler than
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater <code class="filename">named.conf</code>. The file uses three
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater statements: an options statement, a server statement
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater and a key statement.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User The <code class="option">options</code> statement contains five clauses.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt The <code class="option">default-server</code> clause is followed by the
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater name or address of a name server. This host will be used when
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater no name server is given as an argument to
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater <span><strong class="command">rndc</strong></span>. The <code class="option">default-key</code>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater clause is followed by the name of a key which is identified by
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater a <code class="option">key</code> statement. If no
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="option">keyid</code> is provided on the rndc command line,
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User and no <code class="option">key</code> clause is found in a matching
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="option">server</code> statement, this default key will be
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User used to authenticate the server's commands and responses. The
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="option">default-port</code> clause is followed by the port
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User to connect to on the remote name server. If no
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="option">port</code> option is provided on the rndc command
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User line, and no <code class="option">port</code> clause is found in a
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User matching <code class="option">server</code> statement, this default port
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User will be used to connect.
f9ecaf8a4a4050fff73ba9939098edf4591aef75Tinderbox User The <code class="option">default-source-address</code> and
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="option">default-source-address-v6</code> clauses which
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater can be used to set the IPv4 and IPv6 source addresses
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater After the <code class="option">server</code> keyword, the server
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater statement includes a string which is the hostname or address
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater for a name server. The statement has three possible clauses:
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater <code class="option">key</code>, <code class="option">port</code> and
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater <code class="option">addresses</code>. The key name must match the
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater name of a key statement in the file. The port number
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt specifies the port to connect to. If an <code class="option">addresses</code>
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User clause is supplied these addresses will be used instead of
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User the server name. Each address can take an optional port.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater If an <code class="option">source-address</code> or <code class="option">source-address-v6</code>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater of supplied then these will be used to specify the IPv4 and IPv6
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater source addresses respectively.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater The <code class="option">key</code> statement begins with an identifying
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User string, the name of the key. The statement has two clauses.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater <code class="option">algorithm</code> identifies the encryption algorithm
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater for <span><strong class="command">rndc</strong></span> to use; currently only HMAC-MD5
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater supported. This is followed by a secret clause which contains
c313914d0e66b20969215e519bbf2ab4ecf39512Tinderbox User the base-64 encoding of the algorithm's encryption key. The
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater base-64 string is enclosed in double quotes.