$TTL --> named.con HELP

Joseph S D Yao jsdy at cospo.osis.gov
Thu Apr 20 15:09:48 UTC 2000


On Thu, Apr 20, 2000 at 11:48:52AM +0200, payam wrote:
> OK,
> 
> how can i do that with script  ?
> we have too mauch zone .
> 
> Payam

for i in zone.*; do
	chmod u+w "$i"
	sed "$i" << EndOfEdit
0a
$TTL	86400
.
wq
EndOfEdit
	chmod -w "$i"
done

Replace "zone.*" with whatever you use to designate zone files.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.



More information about the bind-users mailing list