|
@@ -0,0 +1,28 @@
|
|
|
+tsig-keygen.py
|
|
|
+==============
|
|
|
+
|
|
|
+```
|
|
|
+usage: tsig-keygen.py [-h] [-a {hmac-sha256,hmac-sha384,hmac-sha512}]
|
|
|
+ [-d DIRECTORY] [-f {bind9,nsd}] [-k KEY] [-n NAME]
|
|
|
+ [-o OUTPUT] [-s SERVERS [SERVERS ...]]
|
|
|
+ [-z ZONES [ZONES ...]]
|
|
|
+
|
|
|
+Pure Python TSIG key generator with multiple output formats.
|
|
|
+
|
|
|
+optional arguments:
|
|
|
+ -h, --help show this help message and exit
|
|
|
+ -a {hmac-sha256,hmac-sha384,hmac-sha512}, --algorithm {hmac-sha256,hmac-sha384,hmac-sha512}
|
|
|
+ TSIG algorithm
|
|
|
+ -d DIRECTORY, --directory DIRECTORY
|
|
|
+ where to store secondary zone files
|
|
|
+ -f {bind9,nsd}, --format {bind9,nsd}
|
|
|
+ output format (default: nsd
|
|
|
+ -k KEY, --key KEY TSIG shared secret (default: generate new secret)
|
|
|
+ -n NAME, --name NAME DNS name for TSIG shared secret
|
|
|
+ -o OUTPUT, --output OUTPUT
|
|
|
+ output file
|
|
|
+ -s SERVERS [SERVERS ...], --servers SERVERS [SERVERS ...]
|
|
|
+ address(es) of primary nameserver(s)
|
|
|
+ -z ZONES [ZONES ...], --zones ZONES [ZONES ...]
|
|
|
+ zone(s) to xfr from specified nameserver(s)
|
|
|
+```
|