Debian Codegraph @

doc/man/ddns-confgen.8in

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "DDNS-CONFGEN" "8" "@RELEASE_DATE@" "@PACKAGE_VERSION@" "BIND 9"
32 .SH NAME
33 ddns-confgen \- ddns key generation tool
34 .SH SYNOPSIS
35 .sp
36 \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]
37 .SH DESCRIPTION
38 .sp
39 \fBddns\-confgen\fP is an utility that generates keys for use in TSIG signing.
40 The resulting keys can be used, for example, to secure dynamic DNS updates
41 to a zone, or for the \fBrndc\fP \%<#\:std-iscman-rndc> command channel.
42 .sp
43 The key name can specified using \fB\-k\fP parameter and defaults to \fBddns\-key\fP\&.
44 The generated key is accompanied by configuration text and instructions that
45 can be used with \fBnsupdate\fP \%<#\:std-iscman-nsupdate> and \fBnamed\fP \%<#\:std-iscman-named> when setting up dynamic DNS,
46 including an example \fBupdate\-policy\fP statement.
47 (This usage is similar to the \fBrndc\-confgen\fP \%<#\:std-iscman-rndc-confgen> command for setting up
48 command\-channel security.)
49 .sp
50 Note that \fBnamed\fP \%<#\:std-iscman-named> itself can configure a local DDNS key for use with
51 \fBnsupdate \-l\fP \%<#\:cmdoption-nsupdate-l>; it does this when a zone is configured with
52 \fBupdate\-policy local;\fP\&. \fBddns\-confgen\fP is only needed when a more
53 elaborate configuration is required: for instance, if \fBnsupdate\fP \%<#\:std-iscman-nsupdate> is to
54 be used from a remote system.
55 .SH OPTIONS
56 .INDENT 0.0
57 .TP
58 .B \-a algorithm
59 This option specifies the algorithm to use for the TSIG key. Available
60 choices are: hmac\-md5, hmac\-sha1, hmac\-sha224, hmac\-sha256, hmac\-sha384,
61 and hmac\-sha512. The default is hmac\-sha256. Options are
62 case\-insensitive, and the \(dqhmac\-\(dq prefix may be omitted.
63 .UNINDENT
64 .INDENT 0.0
65 .TP
66 .B \-h
67 This option prints a short summary of options and arguments.
68 .UNINDENT
69 .INDENT 0.0
70 .TP
71 .B \-k keyname
72 This option specifies the key name of the DDNS authentication key. The
73 default is \fBddns\-key\fP when neither the \fB\-s\fP nor \fB\-z\fP option is
74 specified; otherwise, the default is \fBddns\-key\fP as a separate label
75 followed by the argument of the option, e.g., \fBddns\-key.example.com.\fP
76 The key name must have the format of a valid domain name, consisting of
77 letters, digits, hyphens, and periods.
78 .UNINDENT
79 .INDENT 0.0
80 .TP
81 .B \-q
82 This option enables quiet mode, which prints only the key, with no
83 explanatory text or usage examples. This is essentially identical to
84 \fBtsig\-keygen\fP \%<#\:std-iscman-tsig-keygen>\&.
85 .UNINDENT
86 .INDENT 0.0
87 .TP
88 .B \-s name
89 This option generates a configuration example to allow dynamic updates
90 of a single hostname. The example \fBnamed.conf\fP \%<#\:std-iscman-named\:.conf> text shows how to set
91 an update policy for the specified name using the \(dqname\(dq nametype. The
92 default key name is \fBddns\-key.name\fP\&. Note that the \(dqself\(dq nametype
93 cannot be used, since the name to be updated may differ from the key
94 name. This option cannot be used with the \fB\-z\fP option.
95 .UNINDENT
96 .INDENT 0.0
97 .TP
98 .B \-z zone
99 This option generates a configuration example to allow
100 dynamic updates of a zone. The example \fBnamed.conf\fP \%<#\:std-iscman-named\:.conf> text shows how
101 to set an update policy for the specified zone using the \(dqzonesub\(dq
102 nametype, allowing updates to all subdomain names within that zone.
103 This option cannot be used with the \fB\-s\fP option.
104 .UNINDENT
105 .SH SEE ALSO
106 .sp
107 \fBnsupdate(1)\fP \%<#\:std-iscman-nsupdate>, \fBnamed.conf(5)\fP \%<#\:std-iscman-named\:.conf>, \fBnamed(8)\fP \%<#\:std-iscman-named>, BIND 9 Administrator Reference Manual.
108 .SH Author
109 Internet Systems Consortium
110 .SH Copyright
111 2026, Internet Systems Consortium
112 .\" End of generated man page.