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