OK Jeff, thanks....so the only way to write these bottom lines in the Slave is by hand (except if use scp or something similar)???
zone "company.com" { type slave; file "/etc/bind/zones/company.com.db"; allow-transfer { key "company"; }; } Bind per se can't do it ??? Thanks again. 2014-04-16 14:37 GMT-03:00 Lightner, Jeff <jlight...@dsservices.com>: > The slave should have different info such as the "type" being "slave" rather > than "master" > e.g. > > zone "company.com" { > type slave; > file "/etc/bind/zones/company.com.db"; > allow-transfer { key "company"; }; > }; > > Also if you were allowing by IP rather than acl you might need to change the > transfer options. Others might apply as well. > > I always do it by hand but it would probably be easy enough to script using > an sftp and sed on UNIX/Linux. > > > > > > > > -----Original Message----- > From: bind-users-bounces+jlightner=water....@lists.isc.org > [mailto:bind-users-bounces+jlightner=water....@lists.isc.org] On Behalf Of > Roberto Carna > Sent: Wednesday, April 16, 2014 1:24 PM > To: bind-users@lists.isc.org > Subject: Can Master replicate zone options in Slave's named.conf.local file > ??? > > People, I have a Master / Slave BIND9 system. > > When I add a new zone to the Master and set it up in named.conf.local file as > follow: > > zone "company.com" { > type master; > file "/etc/bind/zones/company.com.db"; > allow-transfer { key "company"; }; > }; > > Can Master write these options to Slave's named.conf.local file and order to > reload its config ??? > > Or do I always have to write by hand these options in Slave's > named.conf.local and after that restart the bind9 daemon ??? > > Thanks a lot. > > Roberto > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > > > > > Athena(r), Created for the Cause(tm) > Making a Difference in the Fight Against Breast Cancer > > --------------------------------- > CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential > information and is for the sole use of the intended recipient(s). If you are > not the intended recipient, any disclosure, copying, distribution, or use of > the contents of this information is prohibited and may be unlawful. If you > have received this electronic transmission in error, please reply immediately > to the sender that you have received the message in error, and delete it. > Thank you. > ---------------------------------- > _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users