ddns-confgen.html revision d2ebd5d5fba00a44ca49462c6cd4390e9876a137
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<!--
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater - Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater -
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - purpose with or without fee is hereby granted, provided that the above
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - copyright notice and this permission notice appear in all copies.
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater -
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt - PERFORMANCE OF THIS SOFTWARE.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt-->
d2ebd5d5fba00a44ca49462c6cd4390e9876a137Automatic Updater<!-- $Id: ddns-confgen.html,v 1.10 2009/09/19 01:14:52 tbox Exp $ -->
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<html>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<head>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<title>ddns-confgen</title>
852ccdd42a71550c974111b49415204ffeca6573Automatic Updater<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</head>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<a name="man.ddns-confgen"></a><div class="titlepage"></div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<div class="refnamediv">
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<h2>Name</h2>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<p><span class="application">ddns-confgen</span> &#8212; ddns key generation tool</p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<div class="refsynopsisdiv">
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<h2>Synopsis</h2>
d2ebd5d5fba00a44ca49462c6cd4390e9876a137Automatic Updater<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>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<div class="refsect1" lang="en">
d2ebd5d5fba00a44ca49462c6cd4390e9876a137Automatic Updater<a name="id2543395"></a><h2>DESCRIPTION</h2>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<p><span><strong class="command">ddns-confgen</strong></span>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt generates a key for use by <span><strong class="command">nsupdate</strong></span>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt and <span><strong class="command">named</strong></span>. It simplifies configuration
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt of dynamic zones by generating a key and providing the
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">nsupdate</strong></span> and <span><strong class="command">named.conf</strong></span>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt syntax that will be needed to use it, including an example
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">update-policy</strong></span> statement.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt If a domain name is specified on the command line, it will
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt be used in the name of the generated key and in the sample
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">named.conf</strong></span> syntax. For example,
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">ddns-confgen example.com</strong></span> would
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt generate a key called "ddns-key.example.com", and sample
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">named.conf</strong></span> command that could be used
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt in the zone definition for "example.com".
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt Note that <span><strong class="command">named</strong></span> itself can configure a
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt local DDNS key for use with <span><strong class="command">nsupdate -l</strong></span>.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">ddns-confgen</strong></span> is only needed when a
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt more elaborate configuration is required: for instance, if
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">nsupdate</strong></span> is to be used from a remote system.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<div class="refsect1" lang="en">
d2ebd5d5fba00a44ca49462c6cd4390e9876a137Automatic Updater<a name="id2543454"></a><h2>OPTIONS</h2>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<div class="variablelist"><dl>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dd><p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt Specifies the algorithm to use for the TSIG key. Available
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt hmac-sha384 and hmac-sha512. The default is hmac-sha256.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p></dd>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dt><span class="term">-h</span></dt>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dd><p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt Prints a short summary of the options and arguments to
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span><strong class="command">ddns-confgen</strong></span>.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p></dd>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dd><p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt Specifies the key name of the DDNS authentication key.
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater The default is <code class="constant">ddns-key</code> when neither
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater the <code class="option">-s</code> nor <code class="option">-z</code> option is
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater specified; otherwise, the default
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater is <code class="constant">ddns-key</code> as a separate label
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater followed by the argument of the option, e.g.,
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater <code class="constant">ddns-key.example.com.</code>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt The key name must have the format of a valid domain name,
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt consisting of letters, digits, hyphens and periods.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p></dd>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dt><span class="term">-q</span></dt>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dd><p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt Quiet mode: Print only the key, with no explanatory text or
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt usage examples.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p></dd>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dd><p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt Specifies a source of random data for generating the
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt authorization. If the operating system does not provide a
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <code class="filename">/dev/random</code> or equivalent device, the
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt default source of randomness is keyboard input.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <code class="filename">randomdev</code> specifies the name of a
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt character device or file containing random data to be used
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt instead of the default. The special value
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <code class="filename">keyboard</code> indicates that keyboard input
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt should be used.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p></dd>
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater<dt><span class="term">-s <em class="replaceable"><code>name</code></em></span></dt>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<dd><p>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater Single host mode: The example <span><strong class="command">named.conf</strong></span> text
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater shows how to set an update policy for the specified
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater <em class="replaceable"><code>name</code></em>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater using the "name" nametype.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater The default key name is
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater ddns-key.<em class="replaceable"><code>name</code></em>.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater Note that the "self" nametype cannot be used, since
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater the name to be updated may differ from the key name.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater This option cannot be used with the <code class="option">-z</code> option.
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater </p></dd>
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater<dt><span class="term">-z <em class="replaceable"><code>zone</code></em></span></dt>
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater<dd><p>
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater zone mode: The example <span><strong class="command">named.conf</strong></span> text
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater shows how to set an update policy for the specified
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater <em class="replaceable"><code>zone</code></em>
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater using the "zonesub" nametype, allowing updates to all subdomain
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater names within
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic Updater that <em class="replaceable"><code>zone</code></em>.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater This option cannot be used with the <code class="option">-s</code> option.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p></dd>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</dl></div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<div class="refsect1" lang="en">
d2ebd5d5fba00a44ca49462c6cd4390e9876a137Automatic Updater<a name="id2543642"></a><h2>SEE ALSO</h2>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<p><span class="citerefentry"><span class="refentrytitle">nsupdate</span>(1)</span>,
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span class="citerefentry"><span class="refentrytitle">named.conf</span>(5)</span>,
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<div class="refsect1" lang="en">
d2ebd5d5fba00a44ca49462c6cd4390e9876a137Automatic Updater<a name="id2543681"></a><h2>AUTHOR</h2>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt<p><span class="corpauthor">Internet Systems Consortium</span>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt </p>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</div>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</div></body>
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt</html>