#!/bin/sh

RNDCFILE=/etc/bind/rndc.key

test -e $RNDCFILE || exit 1

awk '/secret/{print $2}' < $RNDCFILE | cut -d\" -f2
