man.rndc.conf.html revision 92c3a103f6be13555d021bcb9e5b6eb961f96cb3
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - Copyright (C) 2000-2003 Internet Software Consortium.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - Permission to use, copy, modify, and distribute this software for any
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner - purpose with or without fee is hereby granted, provided that the above
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - copyright notice and this permission notice appear in all copies.
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin - PERFORMANCE OF THIS SOFTWARE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<!-- $Id: man.rndc.conf.html,v 1.54 2007/05/28 03:46:00 marka Exp $ -->
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<link rel="next" href="man.rndc-confgen.html" title="rndc-confgen">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<tr><th colspan="3" align="center"><code class="filename">rndc.conf</code></th></tr>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<td width="20%" align="right">�<a accesskey="n" href="man.rndc-confgen.html">Next</a>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<a name="man.rndc.conf"></a><div class="titlepage"></div>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<p><code class="filename">rndc.conf</code> — rndc configuration file</p>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<div class="cmdsynopsis"><p><code class="command">rndc.conf</code> </p></div>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<p><code class="filename">rndc.conf</code> is the configuration file
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin for <span><strong class="command">rndc</strong></span>, the BIND 9 name server control
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin utility. This file has a similar structure and syntax to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="filename">named.conf</code>. Statements are enclosed
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin in braces and terminated with a semi-colon. Clauses in
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin the statements are also semi-colon terminated. The usual
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin comment styles are supported:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin C style: /* */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin C++ style: // to end of line
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin Unix style: # to end of line
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin<p><code class="filename">rndc.conf</code> is much simpler than
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="filename">named.conf</code>. The file uses three
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin statements: an options statement, a server statement
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin and a key statement.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin The <code class="option">options</code> statement contains five clauses.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin The <code class="option">default-server</code> clause is followed by the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin name or address of a name server. This host will be used when
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin no name server is given as an argument to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <span><strong class="command">rndc</strong></span>. The <code class="option">default-key</code>
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin clause is followed by the name of a key which is identified by
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="option">keyid</code> is provided on the rndc command line,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin and no <code class="option">key</code> clause is found in a matching
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="option">server</code> statement, this default key will be
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin used to authenticate the server's commands and responses. The
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="option">default-port</code> clause is followed by the port
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin to connect to on the remote name server. If no
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="option">port</code> option is provided on the rndc command
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin line, and no <code class="option">port</code> clause is found in a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin matching <code class="option">server</code> statement, this default port
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin will be used to connect.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin The <code class="option">default-source-address</code> and
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin <code class="option">default-source-address-v6</code> clauses which
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin can be used to set the IPv4 and IPv6 source addresses
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin respectively.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin After the <code class="option">server</code> keyword, the server
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin statement includes a string which is the hostname or address
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin for a name server. The statement has three possible clauses: