ttl in named.conf <-> zone.db ?
Jim Reid
jim at rfc1035.com
Fri Nov 24 17:04:06 UTC 2000
>>>>> "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