namedmanager
namedmanager copied to clipboard
Add the ability for Bind Zones to configure allow-query and place notify on
We needed to add the following to our zones: allow-query per zone and notify yes. Would be good if this could be configured per DNS or per Zone.
diff --git a/bind/include/application/inc_bind.php b/bind/include/application/inc_bind.php
index b913890..bb7af50 100644
--- a/bind/include/application/inc_bind.php
+++ b/bind/include/application/inc_bind.php
@@ -291,6 +291,8 @@ class bind_api extends soap_api
{
fwrite($fh, "\tfile \"". $domain["domain_name"] .".zone\";\n");
}
+ fwrite($fh, "\tallow-query { any; };\n");
+ fwrite($fh, "\tnotify yes;\n");
fwrite($fh, "\tallow-update { none; };\n");
fwrite($fh, "};\n");