ttl in named.conf <-> zone.db ?

Danny Mayer mayer at gis.net
Sat Nov 25 02:23:56 UTC 2000


		You may as well do it now.  It gets worse in BIND 9 where the TTL
  is required or it's a fatal error and BIND will exit.

		Danny
At 05:04 PM 11/24/00 +0000, Jim Reid wrote:
>>>>>> "claudio" == claudio minutella <minutella at tic.ch> writes:
>
>    claudio> we just changed from bind-8.1.2 to bind 8.2.2p7 and have
>    claudio> more than one tousend domains running. now we do not want
>    claudio> go on each zonefile and add the desired line :TTL 3600
>
>Tough. Either you do that or put up with the warning message.
>
>    claudio> is there a way to set a defaultvalue in named.conf or
>    claudio> somehow ?
>
>No. What's the problem with running a shell script like
>
>	for in in list-of-zone-files
>	do
>		ed $i << EOF
>		0i
>		$TTL 3600
>		.
>		w
>		q
>		EOF
>	done
>
>That should take an effort of maybe 30 seconds,
> 



More information about the bind-users mailing list