feat: support rndc
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-06-09 09:46:02 +02:00
parent 90bdec9e98
commit 38b4533838
4 changed files with 49 additions and 9 deletions

View File

@ -2,6 +2,23 @@
# {{ ansible_managed }}
#
{% if bind9_controls is defined and bind9_controls | length > 0 %}
controls {
{% for control in bind9_controls %}
inet {{ control.inet }} port {{ control.port }} allow {
{% for acl in control.acls %}
{{ acl }};
{% endfor %}
} keys {
{% for name in control.tsig_keys %}
"{{ name }}";
{% endfor %}
};
{% endfor %}
};
{% endif %}
options {
# This specifies which hosts are allowed to ask ordinary DNS questions.
@ -246,4 +263,4 @@ statistics-channels {
};
{% endfor %}
};
{% endif %}
{% endif %}