per zone statistics does not work with templates
Hey there, I'm using knot version 2.8.1 and tried to make a configuration via templating:
mod-stats:
- id: custom
dns-presence: on
query-type: on
template:
- id: default
storage: "/var/db/knot/"
file: "%s.zone"
module: mod-stats/custom
example zone looks like
zone:
- domain: 4.e.1.0.c.0.0.0.0.0.0.0.a.2.ip6.arpa.
module: mod-synthrecord/b38fe5a0-ab74-4b17-a3cf-06e6d256d5fb
template: default
but i just got the server statistics output...
when i put the mod-stats module without the template it works, configuration looks like this:
zone:
- domain: 4.e.1.0.c.0.0.0.0.0.0.0.a.2.ip6.arpa.
module: mod-synthrecord/b38fe5a0-ab74-4b17-a3cf-06e6d256d5fb
module: mod-stats-/custom
anny suggestions?