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