Re: slave - master synchroniztation for bind9
On Wed, Sep 30, 2009 at 01:36:28PM +0100, Adam McGreggor wrote:
> On Wed, Sep 30, 2009 at 02:15:06PM +0200, Wojciech Ziniewicz wrote:
> > Before crash ,this second slave was fully authorized in bind on the
> > rest of the servers (first master and first slave) so the question is
> > -> how can I download all the zones ?
> >
> > Your help would be very appreciated
>
> dump the db/source the zonefiles + the config file for the domains.
>
> read your bind config to see how you're storing things.
Another way could be to make the second-slave a master, and set the
(restored) other two boxes to be slaves, and just rely on AXFR.
(or maybe even something like dig -axfr > $zone for all the zone, on
the other machines; a trivial read/grep of the zones from the bind
config could feed a script).
--
``If we let people see that kind of thing,
there would never again be any war.''
(US spokesman, on news film of Iraqi soldiers killed by helicopter gunfire)
Reply to: