Closed KVInventoR closed 3 years ago
I will check what happening, in the meantime, copy a complete config file located here /root/miniconda3/lib/python3.8/site-packages/dnstap_receiver/dnstap.conf to /etc/dnstap-receiver/dnstap.conf
issue fixed in release 2.0.2
/etc/dnstap-receiver/dnstap.conf
output: stdout:
enable or disable
Issue: root@dns-balance:~# ./miniconda3/bin/dnstap_receiver -l 127.0.0.1 -p 8000 -v -c /etc/dnstap-receiver/dnstap.conf 2020-11-11 11:53:17,798 Start receiver... 2020-11-11 11:53:17,798 Using selector: EpollSelector Traceback (most recent call last): File "./miniconda3/bin/dnstap_receiver", line 8, in
sys.exit(start_receiver())
File "/root/miniconda3/lib/python3.8/site-packages/dnstap_receiver/receiver.py", line 302, in start_receiver
if cfg["output"]["syslog"]["enable"]:
KeyError: 'syslog'
it's mistake to check dict which doesn't have a key: syslog