[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

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
0
Thomanji
Asked:
Thomanji
  • 2
  • 2
1 Solution
 
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
 
ThomanjiAuthor Commented:
All zones are for different domains but point to the same IP and NS
0
 
Matt VCommented:
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
 
ThomanjiAuthor Commented:
thanks
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now