diff --git a/roles/named/templates/named.conf.j2 b/roles/named/templates/named.conf.j2 index 1e47a9f..f7a9fc8 100644 --- a/roles/named/templates/named.conf.j2 +++ b/roles/named/templates/named.conf.j2 @@ -23,6 +23,14 @@ options { {{ match }}; {% endfor %} }; +{% if named_allow_update %} + + allow-update { +{% for match in named_allow_update %} + {{ match }}; +{% endfor %} + }; +{% endif %} recursion {{ yesno(named_recursion) }};