1DDNS-CONFGEN(8) BIND9 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]
12 [-s 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 which will be used as the name of the generated key. If no name is
22 specified, the default is tsig-key.
23
24 When run as ddns-confgen, the generated key is accompanied by
25 configuration text and instructions that can be used with nsupdate and
26 named when setting up dynamic DNS, including an example update-policy
27 statement. (This usage similar to the rndc-confgen command for setting
28 up 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
33 configuration is required: for instance, if nsupdate is to be used from
34 a remote system.
35
37 -a algorithm
38 Specifies the algorithm to use for the TSIG key. Available choices
39 are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and
40 hmac-sha512. The default is hmac-sha256. Options are
41 case-insensitive, and the "hmac-" prefix may be omitted.
42
43 -h
44 Prints a short summary of options and arguments.
45
46 -k keyname
47 Specifies the key name of the DDNS authentication key. The default
48 is ddns-key when neither the -s nor -z option is specified;
49 otherwise, the default is ddns-key as a separate label followed by
50 the argument of the option, e.g., ddns-key.example.com. The key
51 name must have the format of a valid domain name, consisting of
52 letters, digits, hyphens and periods.
53
54 -q
55 (ddns-confgen only.) Quiet mode: Print only the key, with no
56 explanatory text or usage examples; This is essentially identical
57 to tsig-keygen.
58
59 -r randomfile
60 Specifies a source of random data for generating the authorization.
61 If the operating system does not provide a /dev/random or
62 equivalent device, the default source of randomness is keyboard
63 input. randomdev specifies the name of a character device or file
64 containing random data to be used instead of the default. The
65 special value keyboard indicates that keyboard input should be
66 used.
67
68 -s name
69 (ddns-confgen only.) Generate configuration example to allow
70 dynamic updates of a single hostname. The example named.conf text
71 shows how to set an update policy for the specified name using the
72 "name" nametype. The default key name is ddns-key.name. Note that
73 the "self" nametype cannot be used, since the name to be updated
74 may differ from the key name. This option cannot be used with the
75 -z option.
76
77 -z zone
78 (ddns-confgen only.) Generate configuration example to allow
79 dynamic updates of a zone: The example named.conf text shows how to
80 set an update policy for the specified zone using the "zonesub"
81 nametype, allowing updates to all subdomain names within that zone.
82 This option cannot be used with the -s option.
83
85 nsupdate(1), named.conf(5), named(8), BIND 9 Administrator Reference
86 Manual.
87
89 Internet Systems Consortium, Inc.
90
92 Copyright © 2009, 2014-2016, 2018 Internet Systems Consortium, Inc.
93 ("ISC")
94
95
96
97ISC 2014-03-06 DDNS-CONFGEN(8)