1DDNS-CONFGEN(8)                     BIND 9                     DDNS-CONFGEN(8)
2
3
4

NAME

6       ddns-confgen - ddns key generation tool
7

SYNOPSIS

9       ddns-confgen [-a algorithm] [-h] [-k keyname] [-q] [-s name] [-z zone]
10

DESCRIPTION

12       ddns-confgen is an utility that generates keys for use in TSIG signing.
13       The resulting keys can be used, for example, to secure dynamic DNS  up‐
14       dates to a zone, or for the rndc command channel.
15
16       The key name can specified using -k parameter and defaults to ddns-key.
17       The generated key is accompanied by configuration text and instructions
18       that  can  be used with nsupdate and named when setting up dynamic DNS,
19       including an example update-policy statement.  (This usage  is  similar
20       to the rndc-confgen command for setting up command-channel security.)
21
22       Note  that  named  itself  can  configure a local DDNS key for use with
23       nsupdate -l; it does this when a zone is configured with  update-policy
24       local;. ddns-confgen is only needed when a more elaborate configuration
25       is required: for instance, if nsupdate is to be used from a remote sys‐
26       tem.
27

OPTIONS

29       -a algorithm
30              This  option  specifies  the  algorithm to use for the TSIG key.
31              Available  choices  are:   hmac-md5,   hmac-sha1,   hmac-sha224,
32              hmac-sha256,   hmac-sha384,  and  hmac-sha512.  The  default  is
33              hmac-sha256. Options are case-insensitive, and the "hmac-"  pre‐
34              fix may be omitted.
35
36       -h     This option prints a short summary of options and arguments.
37
38       -k keyname
39              This  option  specifies  the key name of the DDNS authentication
40              key. The default is ddns-key when neither the -s nor  -z  option
41              is  specified;  otherwise, the default is ddns-key as a separate
42              label followed by the argument of the option, e.g., ddns-key.ex‐
43              ample.com.   The key name must have the format of a valid domain
44              name, consisting of letters, digits, hyphens, and periods.
45
46       -q     This option enables quiet mode, which prints only the key,  with
47              no explanatory text or usage examples. This is essentially iden‐
48              tical to tsig-keygen.
49
50       -s name
51              This option generates a configuration example to  allow  dynamic
52              updates  of a single hostname. The example named.conf text shows
53              how to set an update policy for the  specified  name  using  the
54              "name"  nametype.  The  default  key name is ddns-key.name. Note
55              that the "self" nametype cannot be used, since the  name  to  be
56              updated may differ from the key name. This option cannot be used
57              with the -z option.
58
59       -z zone
60              This option generates a configuration example to  allow  dynamic
61              updates  of a zone. The example named.conf text shows how to set
62              an update policy for the  specified  zone  using  the  "zonesub"
63              nametype,  allowing  updates  to all subdomain names within that
64              zone.  This option cannot be used with the -s option.
65

SEE ALSO

67       nsupdate(1), named.conf(5), named(8), BIND  9  Administrator  Reference
68       Manual.
69

AUTHOR

71       Internet Systems Consortium
72
74       2022, Internet Systems Consortium
75
76
77
78
799.16.30-RH                                                     DDNS-CONFGEN(8)
Impressum