Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: two bind9 masters

From: Wojciech Ziniewicz <wojciech.ziniewicz(at)gmail.com>
Date: Wed Oct 10 2007 - 18:01:52 EDT


2007/10/10, Henrique de Moraes Holschuh <hmh@debian.org>:
> There are none, *as long as* you are completely sure the two name servers
> will always be in sync, i.e. whatever you use to send zone files to them
> must work well.

One server is managed through ISPconfig software. It has about 80 domains in it now , and works well but for the production use (we're now preparing for moving from QA to prod.) there must be 2 or more DNS servers for those domains. As the old servers will be shut down, new servers must take their role.

I've managed to modify ISPconfig to manage it's own DNS master server as well as any slave server (simple ssh-based commandline scripting ) but for an existing 80 domains i should remove them and add them again that is not what i want. Moreover i dont want to mofidy the code of ISPconfig so i can easily apply updates .

The remaining option is to create two masters - One managed by ISPconfig and the second master that will be rsyncing/syncing/sshing/whatever to the ISPconfig master everytime the CP is doing rndc reload.

That's all..

There's another question how to sync those servers but as I said i'll probably make a simple crontab under the ISPconfig entry with "rndc reload" like :

rsync /etc/bind/mymaster_zones
bind@my_second_master_server.com::/masterzones && ssh my_second_master_server.com 'rndc reload'

I think it will be a good way to manage all the things together .

Do you need help?X

The probable time of having my servers "unsynced" will be about 0,5 sec or something like that that is acceptable for me.

Regards.

-- 
Wojciech Ziniewicz
Unix SEX :{look;gawk;find;sed;talk;grep;touch;finger;find;fl
ex;unzip;head;tail; mount;workbone;fsck;yes;gasp;fsck;more;yes;yes;eje
ct;umount;makeclean; zip;split;done;exit:xargs!!;)}


-- 
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Oct 10 18:58:31 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:51:04 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library