Solved

DNS batch zones

Posted on 2013-06-19
5
269 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:rickhobbs
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
Background Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc... As a "Unix" shop, our only readily …
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 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

19 Experts available now in Live!

Get 1:1 Help Now