From 2cf41d49e1aca73964f5c900e3b677179da74bdc Mon Sep 17 00:00:00 2001 From: doobry Date: Fri, 16 Jun 2023 20:23:47 +0200 Subject: [PATCH] Don't put content of private update key in named.conf.options Fixes: #69 --- templates/bind/named.conf.options.j2 | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/templates/bind/named.conf.options.j2 b/templates/bind/named.conf.options.j2 index 415223a..3bc851d 100644 --- a/templates/bind/named.conf.options.j2 +++ b/templates/bind/named.conf.options.j2 @@ -72,17 +72,6 @@ key "{{ zone.name }}_ddns_update" { {% endfor %} {% endif %} -{% if bind9_zones_static|selectattr('update_keyfile','defined')|list|default() %} -{% for zone in bind9_zones_static|selectattr('update_keyfile','defined')|list|default([]) %} -{% if zone_type|default(bind9_zone_type|default('master')) == 'master' %} -{% if loop.first %} -// The following keys are used for dynamic DNS updates -{% endif %} -{{ lookup('file', 'bind/zones/'+zone.update_keyfile+'.private') }} -{% endif %} -{% endfor %} -{% endif %} - acl our_networks { // Permitted for queries {% if bind9_our_networks|default() %}