KSK Rollover

  1. Generate a key file for the new KSK.

›_ Console

# dnssec-keyfromlabel -E pkcs11 -a RSASHA256 -f KSK -l "pkcs11:token=Bind;object=ksk1" example.net 
tmp3_8kv71l.jpg

Key file for new KSK

  1. Add the new KSK to the zone file example.net.

example.net

...
$include "/usr/local/bin/Kexample.net.+008+65395.key"; //KSK old
$include "/usr/local/bin/Kexample.net.+008+33262.key"; //KSK new
...
  1. Sign the zone with the old and new KSK.

›_ Console

# dnssec-signzone -E pkcs11 -x  -o example.net -k Kexample.net.+008+65395 -k Kexample.net.+008+33262 /var/named/example.net 
tmprmouq2cf.jpg

Signing zone with old and new KSK

  1. Wait for the zone transfer time, TTL of DNSKEY resource record set and TTL on the DS record set.

  2. Remove the old KSK entry from zone file example.net.

example.net

...
$include "/usr/local/bin/Kexample.net.+008+33262.key"; //KSK new
...
  1. Sign the zone with the new KSK.

›_ Console

# dnssec-signzone -E pkcs11 -x -o example.net -k Kexample.net.+008+33262 /var/named/example.net 
tmp48szs84w.jpg

Signing the zone with new KSK