rndc.conf.docbook revision cfa2326b5c96a3a4c720262e077b2baf9fc27970
d29201dd5328b88140ce050100693c501852657dChristian Maeder<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova [<!ENTITY mdash "—">]>
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova - Copyright (C) 2004, 2005, 2007, 2013 Internet Systems Consortium, Inc. ("ISC")
94e2e03f6efde106de095ef4ea0ec87f74955a31Kristina Sojakova - Copyright (C) 2000, 2001 Internet Software Consortium.
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova - Permission to use, copy, modify, and/or distribute this software for any
94e2e03f6efde106de095ef4ea0ec87f74955a31Kristina Sojakova - purpose with or without fee is hereby granted, provided that the above
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova - copyright notice and this permission notice appear in all copies.
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
a3a6b6ebe9c2d1dc3554e44779dc7361a90e7617Kristina Sojakova - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
211c5fb252e0a776baad9a4857ab198659289a4aKristina Sojakova - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
7bb21262b4e6ea26f20869f13d2163583c120156Kristina Sojakova - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7bb21262b4e6ea26f20869f13d2163583c120156Kristina Sojakova - PERFORMANCE OF THIS SOFTWARE.
8b054cade993ef373d564b2d74c9c5a2da48f8b7Kristina Sojakova<!-- $Id: rndc.conf.docbook,v 1.17 2007/06/18 23:47:25 tbox Exp $ -->
8b054cade993ef373d564b2d74c9c5a2da48f8b7Kristina Sojakova <refentryinfo>
2ddc9d39235393dca2e40203dde20284db4c3deeKristina Sojakova </refentryinfo>
345d3dcc9f809776009851c446916fc770aa428dKristina Sojakova <refentrytitle><filename>rndc.conf</filename></refentrytitle>
150dbefbeef7403ab31ecbf9c3bb56515be67cdfKristina Sojakova <refname><filename>rndc.conf</filename></refname>
150dbefbeef7403ab31ecbf9c3bb56515be67cdfKristina Sojakova <refpurpose>rndc configuration file</refpurpose>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
150dbefbeef7403ab31ecbf9c3bb56515be67cdfKristina Sojakova <holder>Internet Software Consortium.</holder>
150dbefbeef7403ab31ecbf9c3bb56515be67cdfKristina Sojakova <refsynopsisdiv>
a669e4685b32ff5ca1bca785eacc5e30a545b010Christian Maeder </cmdsynopsis>
a669e4685b32ff5ca1bca785eacc5e30a545b010Christian Maeder </refsynopsisdiv>
150dbefbeef7403ab31ecbf9c3bb56515be67cdfKristina Sojakova <para><filename>rndc.conf</filename> is the configuration file
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder for <command>rndc</command>, the BIND 9 name server control
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder utility. This file has a similar structure and syntax to
2fa2a7c86b9416f0e1607787e9416e274feb1143Christian Maeder <filename>named.conf</filename>. Statements are enclosed
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder in braces and terminated with a semi-colon. Clauses in
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder the statements are also semi-colon terminated. The usual
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder comment styles are supported:
2ddc9d39235393dca2e40203dde20284db4c3deeKristina Sojakova C style: /* */
a669e4685b32ff5ca1bca785eacc5e30a545b010Christian Maeder C++ style: // to end of line
63dbf3642c023a8bebbc8ca0d56f698114551c8cKristina Sojakova Unix style: # to end of line
8b054cade993ef373d564b2d74c9c5a2da48f8b7Kristina Sojakova <para><filename>rndc.conf</filename> is much simpler than
a669e4685b32ff5ca1bca785eacc5e30a545b010Christian Maeder <filename>named.conf</filename>. The file uses three
9d770d1ea15092156d65e2a89b081eeeb8c6b153Kristina Sojakova statements: an options statement, a server statement
9d770d1ea15092156d65e2a89b081eeeb8c6b153Kristina Sojakova and a key statement.
63dbf3642c023a8bebbc8ca0d56f698114551c8cKristina Sojakova The <option>options</option> statement contains five clauses.
63dbf3642c023a8bebbc8ca0d56f698114551c8cKristina Sojakova The <option>default-server</option> clause is followed by the
45caf47cd6ed07be0637f6c51e4735512ce9d83aKristina Sojakova name or address of a name server. This host will be used when
df31d6f25f90e5112184f4eb60c8d3c7b116ca2dKristina Sojakova no name server is given as an argument to
df31d6f25f90e5112184f4eb60c8d3c7b116ca2dKristina Sojakova <command>rndc</command>. The <option>default-key</option>
345a7bff808e621f05d2ce86fdbab2a28c9e0d3dKristina Sojakova clause is followed by the name of a key which is identified by
150dbefbeef7403ab31ecbf9c3bb56515be67cdfKristina Sojakova <option>keyid</option> is provided on the rndc command line,
150dbefbeef7403ab31ecbf9c3bb56515be67cdfKristina Sojakova and no <option>key</option> clause is found in a matching
4b61e23f57d9d13d036aedb1b10178d3e013ab38Kristina Sojakova <option>server</option> statement, this default key will be
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder used to authenticate the server's commands and responses. The
2fa2a7c86b9416f0e1607787e9416e274feb1143Christian Maeder <option>default-port</option> clause is followed by the port
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder to connect to on the remote name server. If no
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder <option>port</option> option is provided on the rndc command
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder line, and no <option>port</option> clause is found in a
9be5b6267dea82f0eb283bd4ae9d4f83e05a6944Christian Maeder matching <option>server</option> statement, this default port
2fa2a7c86b9416f0e1607787e9416e274feb1143Christian Maeder will be used to connect.
2ddc9d39235393dca2e40203dde20284db4c3deeKristina Sojakova The <option>default-source-address</option> and
4b61e23f57d9d13d036aedb1b10178d3e013ab38Kristina Sojakova <option>default-source-address-v6</option> clauses which
345d3dcc9f809776009851c446916fc770aa428dKristina Sojakova can be used to set the IPv4 and IPv6 source addresses