fix(statics): export statics channel for localhost by default
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2023-02-19 12:19:41 +01:00
parent b2c61884ec
commit 6607a726b7
2 changed files with 22 additions and 1 deletions

View File

@ -234,4 +234,16 @@ options {
version none;
zone-statistics yes;
};
};
{% if bind9_statics.enabled is defined and bind9_statics.enabled is true %}
statistics-channels {
{% for channel in bind9_statics.channels %}
inet {{ channel.inet }} port {{ channel.port }} allow {
{% for acl in channel.acls %}
{{ acl }};
{% endfor %}
};
{% endfor %}
};
{% endif %}