#!/bin/bash KEYNAME=$1 if [ -z "$KEYNAME" ]; then echo "Usage: $0 " exit 1 fi tsig-keygen -a hmac-sha512 "$KEYNAME"