Re: Changing $TTL for many zones

This is a discussion on Re: Changing $TTL for many zones within the Bind Users forums, part of the DNS and Related Forums category; ..... >>>Would this work? >>> >>> >> >>Yes. But why ? You ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-05-2004
chuck yerkes
 
Posts: n/a
Default Re: Changing $TTL for many zones

.....
>>>Would this work?
>>>
>>>

>>
>>Yes. But why ? You still have to edit at least the SOA record to increase
>>serial nr.
>>

>
> Exactly. I would go further and suggest that, since the SOA needs to be
> changed anyway, just give an explicit TTL to the SOA RR, and thus
> dispense with the $TTL directive completely (my assumption here is that
> the SOA RR is the first RR in the zone file).


Sanity would suggest GENERATING part of your zones anyway.

I host a couple hundred zones. Frankly, for a lot of them,
the "file" is one of 4 (variations of www and mail between
a couple machines).

But I'm leaning towards keeping the SOA in one file, the zone
content in another and using m4 to create the actual zone file
drawing from those.

If the generic m4 template that draws them in defines the $TTL
and certain SOA values (pretty much all but serial number), then
great.

combine with "make" and it's a lot easier. if you really need
to update a bunch of zones, you touch the "$ZONENAME.data" file
and run "make"

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0