Created
November 27, 2014 19:32
-
-
Save sulrich/48e5d9b7c95ba93b0562 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # path to key file associated with the key for the zone | |
| KEY_FILE="${HOME}/bin/keys/K-MY-KEY-HERE.key" | |
| # path to file with the appropriate entries created by the setup process | |
| DELETE_FILE="/tmp/delete-t-MY-ZONE-HERE-update.txt" | |
| echo -n "sending zone deletion ... " | |
| /usr/bin/nsupdate -k ${KEY_FILE} ${DELETE_FILE} | |
| echo "done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment