SYNOPSIS

       ldns-keygen [ OPTION ] DOMAIN



DESCRIPTION

       ldns-keygen is used to generate a private/public keypair. When  run  it
       will  create  3  files;  a .key file with the public DNSKEY, a .private
       file with the private keydata and a .ds  with  the  DS  record  of  the
       DNSKEY record.

       It prints out the basename for all these files: (K<name>+<alg>+<id>



OPTIONS

       R      Generate a RSA key.


       D      Generate a DSA key.


       k      When  given  generate a key signing key. This just sets the flag
              field to 257 instead of 256.


       b bits Use this many bits for the key length.


       r evice
              Make ldns-keygen use this file for its random  data.  This  will
              default to /dev/random.



AUTHOR

       Written by the ldns team as an example for ldns usage.



REPORTING BUGS

       Report bugs to <ldns-team@nlnetlabs.nl>.



COPYRIGHT

       Copyright  (C) 2005 NLnet Labs. This is free software. There is NO war-
       ranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR  PUR-
       POSE.



                                  30 May 2005                   ldns-keygen(1)

Man(1) output converted with man2html