various updates
[distro-setup] / machine_specific / li / filesystem / etc / bind / named.conf.local
index 8286002b6c9649e42df47173c817fbc3ce3cfe96..0b88ee82e141d9a5a41c56f913bb9854a2a7e0e7 100644 (file)
@@ -19,3 +19,15 @@ file "/etc/bind/bind-writable/db.iank.life";
   };
 };
 include "/etc/bind/key.iank.life";
+
+
+zone "b8.nz" {
+type master;
+file "/etc/bind/bind-writable/db.b8.nz";
+  update-policy {
+    // allow host to update themselves with a key having their own name
+    grant b8.nz. name b8.nz. A TXT;
+    grant b8.nz. name *.b8.nz. A TXT;
+  };
+};
+include "/etc/bind/key.b8.nz";