HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
438b8bd
)
Do not generate zone files on bind slaves
release_20120104
author
Clinton Ebadi
<clinton@unknownlamer.org>
Fri, 4 Jan 2013 08:36:01 +0000
(
03:36
-0500)
committer
Clinton Ebadi
<clinton@unknownlamer.org>
Fri, 4 Jan 2013 08:36:01 +0000
(
03:36
-0500)
* 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
patch
|
blob
|
blame
|
history
diff --git
a/src/plugins/bind.sml
b/src/plugins/bind.sml
index
7dbc1fa
..
20aeb60
100644
(file)
--- 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