On 31/12/2010 10:58, Nuno Paquete wrote: > No dia 31 de Dez de 2010, às 08:18, "p...@mail.nsbeta.info" > <p...@mail.nsbeta.info> escreveu: > >> Anand Buddhdev writes: >>> On 31/12/2010 05:33, p...@mail.nsbeta.info wrote: >>>> Hi, >>>> Is it a right way to run rsync for bind's zone files replication? >>>> If we have dozons of zones, each zone has more than one view, under this >>>> case setup the master/slave with standard zone-traff is the hard way IMO. >>>> Thanks. >>> Yes, that's just fine. You don't have to use zone transfers. >> >> Thanks. But I have another question, >> how would bind know the zone files were changed before it reload zones? >> Regards. > > I think you have to restart bind. That's why I believe it's better to use > zone transfers because it's automatic.
You don't have to _restart_ BIND, you have to _reload_ it. Otherwise BIND can't know that the zone file on disk has changed. You'd do something like: rsync source:/some/zone dest:/bind/dir/zone && ssh dest 'rndc reload zone' -- Anand _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users