man.ddns-confgen.html revision 9210d8796eaf4125ac58c034f9b5ca167857a55a
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews<!--
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater - Copyright (C) 2000-2003 Internet Software Consortium.
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater -
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater - Permission to use, copy, modify, and distribute this software for any
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater - purpose with or without fee is hereby granted, provided that the above
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater - copyright notice and this permission notice appear in all copies.
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews -
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater - PERFORMANCE OF THIS SOFTWARE.
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater-->
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater<!-- $Id: man.ddns-confgen.html,v 1.4 2009/06/16 01:12:45 tbox Exp $ -->
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<html>
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater<head>
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<title>ddns-confgen</title>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
04eba969cb9a54bbda2896db2067c07b2ac5ba16Automatic Updater<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<link rel="prev" href="man.rndc-confgen.html" title="rndc-confgen">
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews</head>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<div class="navheader">
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<table width="100%" summary="Navigation header">
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<tr><th colspan="3" align="center"><span class="application">ddns-confgen</span></th></tr>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<tr>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<td width="20%" align="left">
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<a accesskey="p" href="man.rndc-confgen.html">Prev</a>�</td>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<th width="60%" align="center">Manual pages</th>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<td width="20%" align="right">�</td>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews</tr>
fc3576328379e813ccf6b3a6e66d9bb701a79c83Automatic Updater</table>
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<hr>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews</div>
bbb069be941f649228760edcc241122933c066d2Automatic Updater<div class="refentry" lang="en">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<a name="man.ddns-confgen"></a><div class="titlepage"></div>
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater<div class="refnamediv">
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<h2>Name</h2>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<p><span class="application">ddns-confgen</span> &#8212; ddns key generation tool</p>
ca904804e43f663f08eb1ac9d6d617930b9a3cd3Automatic Updater</div>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<div class="refsynopsisdiv">
3a6600c8d319275d73c36eb625f77103cd83e824Automatic Updater<h2>Synopsis</h2>
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<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>] [<code class="option">-s</code>] [<code class="option">-q</code>] [name]</p></div>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews</div>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<div class="refsect1" lang="en">
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<a name="id2609560"></a><h2>DESCRIPTION</h2>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<p><span><strong class="command">ddns-confgen</strong></span>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews generates a key for use by <span><strong class="command">nsupdate</strong></span>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews and <span><strong class="command">named</strong></span>. It simplifies configuration
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews of dynamic zones by generating a key and providing the
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson <span><strong class="command">nsupdate</strong></span> and <span><strong class="command">named.conf</strong></span>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews syntax that will be needed to use it, including an example
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews <span><strong class="command">update-policy</strong></span> statement.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson </p>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<p>
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater If a domain name is specified on the command line, it will
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater be used in the name of the generated key and in the sample
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont <span><strong class="command">named.conf</strong></span> syntax. For example,
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont <span><strong class="command">ddns-confgen example.com</strong></span> would
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont generate a key called "ddns-key.example.com", and sample
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont <span><strong class="command">named.conf</strong></span> command that could be used
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews in the zone definition for "example.com".
6f046a065e5543f8cd7e2f24991c65d2372f4c8dMark Andrews </p>
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<p>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews Note that <span><strong class="command">named</strong></span> itself can configure a
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews local DDNS key for use with <span><strong class="command">nsupdate -l</strong></span>.
a8644ebab678a1de66cbfaabb513651a739958afAutomatic Updater <span><strong class="command">ddns-confgen</strong></span> is only needed when a
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews more elaborate configuration is required: for instance, if
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews <span><strong class="command">nsupdate</strong></span> is to be used from a remote system.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater</div>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews<div class="refsect1" lang="en">
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews<a name="id2634633"></a><h2>OPTIONS</h2>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<div class="variablelist"><dl>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<dd><p>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews Specifies the algorithm to use for the TSIG key. Available
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews hmac-sha384 and hmac-sha512. The default is hmac-sha256.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson </p></dd>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<dt><span class="term">-h</span></dt>
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater<dd><p>
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater Prints a short summary of the options and arguments to
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater <span><strong class="command">ddns-confgen</strong></span>.
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater </p></dd>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater<dd><p>
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater Specifies the key name of the DDNS authentication key.
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater The default is <code class="constant">ddns-key</code>.
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater The key name must have the format of a valid domain name,
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater consisting of letters, digits, hyphens and periods.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p></dd>
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater<dt><span class="term">-q</span></dt>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dd><p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Quiet mode: Print only the key, with no explanatory text or
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater usage examples.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p></dd>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dd><p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Specifies a source of random data for generating the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater authorization. If the operating system does not provide a
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <code class="filename">/dev/random</code> or equivalent device, the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater default source of randomness is keyboard input.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <code class="filename">randomdev</code> specifies the name of a
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater character device or file containing random data to be used
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater instead of the default. The special value
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <code class="filename">keyboard</code> indicates that keyboard input
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater should be used.
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater </p></dd>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dt><span class="term">-s</span></dt>
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater<dd><p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Self mode: The example <span><strong class="command">named.conf</strong></span> text
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater shows how to set an update policy using the "self" nametype,
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater using a single key per each domain name for updates, instead of
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater the "subdomain" nametype which allows matching on any name
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater within a specified domain.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p></dd>
ea935c46e8261ea10621e5b038426539fe8a7cc5Mark Andrews</dl></div>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater</div>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<div class="refsect1" lang="en">
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<a name="id2634832"></a><h2>SEE ALSO</h2>
7262eb86f2b465822206122921e2f357218f0cfdAutomatic Updater<p><span class="citerefentry"><span class="refentrytitle">nsupdate</span>(1)</span>,
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews <span class="citerefentry"><span class="refentrytitle">named.conf</span>(5)</span>,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
bbb069be941f649228760edcc241122933c066d2Automatic Updater </p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater</div>
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater<div class="refsect1" lang="en">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<a name="id2634870"></a><h2>AUTHOR</h2>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<p><span class="corpauthor">Internet Systems Consortium</span>
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews </p>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews</div>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater</div>
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater<div class="navfooter">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<hr>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<table width="100%" summary="Navigation footer">
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater<tr>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<td width="40%" align="left">
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<a accesskey="p" href="man.rndc-confgen.html">Prev</a>�</td>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<td width="40%" align="right">�</td>
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater</tr>
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater<tr>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<td width="40%" align="left" valign="top">
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater<span class="application">rndc-confgen</span>�</td>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<td width="40%" align="right" valign="top">�</td>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</tr>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater</table>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater</div>
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater</body>
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater</html>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater