ddns-confgen.docbook revision b67b58ebe73b98f2907d7f3ea02e69a7fa8ba35e
98N/A<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
98N/A "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
378N/A [<!ENTITY mdash "&#8212;">]>
98N/A<!--
98N/A - Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
98N/A -
98N/A - Permission to use, copy, modify, and/or distribute this software for any
98N/A - purpose with or without fee is hereby granted, provided that the above
98N/A - copyright notice and this permission notice appear in all copies.
98N/A -
98N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
98N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
98N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
98N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
98N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
98N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
98N/A - PERFORMANCE OF THIS SOFTWARE.
98N/A-->
98N/A
98N/A<!-- $Id: ddns-confgen.docbook,v 1.6 2009/09/18 22:08:55 fdupont Exp $ -->
98N/A<refentry id="man.ddns-confgen">
98N/A <refentryinfo>
98N/A <date>Jan 29, 2009</date>
98N/A </refentryinfo>
98N/A
98N/A <refmeta>
98N/A <refentrytitle><application>ddns-confgen</application></refentrytitle>
98N/A <manvolnum>8</manvolnum>
98N/A <refmiscinfo>BIND9</refmiscinfo>
98N/A </refmeta>
493N/A
98N/A <refnamediv>
98N/A <refname><application>ddns-confgen</application></refname>
493N/A <refpurpose>ddns key generation tool</refpurpose>
493N/A </refnamediv>
98N/A
98N/A <docinfo>
493N/A <copyright>
98N/A <year>2009</year>
98N/A <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
493N/A </copyright>
493N/A </docinfo>
98N/A
98N/A <refsynopsisdiv>
156N/A <cmdsynopsis>
156N/A <command>ddns-confgen</command>
493N/A <arg><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
493N/A <arg><option>-h</option></arg>
493N/A <arg><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
493N/A <arg><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
493N/A <group>
493N/A <arg choice="plain">-s <replaceable class="parameter">name</replaceable></arg>
493N/A <arg choice="plain">-z <replaceable class="parameter">zone</replaceable></arg>
98N/A </group>
98N/A <arg><option>-q</option></arg>
98N/A <arg choice="opt">name</arg>
98N/A </cmdsynopsis>
98N/A </refsynopsisdiv>
98N/A
183N/A <refsect1>
378N/A <title>DESCRIPTION</title>
183N/A <para><command>ddns-confgen</command>
183N/A generates a key for use by <command>nsupdate</command>
183N/A and <command>named</command>. It simplifies configuration
427N/A of dynamic zones by generating a key and providing the
427N/A <command>nsupdate</command> and <command>named.conf</command>
183N/A syntax that will be needed to use it, including an example
98N/A <command>update-policy</command> statement.
493N/A </para>
493N/A
493N/A <para>
98N/A If a domain name is specified on the command line, it will
493N/A be used in the name of the generated key and in the sample
493N/A <command>named.conf</command> syntax. For example,
493N/A <command>ddns-confgen example.com</command> would
98N/A generate a key called "ddns-key.example.com", and sample
156N/A <command>named.conf</command> command that could be used
156N/A in the zone definition for "example.com".
98N/A </para>
98N/A
493N/A <para>
493N/A Note that <command>named</command> itself can configure a
156N/A local DDNS key for use with <command>nsupdate -l</command>.
156N/A <command>ddns-confgen</command> is only needed when a
98N/A more elaborate configuration is required: for instance, if
98N/A <command>nsupdate</command> is to be used from a remote system.
493N/A </para>
493N/A </refsect1>
156N/A
156N/A <refsect1>
98N/A <title>OPTIONS</title>
156N/A
156N/A <variablelist>
98N/A <varlistentry>
493N/A <term>-a <replaceable class="parameter">algorithm</replaceable></term>
493N/A <listitem>
98N/A <para>
98N/A Specifies the algorithm to use for the TSIG key. Available
98N/A choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
98N/A hmac-sha384 and hmac-sha512. The default is hmac-sha256.
98N/A </para>
98N/A </listitem>
493N/A </varlistentry>
493N/A
493N/A <varlistentry>
493N/A <term>-h</term>
493N/A <listitem>
493N/A <para>
493N/A Prints a short summary of the options and arguments to
493N/A <command>ddns-confgen</command>.
98N/A </para>
493N/A </listitem>
493N/A </varlistentry>
98N/A
493N/A <varlistentry>
493N/A <term>-k <replaceable class="parameter">keyname</replaceable></term>
98N/A <listitem>
493N/A <para>
493N/A Specifies the key name of the DDNS authentication key.
493N/A The default is <constant>ddns-key</constant> when neither
493N/A the <option>-s</option> nor <option>-z</option> option is
98N/A specified; otherwise, the default
493N/A is <constant>ddns-key</constant> as a separate label
493N/A followed by the argument of the option, e.g.,
493N/A <constant>ddns-key.example.com.</constant>
493N/A The key name must have the format of a valid domain name,
493N/A consisting of letters, digits, hyphens and periods.
98N/A </para>
493N/A </listitem>
493N/A </varlistentry>
493N/A
493N/A <varlistentry>
493N/A <term>-q</term>
<listitem>
<para>
Quiet mode: Print only the key, with no explanatory text or
usage examples.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-r <replaceable class="parameter">randomfile</replaceable></term>
<listitem>
<para>
Specifies a source of random data for generating the
authorization. If the operating system does not provide a
<filename>/dev/random</filename> or equivalent device, the
default source of randomness is keyboard input.
<filename>randomdev</filename> specifies the name of a
character device or file containing random data to be used
instead of the default. The special value
<filename>keyboard</filename> indicates that keyboard input
should be used.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-s <replaceable class="parameter">name</replaceable></term>
<listitem>
<para>
Single host mode: The example <command>named.conf</command> text
shows how to set an update policy for the specified
<replaceable class="parameter">name</replaceable>
using the "name" nametype.
The default key name is
ddns-key.<replaceable class="parameter">name</replaceable>.
Note that the "self" nametype cannot be used, since
the name to be updated may differ from the key name.
This option cannot be used with the <option>-z</option> option.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-z <replaceable class="parameter">zone</replaceable></term>
<listitem>
<para>
zone mode: The example <command>named.conf</command> text
shows how to set an update policy for the specified
<replaceable class="parameter">zone</replaceable>
using the "zonesub" nametype, allowing updates to all subdomain
names within
that <replaceable class="parameter">zone</replaceable>.
This option cannot be used with the <option>-s</option> option.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>nsupdate</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named.conf</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->