bind 8.2.1 script

Paul Jacobs paul at netpacq.com
Mon Sep 27 20:12:22 UTC 1999


For anyone who wants it below is a script for adding the $TTL value in all 
your *.db files..


#!/bin/sh

cd /var/named
mkdir save.$$
cp *.db save.$$
for i in *.db
do
	echo '$TTL 691200' > $i.new
	cat $i >> $i.new
	mv $i.new $i
done


Best regards,
Paul Jacobs /Senior Network Eng.
Commerce Service Provider (CSP)
Internet Presence Provider (IPP)
Streaming Video and MPEG
http://www.netpacq.com
mailto:paul at netpacq.com
Picture : http://www.netpacq.com/nis_team.htm




More information about the bind-users mailing list