DNS cluster

J Sloan joe at tmsusa.com
Thu Jul 7 21:02:04 UTC 2005


I would love to see what you have - I've been looking for a better way
to keep master copies of our dns zones, and had been thinking about a
mysql solution, but haven't found the time to write the functions to get
the data into the database, or to create well-formed files using data
from the database.

Joe

Genco YILMAZ wrote:
>Hi Stelios,
>I had written a BIND-GUI in php and backend perl to manage zone files.
>In fact, this software changes the way master and slave concept a little
>bit. All zone files are kept in a MySQL database. When you add a new
>zone into the master dns server through GUI, all other client dns
>servers fetch new zone files or any changed data with the client
>software written in perl.  Perl clients make a tcp connection to the
>database server through an encrypted tunnel connection and write the new
>data into the normal text files.  When you write a cron entry on the
>master and client dns servers all data is spread into client dns
>servers. This allowed me to play with zone files because in this
>structure every client is a master server functionally. GUI allows any
>change on the zone records kept in database.
>    In fact I have implemented this structure for me but If anybody
>needs this, after a little documentation it can be ready for any own system.
>Kind Regards.
>
>Stelios Asmargianakis wrote:
>
>  
>>Hi Brad,
>>
>>Thanks for your answer.
>>Using rsync is not the problem and I can copy the zones easily and then
>>reload the dns; the problem comes that I need to edit each time the
>>named.conf on the 2nd server manually. This is impossible as we are talking
>>for many entries in DNS every week.
>>
>>Any other ideas?
>>
>>Regarding with Peter Alberchts reply (thanks for that) using webmin or any
>>other GUI is not the solution as I am trying to find something to do the job
>>automatic.
>>
>>Unfortunately it seems that I will need to stuck with 2 dns servers both
>>with cpanel (it's a web hosting control panel).
>>
>>Thanks
>>
>>-----Original Message-----
>>From: Brad Knowles [mailto:brad at stop.mail-abuse.org] 
>>Sent: Thursday, July 07, 2005 1:01 PM
>>To: linux at climbincrete.com
>>Cc: bind-users at isc.org
>>Subject: Re: DNS cluster
>>
>>At 12:25 PM +0100 2005-07-07, Stelios A. wrote:
>>
>> 
>>
>>    
>>>I am trying to set up a DNS cluster using a traditional master-slave but
>>>   
>>>
>>>      
>>I
>> 
>>
>>    
>>>cannot find a way to add the appropriate entries in named.conf on the
>>>slave DNS (master will run linux with cpanel control panel installed).
>>>   
>>>
>>>      
>>	There's no standard way to automatically distribute changes to 
>>named.conf, at least not so far as I know.
>>
>> 
>>
>>    
>>>That means that although the zone files would automatically synchronise,
>>>however I would have to manually add new zone entries to named.conf on
>>>   
>>>
>>>      
>>the
>> 
>>
>>    
>>>2nd box (linux no control panel).
>>>   
>>>
>>>      
>>	Yup.  That's a well-known problem.
>>
>> 
>>
>>    
>>>Any ideas how to achieve that?
>>>   
>>>
>>>      
>>	You could set up something like rsync or ssync (rsync over ssh), 
>>pull the configuration files out of a database on all machines, or 
>>any number of other alternatives.
>>
>> 
>>
>>    
>
>
>  



More information about the bind-users mailing list