2 - Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
4 - Permission to use, copy, modify, and/or distribute this software for any
5 - purpose with or without fee is hereby granted, provided that the above
6 - copyright notice and this permission notice appear in all copies.
8 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 - PERFORMANCE OF THIS SOFTWARE.
16 <!-- Id: ddns-confgen.html,v 1.10 2009/09/19 01:14:52 tbox Exp -->
19 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
20 <title>ddns-confgen
</title>
21 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.71.1">
23 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><div class=
"refentry" lang=
"en">
24 <a name=
"man.ddns-confgen"></a><div class=
"titlepage"></div>
25 <div class=
"refnamediv">
27 <p><span class=
"application">ddns-confgen
</span> — ddns key generation tool
</p>
29 <div class=
"refsynopsisdiv">
31 <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>
33 <div class=
"refsect1" lang=
"en">
34 <a name=
"id2543395"></a><h2>DESCRIPTION
</h2>
35 <p><span><strong class=
"command">ddns-confgen
</strong></span>
36 generates a key for use by
<span><strong class=
"command">nsupdate
</strong></span>
37 and
<span><strong class=
"command">named
</strong></span>. It simplifies configuration
38 of dynamic zones by generating a key and providing the
39 <span><strong class=
"command">nsupdate
</strong></span> and
<span><strong class=
"command">named.conf
</strong></span>
40 syntax that will be needed to use it, including an example
41 <span><strong class=
"command">update-policy
</strong></span> statement.
44 If a domain name is specified on the command line, it will
45 be used in the name of the generated key and in the sample
46 <span><strong class=
"command">named.conf
</strong></span> syntax. For example,
47 <span><strong class=
"command">ddns-confgen example.com
</strong></span> would
48 generate a key called
"ddns-key.example.com", and sample
49 <span><strong class=
"command">named.conf
</strong></span> command that could be used
50 in the zone definition for
"example.com".
53 Note that
<span><strong class=
"command">named
</strong></span> itself can configure a
54 local DDNS key for use with
<span><strong class=
"command">nsupdate -l
</strong></span>.
55 <span><strong class=
"command">ddns-confgen
</strong></span> is only needed when a
56 more elaborate configuration is required: for instance, if
57 <span><strong class=
"command">nsupdate
</strong></span> is to be used from a remote system.
60 <div class=
"refsect1" lang=
"en">
61 <a name=
"id2543454"></a><h2>OPTIONS
</h2>
62 <div class=
"variablelist"><dl>
63 <dt><span class=
"term">-a
<em class=
"replaceable"><code>algorithm
</code></em></span></dt>
65 Specifies the algorithm to use for the TSIG key. Available
66 choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
67 hmac-sha384 and hmac-sha512. The default is hmac-sha256.
69 <dt><span class=
"term">-h
</span></dt>
71 Prints a short summary of the options and arguments to
72 <span><strong class=
"command">ddns-confgen
</strong></span>.
74 <dt><span class=
"term">-k
<em class=
"replaceable"><code>keyname
</code></em></span></dt>
76 Specifies the key name of the DDNS authentication key.
77 The default is
<code class=
"constant">ddns-key
</code> when neither
78 the
<code class=
"option">-s
</code> nor
<code class=
"option">-z
</code> option is
79 specified; otherwise, the default
80 is
<code class=
"constant">ddns-key
</code> as a separate label
81 followed by the argument of the option, e.g.,
82 <code class=
"constant">ddns-key.example.com.
</code>
83 The key name must have the format of a valid domain name,
84 consisting of letters, digits, hyphens and periods.
86 <dt><span class=
"term">-q
</span></dt>
88 Quiet mode: Print only the key, with no explanatory text or
91 <dt><span class=
"term">-r
<em class=
"replaceable"><code>randomfile
</code></em></span></dt>
93 Specifies a source of random data for generating the
94 authorization. If the operating system does not provide a
95 <code class=
"filename">/dev/random
</code> or equivalent device, the
96 default source of randomness is keyboard input.
97 <code class=
"filename">randomdev
</code> specifies the name of a
98 character device or file containing random data to be used
99 instead of the default. The special value
100 <code class=
"filename">keyboard
</code> indicates that keyboard input
103 <dt><span class=
"term">-s
<em class=
"replaceable"><code>name
</code></em></span></dt>
105 Single host mode: The example
<span><strong class=
"command">named.conf
</strong></span> text
106 shows how to set an update policy for the specified
107 <em class=
"replaceable"><code>name
</code></em>
108 using the
"name" nametype.
109 The default key name is
110 ddns-key.
<em class=
"replaceable"><code>name
</code></em>.
111 Note that the
"self" nametype cannot be used, since
112 the name to be updated may differ from the key name.
113 This option cannot be used with the
<code class=
"option">-z
</code> option.
115 <dt><span class=
"term">-z
<em class=
"replaceable"><code>zone
</code></em></span></dt>
117 zone mode: The example
<span><strong class=
"command">named.conf
</strong></span> text
118 shows how to set an update policy for the specified
119 <em class=
"replaceable"><code>zone
</code></em>
120 using the
"zonesub" nametype, allowing updates to all subdomain
122 that
<em class=
"replaceable"><code>zone
</code></em>.
123 This option cannot be used with the
<code class=
"option">-s
</code> option.
127 <div class=
"refsect1" lang=
"en">
128 <a name=
"id2543642"></a><h2>SEE ALSO
</h2>
129 <p><span class=
"citerefentry"><span class=
"refentrytitle">nsupdate
</span>(
1)
</span>,
130 <span class=
"citerefentry"><span class=
"refentrytitle">named.conf
</span>(
5)
</span>,
131 <span class=
"citerefentry"><span class=
"refentrytitle">named
</span>(
8)
</span>,
132 <em class=
"citetitle">BIND
9 Administrator Reference Manual
</em>.
135 <div class=
"refsect1" lang=
"en">
136 <a name=
"id2543681"></a><h2>AUTHOR
</h2>
137 <p><span class=
"corpauthor">Internet Systems Consortium
</span>