1DDNS-CONFGEN(8) BIND 9 DDNS-CONFGEN(8)
2
3
4
6 ddns-confgen - ddns key generation tool
7
9 tsig-keygen [-a algorithm] [-h] [-r randomfile] [name]
10
11 ddns-confgen [-a algorithm] [-h] [-k keyname] [-q] [-r randomfile] [-s
12 name] [-z zone]
13
15 tsig-keygen and ddns-confgen are invocation methods for a utility that
16 generates keys for use in TSIG signing. The resulting keys can be used,
17 for example, to secure dynamic DNS updates to a zone or for the rndc
18 command channel.
19
20 When run as tsig-keygen, a domain name can be specified on the command
21 line to be used as the name of the generated key. If no name is speci‐
22 fied, the default is tsig-key.
23
24 When run as ddns-confgen, the generated key is accompanied by configu‐
25 ration text and instructions that can be used with nsupdate and named
26 when setting up dynamic DNS, including an example update-policy state‐
27 ment. (This usage is similar to the rndc-confgen command for setting up
28 command-channel security.)
29
30 Note that named itself can configure a local DDNS key for use with
31 nsupdate -l; it does this when a zone is configured with update-policy
32 local;. ddns-confgen is only needed when a more elaborate configuration
33 is required: for instance, if nsupdate is to be used from a remote sys‐
34 tem.
35
37 -a algorithm
38 This option specifies the algorithm to use for the TSIG key.
39 Available choices are: hmac-md5, hmac-sha1, hmac-sha224,
40 hmac-sha256, hmac-sha384, and hmac-sha512. The default is
41 hmac-sha256. Options are case-insensitive, and the "hmac-" pre‐
42 fix may be omitted.
43
44 -h This option prints a short summary of options and arguments.
45
46 -k keyname
47 This option specifies the key name of the DDNS authentication
48 key. The default is ddns-key when neither the -s nor -z option
49 is specified; otherwise, the default is ddns-key as a separate
50 label followed by the argument of the option, e.g., ddns-key.ex‐
51 ample.com. The key name must have the format of a valid domain
52 name, consisting of letters, digits, hyphens, and periods.
53
54 -q (ddns-confgen only)
55 This option enables quiet mode, which prints only the key, with
56 no explanatory text or usage examples. This is essentially iden‐
57 tical to tsig-keygen.
58
59 -s name (ddns-confgen only)
60 This option generates a configuration example to allow dynamic
61 updates of a single hostname. The example named.conf text shows
62 how to set an update policy for the specified name using the
63 "name" nametype. The default key name is ddns-key.name. Note
64 that the "self" nametype cannot be used, since the name to be
65 updated may differ from the key name. This option cannot be used
66 with the -z option.
67
68 -z zone (ddns-confgen only)
69 This option generates a configuration example to allow dynamic
70 updates of a zone. The example named.conf text shows how to set
71 an update policy for the specified zone using the "zonesub"
72 nametype, allowing updates to all subdomain names within that
73 zone. This option cannot be used with the -s option.
74
76 nsupdate(1), named.conf(5), named(8), BIND 9 Administrator Reference
77 Manual.
78
80 Internet Systems Consortium
81
83 2021, Internet Systems Consortium
84
85
86
87
889.16.16-RH DDNS-CONFGEN(8)