Nothing in nsd tap capture

Dear
I’m Bac, Nguyen Huy
I’m trying DNSTap on NSD but nothing in my captured.
Please help me!

Hello,

I’ve got a similar problem and solved it by changing socket ownership.

ср, 24 июн. 2020 г. в 17:24, Bac Nguyen Huy via nsd-users <nsd-users@lists.nlnetlabs.nl>:

Thank Peter Andreev
My problem have been solved.

My nsd is running by nsd user.
So, i’ve to start fstrm_capture by nsd user.
make direcorty, then chown nsd:nsd, then:

sudo -u nsd  fstrm_capture -t protobuf:dnstap.Dnstap -u /var/run/nsd/dnstap.sock -w /var/run/nsd/log.dnstap