2020-07-07 16:11:24 +02:00
|
|
|
.\" Man page generated from reStructuredText.
|
|
|
|
.
|
|
|
|
.
|
|
|
|
.nr rst2man-indent-level 0
|
|
|
|
.
|
|
|
|
.de1 rstReportMargin
|
|
|
|
\\$1 \\n[an-margin]
|
|
|
|
level \\n[rst2man-indent-level]
|
|
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
-
|
|
|
|
\\n[rst2man-indent0]
|
|
|
|
\\n[rst2man-indent1]
|
|
|
|
\\n[rst2man-indent2]
|
|
|
|
..
|
|
|
|
.de1 INDENT
|
|
|
|
.\" .rstReportMargin pre:
|
|
|
|
. RS \\$1
|
|
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
|
|
. nr rst2man-indent-level +1
|
|
|
|
.\" .rstReportMargin post:
|
|
|
|
..
|
|
|
|
.de UNINDENT
|
|
|
|
. RE
|
|
|
|
.\" indent \\n[an-margin]
|
|
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.nr rst2man-indent-level -1
|
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
|
..
|
2021-09-16 10:57:04 +02:00
|
|
|
.TH "DDNS-CONFGEN" "8" "@RELEASE_DATE@" "@PACKAGE_VERSION@" "BIND 9"
|
|
|
|
.SH NAME
|
|
|
|
ddns-confgen \- ddns key generation tool
|
2020-07-07 16:11:24 +02:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.sp
|
2022-03-01 17:53:59 +01:00
|
|
|
\fBddns\-confgen\fP [\fB\-a\fP algorithm] [\fB\-h\fP] [\fB\-k\fP keyname] [\fB\-q\fP] [\fB\-s\fP name] [\fB\-z\fP zone]
|
2020-07-07 16:11:24 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.sp
|
2022-03-01 17:45:10 +01:00
|
|
|
\fBddns\-confgen\fP is an utility that generates keys for use in TSIG signing.
|
|
|
|
The resulting keys can be used, for example, to secure dynamic DNS updates
|
|
|
|
to a zone, or for the \fBrndc\fP command channel.
|
2020-07-07 16:11:24 +02:00
|
|
|
.sp
|
2022-03-02 16:54:31 +01:00
|
|
|
The key name can specified using \fI\%\-k\fP parameter and defaults to \fBddns\-key\fP\&.
|
2022-03-01 17:45:10 +01:00
|
|
|
The generated key is accompanied by configuration text and instructions that
|
|
|
|
can be used with \fBnsupdate\fP and \fBnamed\fP when setting up dynamic DNS,
|
|
|
|
including an example \fBupdate\-policy\fP statement.
|
|
|
|
(This usage is similar to the \fBrndc\-confgen\fP command for setting up
|
|
|
|
command\-channel security.)
|
2020-07-07 16:11:24 +02:00
|
|
|
.sp
|
|
|
|
Note that \fBnamed\fP itself can configure a local DDNS key for use with
|
2021-01-11 12:27:17 +01:00
|
|
|
\fBnsupdate \-l\fP; it does this when a zone is configured with
|
2020-07-07 16:11:24 +02:00
|
|
|
\fBupdate\-policy local;\fP\&. \fBddns\-confgen\fP is only needed when a more
|
|
|
|
elaborate configuration is required: for instance, if \fBnsupdate\fP is to
|
|
|
|
be used from a remote system.
|
|
|
|
.SH OPTIONS
|
|
|
|
.INDENT 0.0
|
|
|
|
.TP
|
2022-03-02 15:12:17 +01:00
|
|
|
.B \-a algorithm
|
2021-01-11 12:27:17 +01:00
|
|
|
This option 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. Options are
|
2020-07-07 16:11:24 +02:00
|
|
|
case\-insensitive, and the "hmac\-" prefix may be omitted.
|
2022-03-02 15:12:17 +01:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2020-07-07 16:11:24 +02:00
|
|
|
.TP
|
2022-03-02 15:12:17 +01:00
|
|
|
.B \-h
|
2021-01-11 12:27:17 +01:00
|
|
|
This option prints a short summary of options and arguments.
|
2022-03-02 15:12:17 +01:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2020-07-07 16:11:24 +02:00
|
|
|
.TP
|
2022-03-02 15:12:17 +01:00
|
|
|
.B \-k keyname
|
2021-01-11 12:27:17 +01:00
|
|
|
This option specifies the key name of the DDNS authentication key. The
|
2022-03-02 16:54:31 +01:00
|
|
|
default is \fBddns\-key\fP when neither the \fI\%\-s\fP nor \fI\%\-z\fP option is
|
2021-01-11 12:27:17 +01:00
|
|
|
specified; otherwise, the default is \fBddns\-key\fP as a separate label
|
|
|
|
followed by the argument of the option, e.g., \fBddns\-key.example.com.\fP
|
|
|
|
The key name must have the format of a valid domain name, consisting of
|
|
|
|
letters, digits, hyphens, and periods.
|
2022-03-02 15:12:17 +01:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2020-07-07 16:11:24 +02:00
|
|
|
.TP
|
2022-03-02 15:12:17 +01:00
|
|
|
.B \-q
|
2021-01-11 12:27:17 +01:00
|
|
|
This option enables quiet mode, which prints only the key, with no
|
|
|
|
explanatory text or usage examples. This is essentially identical to
|
2020-07-07 16:11:24 +02:00
|
|
|
\fBtsig\-keygen\fP\&.
|
2022-03-02 15:12:17 +01:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2020-07-07 16:11:24 +02:00
|
|
|
.TP
|
2022-03-02 15:12:17 +01:00
|
|
|
.B \-s name
|
2021-01-11 12:27:17 +01:00
|
|
|
This option generates a configuration example to allow dynamic updates
|
|
|
|
of a single hostname. The example \fBnamed.conf\fP text shows how to set
|
|
|
|
an update policy for the specified name using the "name" nametype. The
|
|
|
|
default key name is \fBddns\-key.name\fP\&. Note that the "self" nametype
|
|
|
|
cannot be used, since the name to be updated may differ from the key
|
2022-03-02 16:54:31 +01:00
|
|
|
name. This option cannot be used with the \fI\%\-z\fP option.
|
2022-03-02 15:12:17 +01:00
|
|
|
.UNINDENT
|
|
|
|
.INDENT 0.0
|
2020-07-07 16:11:24 +02:00
|
|
|
.TP
|
2022-03-02 15:12:17 +01:00
|
|
|
.B \-z zone
|
2021-01-11 12:27:17 +01:00
|
|
|
This option generates a configuration example to allow
|
|
|
|
dynamic updates of a zone. The example \fBnamed.conf\fP text shows how
|
2020-07-07 16:11:24 +02:00
|
|
|
to set an update policy for the specified zone using the "zonesub"
|
|
|
|
nametype, allowing updates to all subdomain names within that zone.
|
2022-03-02 16:54:31 +01:00
|
|
|
This option cannot be used with the \fI\%\-s\fP option.
|
2020-07-07 16:11:24 +02:00
|
|
|
.UNINDENT
|
|
|
|
.SH SEE ALSO
|
|
|
|
.sp
|
|
|
|
\fBnsupdate(1)\fP, \fBnamed.conf(5)\fP, \fBnamed(8)\fP, BIND 9 Administrator Reference Manual.
|
|
|
|
.SH AUTHOR
|
|
|
|
Internet Systems Consortium
|
|
|
|
.SH COPYRIGHT
|
2022-01-03 10:29:49 +01:00
|
|
|
2022, Internet Systems Consortium
|
2020-07-07 16:11:24 +02:00
|
|
|
.\" Generated by docutils manpage writer.
|
|
|
|
.
|