|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
- Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
Packit |
5ce601 |
-
|
|
Packit |
5ce601 |
- This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
5ce601 |
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit Service |
704ed8 |
- file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
Packit |
5ce601 |
-
|
|
Packit |
5ce601 |
- See the COPYRIGHT file distributed with this work for additional
|
|
Packit |
5ce601 |
- information regarding copyright ownership.
|
|
Packit |
5ce601 |
-->
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
|
|
Packit Service |
f7b335 |
<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="man.ddns-confgen">
|
|
Packit |
5ce601 |
<info>
|
|
Packit |
5ce601 |
<date>2014-03-06</date>
|
|
Packit |
5ce601 |
</info>
|
|
Packit |
5ce601 |
<refentryinfo>
|
|
Packit |
5ce601 |
<corpname>ISC</corpname>
|
|
Packit |
5ce601 |
<corpauthor>Internet Systems Consortium, Inc.</corpauthor>
|
|
Packit |
5ce601 |
</refentryinfo>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<refmeta>
|
|
Packit |
5ce601 |
<refentrytitle><application>ddns-confgen</application></refentrytitle>
|
|
Packit |
5ce601 |
<manvolnum>8</manvolnum>
|
|
Packit Service |
f7b335 |
<refmiscinfo>BIND9</refmiscinfo>
|
|
Packit |
5ce601 |
</refmeta>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<refnamediv>
|
|
Packit |
5ce601 |
<refname><application>ddns-confgen</application></refname>
|
|
Packit |
5ce601 |
<refpurpose>ddns key generation tool</refpurpose>
|
|
Packit |
5ce601 |
</refnamediv>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<docinfo>
|
|
Packit |
5ce601 |
<copyright>
|
|
Packit |
5ce601 |
<year>2009</year>
|
|
Packit |
5ce601 |
<year>2014</year>
|
|
Packit |
5ce601 |
<year>2015</year>
|
|
Packit |
5ce601 |
<year>2016</year>
|
|
Packit |
5ce601 |
<year>2018</year>
|
|
Packit |
5ce601 |
<year>2019</year>
|
|
Packit |
5ce601 |
<year>2020</year>
|
|
Packit |
5ce601 |
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
|
Packit |
5ce601 |
</copyright>
|
|
Packit |
5ce601 |
</docinfo>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<refsynopsisdiv>
|
|
Packit |
5ce601 |
<cmdsynopsis sepchar=" ">
|
|
Packit |
5ce601 |
<command>tsig-keygen</command>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-h</option></arg>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat">name</arg>
|
|
Packit |
5ce601 |
</cmdsynopsis>
|
|
Packit |
5ce601 |
<cmdsynopsis sepchar=" ">
|
|
Packit |
5ce601 |
<command>ddns-confgen</command>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-h</option></arg>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-q</option></arg>
|
|
Packit |
5ce601 |
<arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
|
|
Packit |
5ce601 |
<group choice="opt" rep="norepeat">
|
|
Packit |
5ce601 |
<arg choice="plain" rep="norepeat">-s <replaceable class="parameter">name</replaceable></arg>
|
|
Packit |
5ce601 |
<arg choice="plain" rep="norepeat">-z <replaceable class="parameter">zone</replaceable></arg>
|
|
Packit |
5ce601 |
</group>
|
|
Packit |
5ce601 |
</cmdsynopsis>
|
|
Packit |
5ce601 |
</refsynopsisdiv>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<refsection><info><title>DESCRIPTION</title></info>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
<command>tsig-keygen</command> and <command>ddns-confgen</command>
|
|
Packit |
5ce601 |
are invocation methods for a utility that generates keys for use
|
|
Packit |
5ce601 |
in TSIG signing. The resulting keys can be used, for example,
|
|
Packit |
5ce601 |
to secure dynamic DNS updates to a zone or for the
|
|
Packit |
5ce601 |
<command>rndc</command> command channel.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
When run as <command>tsig-keygen</command>, a domain name
|
|
Packit |
5ce601 |
can be specified on the command line which will be used as
|
|
Packit |
5ce601 |
the name of the generated key. If no name is specified,
|
|
Packit |
5ce601 |
the default is <constant>tsig-key</constant>.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
When run as <command>ddns-confgen</command>, the generated
|
|
Packit |
5ce601 |
key is accompanied by configuration text and instructions
|
|
Packit |
5ce601 |
that can be used with <command>nsupdate</command> and
|
|
Packit |
5ce601 |
<command>named</command> when setting up dynamic DNS,
|
|
Packit |
5ce601 |
including an example <command>update-policy</command>
|
|
Packit |
5ce601 |
statement. (This usage similar to the
|
|
Packit |
5ce601 |
<command>rndc-confgen</command> command for setting
|
|
Packit |
5ce601 |
up command channel security.)
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
Note that <command>named</command> itself can configure a
|
|
Packit |
5ce601 |
local DDNS key for use with <command>nsupdate -l</command>:
|
|
Packit |
5ce601 |
it does this when a zone is configured with
|
|
Packit |
5ce601 |
<command>update-policy local;</command>.
|
|
Packit |
5ce601 |
<command>ddns-confgen</command> is only needed when a
|
|
Packit |
5ce601 |
more elaborate configuration is required: for instance,
|
|
Packit |
5ce601 |
if <command>nsupdate</command> is to be used from a remote
|
|
Packit |
5ce601 |
system.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</refsection>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<refsection><info><title>OPTIONS</title></info>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<variablelist>
|
|
Packit |
5ce601 |
<varlistentry>
|
|
Packit |
5ce601 |
<term>-a <replaceable class="parameter">algorithm</replaceable></term>
|
|
Packit |
5ce601 |
<listitem>
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
Specifies the algorithm to use for the TSIG key. Available
|
|
Packit |
5ce601 |
choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
|
|
Packit |
5ce601 |
hmac-sha384 and hmac-sha512. The default is hmac-sha256.
|
|
Packit |
5ce601 |
Options are case-insensitive, and the "hmac-" prefix
|
|
Packit |
5ce601 |
may be omitted.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</listitem>
|
|
Packit |
5ce601 |
</varlistentry>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<varlistentry>
|
|
Packit |
5ce601 |
<term>-h</term>
|
|
Packit |
5ce601 |
<listitem>
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
Prints a short summary of options and arguments.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</listitem>
|
|
Packit |
5ce601 |
</varlistentry>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<varlistentry>
|
|
Packit |
5ce601 |
<term>-k <replaceable class="parameter">keyname</replaceable></term>
|
|
Packit |
5ce601 |
<listitem>
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
Specifies the key name of the DDNS authentication key.
|
|
Packit |
5ce601 |
The default is <constant>ddns-key</constant> when neither
|
|
Packit |
5ce601 |
the <option>-s</option> nor <option>-z</option> option is
|
|
Packit |
5ce601 |
specified; otherwise, the default
|
|
Packit |
5ce601 |
is <constant>ddns-key</constant> as a separate label
|
|
Packit |
5ce601 |
followed by the argument of the option, e.g.,
|
|
Packit |
5ce601 |
<constant>ddns-key.example.com.</constant>
|
|
Packit |
5ce601 |
The key name must have the format of a valid domain name,
|
|
Packit |
5ce601 |
consisting of letters, digits, hyphens and periods.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</listitem>
|
|
Packit |
5ce601 |
</varlistentry>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<varlistentry>
|
|
Packit |
5ce601 |
<term>-q</term>
|
|
Packit |
5ce601 |
<listitem>
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
(<command>ddns-confgen</command> only.) Quiet mode: Print
|
|
Packit |
5ce601 |
only the key, with no explanatory text or usage examples;
|
|
Packit |
5ce601 |
This is essentially identical to <command>tsig-keygen</command>.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</listitem>
|
|
Packit |
5ce601 |
</varlistentry>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<varlistentry>
|
|
Packit |
5ce601 |
<term>-r <replaceable class="parameter">randomfile</replaceable></term>
|
|
Packit |
5ce601 |
<listitem>
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
Specifies a source of random data for generating the
|
|
Packit |
5ce601 |
authorization. If the operating system does not provide a
|
|
Packit |
5ce601 |
<filename>/dev/random</filename> or equivalent device, the
|
|
Packit |
5ce601 |
default source of randomness is keyboard input.
|
|
Packit |
5ce601 |
<filename>randomdev</filename> specifies the name of a
|
|
Packit |
5ce601 |
character device or file containing random data to be used
|
|
Packit |
5ce601 |
instead of the default. The special value
|
|
Packit |
5ce601 |
<filename>keyboard</filename> indicates that keyboard input
|
|
Packit |
5ce601 |
should be used.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</listitem>
|
|
Packit |
5ce601 |
</varlistentry>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<varlistentry>
|
|
Packit |
5ce601 |
<term>-s <replaceable class="parameter">name</replaceable></term>
|
|
Packit |
5ce601 |
<listitem>
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
(<command>ddns-confgen</command> only.)
|
|
Packit |
5ce601 |
Generate configuration example to allow dynamic updates
|
|
Packit |
5ce601 |
of a single hostname. The example <command>named.conf</command>
|
|
Packit |
5ce601 |
text shows how to set an update policy for the specified
|
|
Packit |
5ce601 |
<replaceable class="parameter">name</replaceable>
|
|
Packit |
5ce601 |
using the "name" nametype. The default key name is
|
|
Packit |
5ce601 |
ddns-key.<replaceable class="parameter">name</replaceable>.
|
|
Packit |
5ce601 |
Note that the "self" nametype cannot be used, since
|
|
Packit |
5ce601 |
the name to be updated may differ from the key name.
|
|
Packit |
5ce601 |
This option cannot be used with the <option>-z</option> option.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</listitem>
|
|
Packit |
5ce601 |
</varlistentry>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<varlistentry>
|
|
Packit |
5ce601 |
<term>-z <replaceable class="parameter">zone</replaceable></term>
|
|
Packit |
5ce601 |
<listitem>
|
|
Packit |
5ce601 |
<para>
|
|
Packit |
5ce601 |
(<command>ddns-confgen</command> only.)
|
|
Packit |
5ce601 |
Generate configuration example to allow dynamic updates
|
|
Packit |
5ce601 |
of a zone: The example <command>named.conf</command> text
|
|
Packit |
5ce601 |
shows how to set an update policy for the specified
|
|
Packit |
5ce601 |
<replaceable class="parameter">zone</replaceable>
|
|
Packit |
5ce601 |
using the "zonesub" nametype, allowing updates to
|
|
Packit |
5ce601 |
all subdomain names within that
|
|
Packit |
5ce601 |
<replaceable class="parameter">zone</replaceable>.
|
|
Packit |
5ce601 |
This option cannot be used with the <option>-s</option> option.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</listitem>
|
|
Packit |
5ce601 |
</varlistentry>
|
|
Packit |
5ce601 |
</variablelist>
|
|
Packit |
5ce601 |
</refsection>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<refsection><info><title>SEE ALSO</title></info>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
<para><citerefentry>
|
|
Packit |
5ce601 |
<refentrytitle>nsupdate</refentrytitle><manvolnum>1</manvolnum>
|
|
Packit |
5ce601 |
</citerefentry>,
|
|
Packit |
5ce601 |
<citerefentry>
|
|
Packit |
5ce601 |
<refentrytitle>named.conf</refentrytitle><manvolnum>5</manvolnum>
|
|
Packit |
5ce601 |
</citerefentry>,
|
|
Packit |
5ce601 |
<citerefentry>
|
|
Packit |
5ce601 |
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
|
|
Packit |
5ce601 |
</citerefentry>,
|
|
Packit |
5ce601 |
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
|
|
Packit |
5ce601 |
</para>
|
|
Packit |
5ce601 |
</refsection>
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
</refentry>
|