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 SERVER [SERVER ...]]
[-z ZONE [ZONE ...]]
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 (default: hmac-sha256)
-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 SERVER [SERVER ...], --servers SERVER [SERVER ...]
address(es) of primary nameserver(s)
-z ZONE [ZONE ...], --zones ZONE [ZONE ...]
zone(s) to xfr from specified nameserver(s)