Solved

A few questions about bind

Posted on 2009-06-30
2
396 Views
Last Modified: 2013-11-08
Hello,
I have a written a web based app in java, which generates zone files for bind. They are currently downloadable. But what I want to happen is to post the zone files directly to a bind install on the local server, and have those zonefiles setup to replicate to 2 or more external dns servers on the public internet. My questions are these:

1. Is this possible?
2. If its possible what would have to happen for me to publish the zone files to the local server? ie. where are the zone files written to, and what do I need to do to bind to make them active?
3. Assuming step 2, what needs to happen to have these zone files automatically replicated to external (public) dns servers?

Worth 500 points.

Thanks,
Rick
0
Comment
Question by:richardsimnett
[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 Comments
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24752991
Hi,

First of all to create a zone in bind means:
- Creating an entry in named.conf
- Creating zone data in the appropriate folder
- Restart the name server

This is similar in the slave. In that you need to:
- Create an entry in the named.conf and specify the address of the primary
- Restart the name server.

So as you see it requires you to have access to both Primary and Secondary servers.

1) If you have access to both it is possible to create zoens through any application such as Shell scripts and any interpreted or compiled programming languages.

2) As I've explained above you need to create both zone file and a record in the named.conf and then you need to resrtart the named dameon.

3) I've explained this above also. You need to access the secondary server to modify its named conf to include the secondary entry and you need to restart the named over the secondary so that it will replicate with the primary.


0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 24754295
You may wish to setup bind with a Mysql back end.

Your java app, will build the zones in the mysql database.
You would have a process on the master name server that will check the mysql database for new zone additions. and build the named.conf file that needs to be pushed to the slave (public) DNS.
Or set all of them as bind with mysql backend while at the same time configure mysql replication.

Alternatively, you could have a process that would add entries to the named.conf and push them to the slaves while the zone file on the Master name server is setup as dynamic.  Using the java application you could then issue dynamic updates to the zones.

Look for bind tools and you are bound to find something.
http://www.debianhelp.co.uk/bindweb.htm
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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

733 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