sh into the box?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alberto
Colosi/SI/RM/GSI/it
Sent: Wednesday, December 03, 2008 5:25 PM
To: Mike Bernhardt
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: How to modify "A" records on the slave when master is down?
years.
HTH -- Chris
- Original Message
From: Mike Bernhardt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, December 3, 2008 4:59:34 PM
Subject: RE: How to modify "A" records on the slave when master is down?
What we used to do is we had 2 masters
By popular demand, here is the perl script I used:
#!/usr/bin/perl
print "reloading BIND...\n";
system "rndc reload";
print "copying db files to ns2...\n";
$a = `/bin/ping -c 1 ns2`;
if ($a =~ /64 bytes/) {
system "sudo -u named scp -B /var/named/var/named/db.zone1
/var/named/var/
NE'S BUSINESS
Member of
IBM Information Security WW CoP
"Mike Bernhardt" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
03/12/2008 22.59
To
<[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc
Subject
RE: How to modify "A" records on the slave when master is dow
What we used to do is we had 2 masters. After an update was done on one of
them, we ran a perl script that would scp the db files to the other and then
send rndc reload to itself and the other master. That way both were always
up to date. It seems like if you had one master and one slave at each
da
On Fri, 2008-11-21 at 21:10 -0800, [EMAIL PROTECTED] wrote:
> Hello. I have two geographically different datacenters. Each
> datacenter has two instances of BIND.
>
> There is one master out of these four. The zones will have multiple
> "A" records (pointing to the two datacenters to provide so
6 matches
Mail list logo