#!/bin/bash -e # (c) Copyright 2003-2003 Jonathan de Boyne Pollard. All rights reserved. "Moral" rights asserted. # Permission is hereby granted to distribute this script unmodified. # This script requires the patch that changes the ${DNSCACHEIP} separator, which can be found at . t=${1?Missing type} n=${2?Missing name} s=${3?Missing server} i=`dnsip $s` DNSCACHEIP=${i:?Bad server name} dnsqr $t $n