tsig-keygen(8)

tsig-keygen8

Tsig key generation tool

Usage

tsig-keygen [-a algorithm] [-h] [name]

Overview

tsig-keygen is an utility that generates keys for use with TSIG (Transaction Signatures) as defined in RFC 2845 <https://datatracker.ietf.org/doc/html/rfc2845.html>. The resulting keys can be used, for example, to secure dynamic DNS updates to a zone, or for the rndc <#std-iscman-rndc> command channel.

A domain name can be specified on the command line to be used as the name of the generated key. If no name is specified, the default is tsig-key.

Options

-a algorithm

This option specifies the algorithm to use for the TSIG key. Available choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384, and hmac-sha512. The default is hmac-sha256. Options are case-insensitive, and the "hmac-" prefix may be omitted.

-h

This option prints a short summary of options and arguments.

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

-k until Debian 11 (Bullseye); -q until Debian 11 (Bullseye); -r until Debian 10 (Buster); -s until Debian 11 (Bullseye); -z until Debian 11 (Bullseye).

Author

Internet Systems Consortium

From bind 9.20.30-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.