Whats wrong with my zone files?

Alan Clegg Alan_Clegg at isc.org
Fri Jul 18 15:43:16 UTC 2008


Jon Harris wrote:
> @ IN SOA ns0.mydomain.net. root.ns0.mydomain.net. (2008071801 10800 3600
> 604800 86400 )

> However, this generates "no TTL specified; using SOA MINTTL instead" 

BIND9 uses the former default TTL (last entry in the SOA) as the amount
of time to cache negative entries for your zone.  You probably want to
change that last 86400 to something like 900.

Once you do that, just put a $TTL at the top of the file specifying the
defualt TTL for any label that does not have a TTL.

> Q2. I hate seeing processes start with a screen full of errors (assuming
> it will start) , so if I have to do this, is their a way I can script
> the change/bulk convert? - I have over 400 zone files to move.

This all depends on your implementation and your ability to script, but
yes, it is possible.

AlanC




More information about the bind-users mailing list