From edc47afc341bacaf5540791ed2cc7e5c5f72d699 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 25 Dec 2019 17:25:49 -0500 Subject: More help --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..d38b7e8 --- /dev/null +++ b/README.md @@ -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) +``` -- cgit v1.2.3