Solved

DNS batch zones

Posted on 2013-06-19
5
270 Views
Last Modified: 2013-06-20
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
Comment
Question by:Thomanji
  • 2
  • 2
5 Comments
 
LVL 22

Expert Comment

by:Matt V
ID: 39260891
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
 
LVL 22

Expert Comment

by:Rick Hobbs
ID: 39261032
I use a macro program to do repetitve tasks like that. I also use it to transfer transaction info to an as400.
0
 

Author Comment

by:Thomanji
ID: 39261424
All zones are for different domains but point to the same IP and NS
0
 
LVL 22

Accepted Solution

by:
Matt V earned 500 total points
ID: 39261475
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
 

Author Closing Comment

by:Thomanji
ID: 39262249
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now