?
Solved

DNS batch zones

Posted on 2013-06-19
5
Medium Priority
?
276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month8 days, 16 hours left to enroll

764 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