From: Clinton Ebadi Date: Fri, 4 Jan 2013 08:36:01 +0000 (-0500) Subject: Do not generate zone files on bind slaves X-Git-Tag: release_20120104 X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/commitdiff_plain/d5772aa364d60b3a005443b07db58672d64b0432 Do not generate zone files on bind slaves * bind slaves perform domain transfers from the master server, so there is no need to generate and push zone files to them. In theory. --- diff --git a/src/plugins/bind.sml b/src/plugins/bind.sml index 7dbc1fa..20aeb60 100644 --- a/src/plugins/bind.sml +++ b/src/plugins/bind.sml @@ -229,7 +229,7 @@ val () = Slave.registerFileHandler (fn fs => val {dir, file} = OS.Path.splitDirFile (#file fs) fun dnsChanged () = - if #domain fs = !didDomain then + if #domain fs = !didDomain orelse Slave.hostname () <> Config.masterNode then () else if Slave.isDelete (#action fs) then let