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