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:
Markus Pesch 2023-02-19 12:19:41 +01:00
parent b2c61884ec
commit 6607a726b7
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 22 additions and 1 deletions

View File

@ -70,6 +70,15 @@ bind9_options:
transfer_format: "many-answers"
bind9_statics:
enabled: true
channels:
- inet: "127.0.0.1"
port: "8053"
acls:
- "localhost"
bind9_tsigkeys: []
# - name: "name"
# algorithm: "algorithm"

View File

@ -235,3 +235,15 @@ options {
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 %}