DNS batch zones

Hi,
I need to create 200 Zones for Bind DNS and are looking for a fast way to do this.
Is there something that can assist to do this quick?

I also have a real newby question, I wonder about the serial number since it is set to a date and on 200 Zones I theoretically have 200 duplicate serials if I make them all on the same day.

I would just use nano to make each zone and then enter it into the named.conf file but I wonder if there is something that allows me to cut some work and generate them.
I thought to make a mail-merge using word but if I do this then I still have the serial number question that confuses me a bit

Any tip on this would be very welcome

Best wishes,
thomas
ThomasPartnerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Matt VConnect With a Mentor Commented:
You might want to look at powerDNS, you can write a module so it will respond to any request with the same IP.  Then you do not need zone files.  I assume you are doing some sort of domain parking?
0
 
Matt VCommented:
The serial # is only relevant to each zone, that is how multiple DNS servers know who has the most recent copy of the zone.

Will all these zones point to the same place or are they all different?
0
 
Rick HobbsRETIREDCommented:
I use a macro program to do repetitve tasks like that. I also use it to transfer transaction info to an as400.
0
 
ThomasPartnerAuthor Commented:
All zones are for different domains but point to the same IP and NS
0
 
ThomasPartnerAuthor Commented:
thanks
0
All Courses

From novice to tech pro — start learning today.