unixadm.bind

 

lookup

version - return this collection's version

Synopsis

Returns this collection's version

Examples
---
- assert:
    that: "lookup('unixadm.bind.version') is version_compare('0.0.1', '>=')"
Return values
Key Returned Description
_raw Success version string

modules

dnssec_keygen - generate dnssec keys

Synopsis

this module generates dnssec keys (ksk and zsk)

Parameters
Parameter Choices/Defaults Description
algo
(string)
RSA
RSAMD5
DSA
RSASHA1
NSEC3RSASHA1
NSEC3DSA
RSASHA256
RSASHA512
ECCGOST
ECDSAP256SHA256
ECDSAP384SHA384
DH
the algorithm to generate a key for
force
(string)
False re-generate and keys
keytype
(string)
required
ksk
zsk
key type
name
(string)
required
key name
nsec3
(string)
use a nsec3-capable algorithm for key generation
path
(string)
required
destination path
size
(string)
key size, see man dnssec-keygen for further details

tsig - generate tsig key

Synopsis

this module generates a tsig key for a given algorithm and saves it to a given filename

Parameters
Parameter Choices/Defaults Description
algo
(string)
hmac-md5
hmac-sha1
hmac-sha224
hmac-sha256
hmac-sha384
hmac-sha512
the algorithm to generate a key for
force
(string)
False re-generate and overwrite key
name
(string)
required
Name of the tsig key
path
(string)
required
destination path. If a directory is given, the tsig key is saved in path/name.key.