Hello:
I've compiled knot 2.2.1 and configured with the --enable-dnstap flag but continue to get errors when starting knot and configuring it to use dnstap to write to a file see below:
* * * * * * * * * * * * * * * * * * * * * * * *
./configure:
knot 2.2.1
Target: linux-gnu x86_64
Compiler: gcc -std=gnu99
CFLAGS: -g -O2 -Wall -Werror=format-security -Werror=implicit -fpredictive-commoning
LIBS: -lcap-ng -ldl -lpthread -lm
LibURCU: -lurcu
GnuTLS: -lgnutls -lnettle -I/usr/include/p11-kit-1
Jansson: -ljansson
Libedit: -ledit -I/usr/include/editline
LMDB: embedded
Sanitizer:
LibFuzzer: no
Prefix: /usr/local
Run dir: ${prefix}/var/run/knot
Storage dir: ${prefix}/var/lib/knot
Config dir: ${prefix}/etc/knot
Configuration DB mapsize: 500 MiB
Timers DB mapsize: 100 MiB
Knot DNS libraries: yes
Knot DNS daemon: yes
Knot DNS utils: yes
Knot DNS documentation: yes
Use SO_REUSEPORT: yes
Fast zone parser: no
Utilities with IDN: no
Systemd integration: no
Dnstap support: yes
Code coverage: no
Bash completions: no
PKCS 11 support: no
Continue with 'make' command
* * * * * * * * * * * * * * * * * * * * * * * *
/etc/knot.conf
server:
listen: 100.88.99.132
nsid: knot-2.2.1-dnsproxy-0.1.0
log:
- target: syslog
any: info
remote:
- id: authcore
address: 127.0.0.1@53535
mod-dnsproxy:
- id: sdt
remote: authcore
template:
- id: default
global-module: mod-dnsproxy/sdt
mod-dnstap:
- id: capture_all
sink: /tmp/dnstap.tap
template:
- id: default
global-module: mod-dnstap/capture_all
* * * * * * * * * * * * * * * * * * * * * * * *
knotc -c /etc/knot.conf reload
error: config, file '/etc/knot.conf', line 21, item 'mod-dnstap', value '' (invalid item)
error: failed to load configuration file '/etc/knot.conf' (invalid item)
* * * * * * * * * * * * * * * * * * * * * * * *
What am I missing?