From d5772aa364d60b3a005443b07db58672d64b0432 Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Fri, 4 Jan 2013 03:36:01 -0500 Subject: [PATCH] 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. --- src/plugins/bind.sml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1