diff options
Diffstat (limited to 'bin/confgen/rndc-confgen.html')
-rw-r--r-- | bin/confgen/rndc-confgen.html | 90 |
1 files changed, 42 insertions, 48 deletions
diff --git a/bin/confgen/rndc-confgen.html b/bin/confgen/rndc-confgen.html index 84eae417d1f41..a5c02451dcee9 100644 --- a/bin/confgen/rndc-confgen.html +++ b/bin/confgen/rndc-confgen.html @@ -1,5 +1,5 @@ <!-- - - Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2004, 2005, 2007, 2009, 2014, 2015 Internet Systems Consortium, Inc. ("ISC") - Copyright (C) 2001, 2003 Internet Software Consortium. - - Permission to use, copy, modify, and/or distribute this software for any @@ -14,14 +14,13 @@ - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. --> -<!-- $Id$ --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>rndc-confgen</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.71.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> </head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry"> <a name="man.rndc-confgen"></a><div class="titlepage"></div> <div class="refnamediv"> <h2>Name</h2> @@ -31,57 +30,57 @@ <h2>Synopsis</h2> <div class="cmdsynopsis"><p><code class="command">rndc-confgen</code> [<code class="option">-a</code>] [<code class="option">-b <em class="replaceable"><code>keysize</code></em></code>] [<code class="option">-c <em class="replaceable"><code>keyfile</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [<code class="option">-s <em class="replaceable"><code>address</code></em></code>] [<code class="option">-t <em class="replaceable"><code>chrootdir</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>]</p></div> </div> -<div class="refsect1" lang="en"> -<a name="id2543444"></a><h2>DESCRIPTION</h2> -<p><span><strong class="command">rndc-confgen</strong></span> +<div class="refsection"> +<a name="id-1.7"></a><h2>DESCRIPTION</h2> +<p><span class="command"><strong>rndc-confgen</strong></span> generates configuration files - for <span><strong class="command">rndc</strong></span>. It can be used as a + for <span class="command"><strong>rndc</strong></span>. It can be used as a convenient alternative to writing the <code class="filename">rndc.conf</code> file - and the corresponding <span><strong class="command">controls</strong></span> - and <span><strong class="command">key</strong></span> + and the corresponding <span class="command"><strong>controls</strong></span> + and <span class="command"><strong>key</strong></span> statements in <code class="filename">named.conf</code> by hand. - Alternatively, it can be run with the <span><strong class="command">-a</strong></span> + Alternatively, it can be run with the <span class="command"><strong>-a</strong></span> option to set up a <code class="filename">rndc.key</code> file and avoid the need for a <code class="filename">rndc.conf</code> file - and a <span><strong class="command">controls</strong></span> statement altogether. + and a <span class="command"><strong>controls</strong></span> statement altogether. </p> </div> -<div class="refsect1" lang="en"> -<a name="id2543489"></a><h2>OPTIONS</h2> -<div class="variablelist"><dl> +<div class="refsection"> +<a name="id-1.8"></a><h2>OPTIONS</h2> +<div class="variablelist"><dl class="variablelist"> <dt><span class="term">-a</span></dt> <dd> <p> - Do automatic <span><strong class="command">rndc</strong></span> configuration. + Do automatic <span class="command"><strong>rndc</strong></span> configuration. This creates a file <code class="filename">rndc.key</code> in <code class="filename">/etc</code> (or whatever <code class="varname">sysconfdir</code> was specified as when <acronym class="acronym">BIND</acronym> was built) - that is read by both <span><strong class="command">rndc</strong></span> - and <span><strong class="command">named</strong></span> on startup. The + that is read by both <span class="command"><strong>rndc</strong></span> + and <span class="command"><strong>named</strong></span> on startup. The <code class="filename">rndc.key</code> file defines a default command channel and authentication key allowing - <span><strong class="command">rndc</strong></span> to communicate with - <span><strong class="command">named</strong></span> on the local host + <span class="command"><strong>rndc</strong></span> to communicate with + <span class="command"><strong>named</strong></span> on the local host with no further configuration. </p> <p> - Running <span><strong class="command">rndc-confgen -a</strong></span> allows - BIND 9 and <span><strong class="command">rndc</strong></span> to be used as + Running <span class="command"><strong>rndc-confgen -a</strong></span> allows + BIND 9 and <span class="command"><strong>rndc</strong></span> to be used as drop-in - replacements for BIND 8 and <span><strong class="command">ndc</strong></span>, + replacements for BIND 8 and <span class="command"><strong>ndc</strong></span>, with no changes to the existing BIND 8 <code class="filename">named.conf</code> file. </p> <p> If a more elaborate configuration than that - generated by <span><strong class="command">rndc-confgen -a</strong></span> + generated by <span class="command"><strong>rndc-confgen -a</strong></span> is required, for example if rndc is to be used remotely, - you should run <span><strong class="command">rndc-confgen</strong></span> without + you should run <span class="command"><strong>rndc-confgen</strong></span> without the - <span><strong class="command">-a</strong></span> option and set up a + <span class="command"><strong>-a</strong></span> option and set up a <code class="filename">rndc.conf</code> and <code class="filename">named.conf</code> as directed. @@ -94,13 +93,13 @@ </p></dd> <dt><span class="term">-c <em class="replaceable"><code>keyfile</code></em></span></dt> <dd><p> - Used with the <span><strong class="command">-a</strong></span> option to specify + Used with the <span class="command"><strong>-a</strong></span> option to specify an alternate location for <code class="filename">rndc.key</code>. </p></dd> <dt><span class="term">-h</span></dt> <dd><p> Prints a short summary of the options and arguments to - <span><strong class="command">rndc-confgen</strong></span>. + <span class="command"><strong>rndc-confgen</strong></span>. </p></dd> <dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt> <dd><p> @@ -110,8 +109,8 @@ </p></dd> <dt><span class="term">-p <em class="replaceable"><code>port</code></em></span></dt> <dd><p> - Specifies the command channel port where <span><strong class="command">named</strong></span> - listens for connections from <span><strong class="command">rndc</strong></span>. + Specifies the command channel port where <span class="command"><strong>named</strong></span> + listens for connections from <span class="command"><strong>rndc</strong></span>. The default is 953. </p></dd> <dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt> @@ -129,60 +128,55 @@ </p></dd> <dt><span class="term">-s <em class="replaceable"><code>address</code></em></span></dt> <dd><p> - Specifies the IP address where <span><strong class="command">named</strong></span> + Specifies the IP address where <span class="command"><strong>named</strong></span> listens for command channel connections from - <span><strong class="command">rndc</strong></span>. The default is the loopback + <span class="command"><strong>rndc</strong></span>. The default is the loopback address 127.0.0.1. </p></dd> <dt><span class="term">-t <em class="replaceable"><code>chrootdir</code></em></span></dt> <dd><p> - Used with the <span><strong class="command">-a</strong></span> option to specify - a directory where <span><strong class="command">named</strong></span> will run + Used with the <span class="command"><strong>-a</strong></span> option to specify + a directory where <span class="command"><strong>named</strong></span> will run chrooted. An additional copy of the <code class="filename">rndc.key</code> will be written relative to this directory so that - it will be found by the chrooted <span><strong class="command">named</strong></span>. + it will be found by the chrooted <span class="command"><strong>named</strong></span>. </p></dd> <dt><span class="term">-u <em class="replaceable"><code>user</code></em></span></dt> <dd><p> - Used with the <span><strong class="command">-a</strong></span> option to set the + Used with the <span class="command"><strong>-a</strong></span> option to set the owner of the <code class="filename">rndc.key</code> file generated. If - <span><strong class="command">-t</strong></span> is also specified only the file + <span class="command"><strong>-t</strong></span> is also specified only the file in the chroot area has its owner changed. </p></dd> </dl></div> </div> -<div class="refsect1" lang="en"> -<a name="id2543802"></a><h2>EXAMPLES</h2> +<div class="refsection"> +<a name="id-1.9"></a><h2>EXAMPLES</h2> <p> - To allow <span><strong class="command">rndc</strong></span> to be used with + To allow <span class="command"><strong>rndc</strong></span> to be used with no manual configuration, run </p> <p><strong class="userinput"><code>rndc-confgen -a</code></strong> </p> <p> To print a sample <code class="filename">rndc.conf</code> file and - corresponding <span><strong class="command">controls</strong></span> and <span><strong class="command">key</strong></span> + corresponding <span class="command"><strong>controls</strong></span> and <span class="command"><strong>key</strong></span> statements to be manually inserted into <code class="filename">named.conf</code>, run </p> <p><strong class="userinput"><code>rndc-confgen</code></strong> </p> </div> -<div class="refsect1" lang="en"> -<a name="id2543844"></a><h2>SEE ALSO</h2> +<div class="refsection"> +<a name="id-1.10"></a><h2>SEE ALSO</h2> <p><span class="citerefentry"><span class="refentrytitle">rndc</span>(8)</span>, <span class="citerefentry"><span class="refentrytitle">rndc.conf</span>(5)</span>, <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>, <em class="citetitle">BIND 9 Administrator Reference Manual</em>. </p> </div> -<div class="refsect1" lang="en"> -<a name="id2543882"></a><h2>AUTHOR</h2> -<p><span class="corpauthor">Internet Systems Consortium</span> - </p> -</div> </div></body> </html> |