Solved

DNS batch zones

Posted on 2013-06-19
5
272 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macbook Sierra OS OpenVPN issue 13 115
RRAS AND DNS 15 61
Authenticate using sesu from script 7 60
DNS times out 2 16
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…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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