Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: two bind9 masters

From: Eric Hudspeth <elh(at)geekoutside.com>
Date: Thu Oct 11 2007 - 20:00:30 EDT


Hi,
 I haven't found any cons, at least none I can think of right away. What I did  in my setup is.

  1. setup a ssh key pair using the root user (http://www.ibm.com/developerworks/library/l-keyc.html) and place the public keys on the other servers.
  2. create your records as you would on your master dns server.
  3. create a simple shell script like so /etc/init.d/bind9 reload /usr/bin/scp /etc/bind/named.conf* root@server1.domain.com:/etc/bind/ /usr/bin/scp /etc/bind/reverse.* root@server1.domain.com:/etc/bind/ /usr/bin/scp /etc/bind/db.* root@server1.domain.com:/etc/bind/ /usr/bin/scp /etc/bind/named.conf* root@server2.domain.com:/etc/bind/ /usr/bin/scp /etc/bind/reverse.* root@server2.domain.com:/etc/bind/ /usr/bin/scp /etc/bind/db.* root@server2.domain.com:/etc/bind/ /usr/bin/ssh server1.domain.com /etc/init.d/bind9 reload /usr/bin/ssh server2.domain.com /etc/init.d/bind9 reload

 the ssh key pair is used to scp the named.conf and all the records to the  other dns servers and reload bind. some may prefer a different configuration  but this setup works for me. hope this helps you out with what your tring to  acomplish.

 Eric Hudspeth

 On Wed, 10 Oct 2007 16:16:45 +0200, Wojciech Ziniewicz wrote
> Hi all,
> What are the pros and cons of having two master DNS servers for one
> zone holding identical data for this zone ?
> I mean the RFC and practical point of view.
> What are Your opinions .
>
> 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

 --
 linux inside? geek outside! (http://www.geekoutside.com)

-- 
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Oct 11 20:01:25 2007

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


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