TSIG-KEYGEN(8) BIND 9 TSIG-KEYGEN(8)

# [NAME](#NAME)

tsig-keygen - TSIG key generation tool

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

**tsig-keygen** is an utility that generates keys for use with TSIG (Transaction Signatures) as defined in **RFC 2845** &lt;https://datatracker.ietf.org/doc/html/rfc2845.html&gt;. The resulting keys can be used, for example, to secure dynamic DNS updates to a zone, or for the **rndc** &lt;#std-iscman-rndc&gt; 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](#OPTIONS)

[**-a algorithm**](#a)

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**](#h)

This option prints a short summary of options and arguments.

# [SEE ALSO](#SEE_ALSO)

[**nsupdate(1)**](/man/os/bind/nsupdate.1) &lt;#std-iscman-nsupdate&gt;, [**named.conf(5)**](/man/os/bind/named.conf.5) &lt;#std-iscman-named.conf&gt;, [**named(8)**](/man/os/bind/named.8) &lt;#std-iscman-named&gt;, BIND 9 Administrator Reference Manual.

# [Author](#Author)

Internet Systems Consortium

# [Copyright](#Copyright)

2026, Internet Systems Consortium

2026-11-05 9.20.30

---

Document: tsig-keygen(8) from bind 9.20.30-r1 (Chainguard OS)
Source: https://gitlab.isc.org/isc-projects/bind9.git
