#!/bin/sh TLD=172.in-addr.arpa. for i in 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 do named-checkzone -q ${i}.${TLD} ${i}.zone ||\ named-checkzone ${i}.${TLD} ${i}.zone || exit 1 done for i in wirelessleiden.nl wleiden.net do named-checkzone -q $i\. $i ||\ named-checkzone $i\. $i || exit 1 done echo No syntax errors in any of the files. You DID update echo the serial numbers and date-stamps in the SOA I hope \?\! echo echo OK exit 0