#!/bin/sh pdnsctrl=`which pdns_control` if [ $? -eq 0 ] then echo '<<>>' $pdnsctrl show '*' fi