ddns-confgen.docbook revision 351b62535d4c4f89883bfdba025999dd32490266
327N/A<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
327N/A "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
327N/A [<!ENTITY mdash "&#8212;">]>
327N/A<!--
327N/A - Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
327N/A -
327N/A - Permission to use, copy, modify, and/or distribute this software for any
327N/A - purpose with or without fee is hereby granted, provided that the above
327N/A - copyright notice and this permission notice appear in all copies.
327N/A -
327N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
327N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
327N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
327N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
327N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
327N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
327N/A - PERFORMANCE OF THIS SOFTWARE.
327N/A-->
327N/A
327N/A<!-- $Id: ddns-confgen.docbook,v 1.2 2009/06/10 00:27:21 each Exp $ -->
327N/A<refentry id="man.ddns-confgen">
327N/A <refentryinfo>
824N/A <date>Jan 29, 2009</date>
327N/A </refentryinfo>
327N/A
327N/A <refmeta>
327N/A <refentrytitle><application>ddns-confgen</application></refentrytitle>
327N/A <manvolnum>8</manvolnum>
824N/A <refmiscinfo>BIND9</refmiscinfo>
327N/A </refmeta>
618N/A
327N/A <refnamediv>
824N/A <refname><application>ddns-confgen</application></refname>
327N/A <refpurpose>ddns key generation tool</refpurpose>
327N/A </refnamediv>
327N/A
327N/A <docinfo>
327N/A <copyright>
327N/A <year>2004</year>
327N/A <year>2005</year>
327N/A <year>2007</year>
327N/A <year>2009</year>
327N/A <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
327N/A </copyright>
327N/A <copyright>
327N/A <year>2001</year>
327N/A <year>2003</year>
327N/A <holder>Internet Software Consortium.</holder>
327N/A </copyright>
327N/A </docinfo>
327N/A
327N/A <refsynopsisdiv>
327N/A <cmdsynopsis>
327N/A <command>ddns-confgen</command>
327N/A <arg><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
327N/A <arg><option>-h</option></arg>
327N/A <arg><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
327N/A <arg><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
327N/A <arg><option>-s</option></arg>
327N/A <arg><option>-q</option></arg>
327N/A <arg choice="opt">name</arg>
824N/A </cmdsynopsis>
327N/A </refsynopsisdiv>
327N/A
327N/A <refsect1>
327N/A <title>DESCRIPTION</title>
327N/A <para><command>ddns-confgen</command>
327N/A generates a key for use by <command>nsupdate</command>
327N/A and <command>named</command>. It simplifies configuration
327N/A of dynamic zones by generating a key and providing the
327N/A <command>nsupdate</command> and <command>named.conf</command>
327N/A syntax that will be needed to use it, including an example
327N/A <command>update-policy</command> statement.
327N/A </para>
327N/A
327N/A <para>
327N/A If a domain name is specified on the command line, it will
327N/A be used in the name of the generated key and in the sample
327N/A <command>named.conf</command> syntax. For example,
327N/A <command>ddns-confgen example.com</command> would
327N/A generate a key called "ddns-key.example.com", and sample
327N/A <command>named.conf</command> command that could be used
327N/A in the zone definition for "example.com".
</para>
<para>
Note that <command>named</command> itself can configure a
local DDNS key for use with <command>nsupdate -l</command>.
<command>ddns-confgen</command> is only needed when a
more elaborate configuration is required: for instance, if
<command>nsupdate</command> is to be used from a remote system.
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-a <replaceable class="parameter">algorithm</replaceable></term>
<listitem>
<para>
Specifies the algorithm to use for the TSIG key. Available
choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
hmac-sha384 and hmac-sha512. The default is hmac-sha256.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Prints a short summary of the options and arguments to
<command>ddns-confgen</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-k <replaceable class="parameter">keyname</replaceable></term>
<listitem>
<para>
Specifies the key name of the DDNS authentication key.
The default is <constant>ddns-key</constant>.
The key name must have the format of a valid domain name,
consisting of letters, digits, hyphens and periods.
</para>
</listitem>
</varlistentry>
<varlistentry>
<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</term>
<listitem>
<para>
Self mode: The example <command>named.conf</command> text
shows how to set an update policy using the "self" nametype,
using a single key per each domain name for updates, instead of
the "subdomain" nametype which allows matching on any name
within a specified domain.
</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:
-->