man.rndc.conf.html revision 395c95214142142854509945adf3293c0270e1c5
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - Copyright (C) 2000-2003 Internet Software Consortium.
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - Permission to use, copy, modify, and/or distribute this software for any
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - purpose with or without fee is hereby granted, provided that the above
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - copyright notice and this permission notice appear in all copies.
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore - PERFORMANCE OF THIS SOFTWARE.
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<link rel="prev" href="man.rndc.html" title="rndc">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<link rel="next" href="man.rndc-confgen.html" title="rndc-confgen">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<table width="100%" summary="Navigation header">
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<tr><th colspan="3" align="center"><code class="filename">rndc.conf</code></th></tr>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<a accesskey="p" href="man.rndc.html">Prev</a>�</td>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<th width="60%" align="center">Manual pages</th>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<td width="20%" align="right">�<a accesskey="n" href="man.rndc-confgen.html">Next</a>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<a name="man.rndc.conf"></a><div class="titlepage"></div>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<p><code class="filename">rndc.conf</code> — rndc configuration file</p>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<div class="cmdsynopsis"><p><code class="command">rndc.conf</code> </p></div>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<p><code class="filename">rndc.conf</code> is the configuration file
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore for <span><strong class="command">rndc</strong></span>, the BIND 9 name server control
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore utility. This file has a similar structure and syntax to
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore <code class="filename">named.conf</code>. Statements are enclosed
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore in braces and terminated with a semi-colon. Clauses in
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe the statements are also semi-colon terminated. The usual
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe comment styles are supported:
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore C style: /* */
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore C++ style: // to end of line
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore Unix style: # to end of line
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore<p><code class="filename">rndc.conf</code> is much simpler than
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore <code class="filename">named.conf</code>. The file uses three
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore statements: an options statement, a server statement
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore and a key statement.
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore The <code class="option">options</code> statement contains five clauses.
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore The <code class="option">default-server</code> clause is followed by the
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore name or address of a name server. This host will be used when
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore no name server is given as an argument to
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore <span><strong class="command">rndc</strong></span>. The <code class="option">default-key</code>
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore clause is followed by the name of a key which is identified by
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore a <code class="option">key</code> statement. If no
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore <code class="option">keyid</code> is provided on the rndc command line,
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore and no <code class="option">key</code> clause is found in a matching
f6929ecef713a1395a17d75418eb6d6f8f2c68fdGarrett D'Amore <code class="option">server</code> statement, this default key will be