The dknewkey program

dknewkey creates a new key, and prints the associated DNS record.

Interface

     dknewkey keyfile [bits]

keyfile is the pathname to a file which will hold the private key. bits is the number of bits in the key. If not specified, defaults to 384.