statistics channel can optinally be enabled
This commit is contained in:
parent
2a3033dedb
commit
fe0a845f65
@ -7,6 +7,7 @@ class bind (
|
|||||||
$dnssec = undef,
|
$dnssec = undef,
|
||||||
$version = undef,
|
$version = undef,
|
||||||
$rndc = undef,
|
$rndc = undef,
|
||||||
|
$statistics_port = undef,
|
||||||
) {
|
) {
|
||||||
include params
|
include params
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,12 @@ include "<%= @confdir %>/acls.conf";
|
|||||||
include "<%= @confdir %>/keys.conf";
|
include "<%= @confdir %>/keys.conf";
|
||||||
include "<%= @confdir %>/views.conf";
|
include "<%= @confdir %>/views.conf";
|
||||||
|
|
||||||
|
<%- if @statistics_port -%>
|
||||||
|
statistics-channels {
|
||||||
|
inet 127.0.0.1 port <%= @statistics_port %> allow { 127.0.0.1; };
|
||||||
|
};
|
||||||
|
<%- end -%>
|
||||||
|
|
||||||
options {
|
options {
|
||||||
directory "<%= @cachedir %>";
|
directory "<%= @cachedir %>";
|
||||||
<%- if @forwarders and @forwarders != '' -%>
|
<%- if @forwarders and @forwarders != '' -%>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user