man.ddns-confgen.html revision 150d28abc8fc6f8a3df17650c61ce1635aeb192c
2N/A<!--
2N/A - Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
2N/A - Copyright (C) 2000-2003 Internet Software Consortium.
2N/A -
2N/A - Permission to use, copy, modify, and/or distribute this software for any
2N/A - purpose with or without fee is hereby granted, provided that the above
2N/A - copyright notice and this permission notice appear in all copies.
2N/A -
2N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
2N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
2N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
2N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2N/A - PERFORMANCE OF THIS SOFTWARE.
2N/A-->
2N/A<!-- $Id: man.ddns-confgen.html,v 1.107 2012/02/01 01:04:17 tbox Exp $ -->
2N/A<html>
2N/A<head>
2N/A<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
2N/A<title>ddns-confgen</title>
2N/A<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
2N/A<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
2N/A<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
2N/A<link rel="prev" href="man.rndc-confgen.html" title="rndc-confgen">
2N/A<link rel="next" href="man.arpaname.html" title="arpaname">
2N/A</head>
2N/A<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
2N/A<div class="navheader">
2N/A<table width="100%" summary="Navigation header">
2N/A<tr><th colspan="3" align="center"><span class="application">ddns-confgen</span></th></tr>
2N/A<tr>
2N/A<td width="20%" align="left">
2N/A<a accesskey="p" href="man.rndc-confgen.html">Prev</a>�</td>
2N/A<th width="60%" align="center">Manual pages</th>
2N/A<td width="20%" align="right">�<a accesskey="n" href="man.arpaname.html">Next</a>
2N/A</td>
2N/A</tr>
2N/A</table>
2N/A<hr>
2N/A</div>
2N/A<div class="refentry" lang="en">
2N/A<a name="man.ddns-confgen"></a><div class="titlepage"></div>
2N/A<div class="refnamediv">
2N/A<h2>Name</h2>
2N/A<p><span class="application">ddns-confgen</span> &#8212; ddns key generation tool</p>
2N/A</div>
2N/A<div class="refsynopsisdiv">
2N/A<h2>Synopsis</h2>
2N/A<div class="cmdsynopsis"><p><code class="command">ddns-confgen</code> [<code class="option">-a <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [ -s <em class="replaceable"><code>name</code></em> | -z <em class="replaceable"><code>zone</code></em> ] [<code class="option">-q</code>] [name]</p></div>
2N/A</div>
2N/A<div class="refsect1" lang="en">
2N/A<a name="id2643634"></a><h2>DESCRIPTION</h2>
2N/A<p><span><strong class="command">ddns-confgen</strong></span>
2N/A generates a key for use by <span><strong class="command">nsupdate</strong></span>
2N/A and <span><strong class="command">named</strong></span>. It simplifies configuration
2N/A of dynamic zones by generating a key and providing the
2N/A <span><strong class="command">nsupdate</strong></span> and <span><strong class="command">named.conf</strong></span>
2N/A syntax that will be needed to use it, including an example
2N/A <span><strong class="command">update-policy</strong></span> statement.
2N/A </p>
2N/A<p>
2N/A If a domain name is specified on the command line, it will
2N/A be used in the name of the generated key and in the sample
2N/A <span><strong class="command">named.conf</strong></span> syntax. For example,
2N/A <span><strong class="command">ddns-confgen example.com</strong></span> would
2N/A generate a key called "ddns-key.example.com", and sample
2N/A <span><strong class="command">named.conf</strong></span> command that could be used
2N/A in the zone definition for "example.com".
2N/A </p>
2N/A<p>
2N/A Note that <span><strong class="command">named</strong></span> itself can configure a
2N/A local DDNS key for use with <span><strong class="command">nsupdate -l</strong></span>.
2N/A <span><strong class="command">ddns-confgen</strong></span> is only needed when a
2N/A more elaborate configuration is required: for instance, if
2N/A <span><strong class="command">nsupdate</strong></span> is to be used from a remote system.
2N/A </p>
2N/A</div>
2N/A<div class="refsect1" lang="en">
2N/A<a name="id2643721"></a><h2>OPTIONS</h2>
2N/A<div class="variablelist"><dl>
2N/A<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
2N/A<dd><p>
2N/A Specifies the algorithm to use for the TSIG key. Available
2N/A choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
2N/A hmac-sha384 and hmac-sha512. The default is hmac-sha256.
2N/A </p></dd>
2N/A<dt><span class="term">-h</span></dt>
2N/A<dd><p>
2N/A Prints a short summary of the options and arguments to
2N/A <span><strong class="command">ddns-confgen</strong></span>.
2N/A </p></dd>
2N/A<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
2N/A<dd><p>
2N/A Specifies the key name of the DDNS authentication key.
2N/A The default is <code class="constant">ddns-key</code> when neither
2N/A the <code class="option">-s</code> nor <code class="option">-z</code> option is
2N/A specified; otherwise, the default
2N/A is <code class="constant">ddns-key</code> as a separate label
2N/A followed by the argument of the option, e.g.,
2N/A <code class="constant">ddns-key.example.com.</code>
2N/A The key name must have the format of a valid domain name,
2N/A consisting of letters, digits, hyphens and periods.
2N/A </p></dd>
2N/A<dt><span class="term">-q</span></dt>
2N/A<dd><p>
2N/A Quiet mode: Print only the key, with no explanatory text or
2N/A usage examples.
2N/A </p></dd>
2N/A<dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt>
2N/A<dd><p>
2N/A Specifies a source of random data for generating the
2N/A authorization. If the operating system does not provide a
2N/A <code class="filename">/dev/random</code> or equivalent device, the
2N/A default source of randomness is keyboard input.
2N/A <code class="filename">randomdev</code> specifies the name of a
2N/A character device or file containing random data to be used
2N/A instead of the default. The special value
2N/A <code class="filename">keyboard</code> indicates that keyboard input
2N/A should be used.
2N/A </p></dd>
2N/A<dt><span class="term">-s <em class="replaceable"><code>name</code></em></span></dt>
2N/A<dd><p>
2N/A Single host mode: The example <span><strong class="command">named.conf</strong></span> text
2N/A shows how to set an update policy for the specified
2N/A <em class="replaceable"><code>name</code></em>
2N/A using the "name" nametype.
2N/A The default key name is
2N/A ddns-key.<em class="replaceable"><code>name</code></em>.
2N/A Note that the "self" nametype cannot be used, since
2N/A the name to be updated may differ from the key name.
2N/A This option cannot be used with the <code class="option">-z</code> option.
2N/A </p></dd>
2N/A<dt><span class="term">-z <em class="replaceable"><code>zone</code></em></span></dt>
2N/A<dd><p>
2N/A zone mode: The example <span><strong class="command">named.conf</strong></span> text
2N/A shows how to set an update policy for the specified
2N/A <em class="replaceable"><code>zone</code></em>
2N/A using the "zonesub" nametype, allowing updates to all subdomain
2N/A names within
2N/A that <em class="replaceable"><code>zone</code></em>.
2N/A This option cannot be used with the <code class="option">-s</code> option.
2N/A </p></dd>
2N/A</dl></div>
2N/A</div>
2N/A<div class="refsect1" lang="en">
2N/A<a name="id2653274"></a><h2>SEE ALSO</h2>
2N/A<p><span class="citerefentry"><span class="refentrytitle">nsupdate</span>(1)</span>,
2N/A <span class="citerefentry"><span class="refentrytitle">named.conf</span>(5)</span>,
2N/A <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
2N/A <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
2N/A </p>
2N/A</div>
2N/A<div class="refsect1" lang="en">
2N/A<a name="id2653313"></a><h2>AUTHOR</h2>
2N/A<p><span class="corpauthor">Internet Systems Consortium</span>
2N/A </p>
2N/A</div>
2N/A</div>
2N/A<div class="navfooter">
2N/A<hr>
2N/A<table width="100%" summary="Navigation footer">
2N/A<tr>
2N/A<td width="40%" align="left">
2N/A<a accesskey="p" href="man.rndc-confgen.html">Prev</a>�</td>
2N/A<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
2N/A<td width="40%" align="right">�<a accesskey="n" href="man.arpaname.html">Next</a>
2N/A</td>
2N/A</tr>
2N/A<tr>
2N/A<td width="40%" align="left" valign="top">
2N/A<span class="application">rndc-confgen</span>�</td>
2N/A<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
2N/A<td width="40%" align="right" valign="top">�<span class="application">arpaname</span>
2N/A</td>
2N/A</tr>
2N/A</table>
2N/A</div>
2N/A</body>
2N/A</html>
2N/A