Skip to content

Instantly share code, notes, and snippets.

@seanosulliv
Created February 13, 2011 12:40
Show Gist options
  • Save seanosulliv/824653 to your computer and use it in GitHub Desktop.
Save seanosulliv/824653 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Enter zone to cycle ksk for :"
read ZONE
KEYID=$(sudo ods-ksmutil key export --zone $ZONE --keystate ready --ds | awk '{print $5}')
sudo ods-ksmutil key ds-seen -z $ZONE -x $KEYID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment