$TTL statement

Martin, Kevin kevinm at crt.com
Thu Aug 5 20:59:50 UTC 1999


Damn,  thought you might say something like that.  I actually configure my
DNS via scripts that pull in h2n to read and build my zones.  Unfortunately,
h2n adds the $INCLUDE statement at the end of the zone by default.  I'll
have to modify h2n to put it at the top.

Thanks for the info.

Kevin

> -----Original Message-----
> From: Barry Margolin [mailto:barmar at bbnplanet.com]
> Sent: Thursday, August 05, 1999 3:29 PM
> To: comp-protocols-dns-bind at moderators.uu.net
> Subject: Re: $TTL statement
> 
> 
> In article 
> <F931488C3634D11180D700A02461E24501E4EE25 at chitmd03.nt.il.nbgfn.com>,
> Martin, Kevin <kevinm at crt.com> wrote:
> >For Bind 8, does the $TTL statement HAVE to go before the 
> SOA record or can
> >I put it in a spcl.<domain> file?
> 
> You can put it anywhere you want, but it only applies to 
> records that come
> after it.  If you put it in spcl.<domain>, then you should put the 
> 
> $INCLUDE spcl.<domain>
> 
> line before any records that don't have explicit TTLs.  If 
> the SOA record
> doesn't have an explicit TTL, you should put it before the SOA.
> 
> -- 
> Barry Margolin, barmar at bbnplanet.com
> GTE Internetworking, Powered by BBN, Burlington, MA
> *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them 
> to newsgroups.
> Please DON'T copy followups to me -- I'll assume it wasn't 
> posted to the group.
> 


More information about the bind-users mailing list