Move domain decription to client side; add some more describers
[jyaworski/domtool2.git] / src / plugins / bind.sml
index 5f37520..46ecbc3 100644 (file)
@@ -282,4 +282,12 @@ val () = Slave.registerPostHandler
 val () = Domain.registerResetLocal (fn () =>
                                       ignore (OS.Process.system (Config.rm ^ " -rf /var/domtool/zones/*")))
 
+val () = Domain.registerDescriber (Domain.considerAll
+                                  [Domain.Filename {filename = "named.conf",
+                                                    heading = "named.conf addition",
+                                                    showEmpty = false},
+                                   Domain.Filename {filename = "dns",
+                                                    heading = "DNS zonefile contents",
+                                                    showEmpty = false}])
+
 end