aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server')
-rw-r--r--roles/space_server/templates/named.conf.j28
1 files changed, 5 insertions, 3 deletions
diff --git a/roles/space_server/templates/named.conf.j2 b/roles/space_server/templates/named.conf.j2
index 0314545..2e15098 100644
--- a/roles/space_server/templates/named.conf.j2
+++ b/roles/space_server/templates/named.conf.j2
@@ -104,7 +104,7 @@ zone "s" IN {
file "/etc/named/s.zone";
allow-query { local; };
allow-update { none; };
- allow-transfer { none; };
+ allow-transfer { local; };
};
{% if ddns_secret is defined %}
@@ -113,7 +113,7 @@ zone "dhcp" IN {
file "dynamic/dhcp.zone";
allow-query { local; };
allow-update { key dhcpupdate; };
- allow-transfer { none; };
+ allow-transfer { local; };
notify no;
};
{% endif %}
@@ -124,8 +124,10 @@ zone "42.10.in-addr.arpa" IN {
allow-query { local; };
{% if ddns_secret is defined %}
allow-update { key dhcpupdate; };
+{% else %}
+ allow-update { none; };
{% endif %}
- allow-transfer { none; };
+ allow-transfer { local; };
notify no;
};