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