jdnssec-tools

Java command-line tools for DNSSEC key and record management

brewmacoslinux
Try with needOr install directly
Source

About

Java command-line tools for DNSSEC

Commands

jdnssec-keygenjdnssec-signzone

Examples

Generate a DNSSEC key pair for a zone$ jdnssec-keygen -a RSASHA256 -b 2048 example.com
Sign a DNS zone file with DNSSEC keys$ jdnssec-signzone -o example.com example.com.zone Kexample.com.+008+12345.key
Generate a KSK (Key Signing Key) for zone signing$ jdnssec-keygen -a RSASHA256 -b 4096 -f KSK example.com