fix(statics): export statics channel for localhost by default
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
b2c61884ec
commit
6607a726b7
@ -70,6 +70,15 @@ bind9_options:
|
|||||||
|
|
||||||
transfer_format: "many-answers"
|
transfer_format: "many-answers"
|
||||||
|
|
||||||
|
bind9_statics:
|
||||||
|
enabled: true
|
||||||
|
channels:
|
||||||
|
- inet: "127.0.0.1"
|
||||||
|
port: "8053"
|
||||||
|
acls:
|
||||||
|
- "localhost"
|
||||||
|
|
||||||
|
|
||||||
bind9_tsigkeys: []
|
bind9_tsigkeys: []
|
||||||
# - name: "name"
|
# - name: "name"
|
||||||
# algorithm: "algorithm"
|
# algorithm: "algorithm"
|
||||||
|
@ -235,3 +235,15 @@ options {
|
|||||||
|
|
||||||
zone-statistics yes;
|
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 %}
|
Loading…
Reference in New Issue
Block a user