Hello, I've got a similar problem and solved it by changing socket ownership.
ср, 24 июн. 2020 г. в 17:24, Bac Nguyen Huy via nsd-users < [email protected]>: > Dear > I'm Bac, Nguyen Huy > I'm trying DNSTap on NSD but nothing in my captured. > Please help me! > > ########################### > I've > - installed nsd enable-dnstap, NSD version 4.2.4 on centos 7 > - edit nsd.conf to enable dnstap > > > > > > > > > > > > *# DNSTAP config section, if compiled with thatdnstap: # set this to yes > and set one or more of dnstap-log-..-messages to yes. dnstap-enable: yes > dnstap-socket-path: "/var/run/dnstap.sock" dnstap-send-identity: yes > dnstap-send-version: yes dnstap-identity: "" dnstap-version: "" > dnstap-log-auth-query-messages: yes dnstap-log-auth-response-messages: yes* > > > - Install fstrm_capture > - Install dnstap-read > > Then > *- fstrm_capture -t protobuf:dnstap.Dnstap -u /var/run/dnstap.sock -w > /var/run/dnstap.logfile* > - start nsd: /usr/local/sbin/nsd -c /etc/nsd/nsd.conf > - dig @ my nsd server to test. > - ctrl c to stop fstrm_capture > But: Nothing in my captured > > > > > > *[root@nsd02slave run]# fstrm_capture -t protobuf:dnstap.Dnstap -u > /var/run/dnstap.sock -w /var/run/dnstap.logfilefstrm_capture: listening on > socket path /var/run/dnstap.sockfstrm_capture: opened output file > /var/run/dnstap.logfile^Cfstrm_capture: shutting downfstrm_capture: closed > output file /var/run/dnstap.logfile (wrote 2 frames, 54 bytes)* > > Nothing in my file > > > *[root@nsd02slave ~]# dnstap-read -p /var/run/dnstap.logfile > [root@nsd02slave ~]# * > > > > > > > *[root@nsd02slave ~]# ls -l /var/run/..........-rw-r--r--. 1 root > root 54 Jun 24 21:04 dnstap.logfilesrwxr-xr-x. 1 root > root 0 Jun 24 20:46 dnstap.sock[root@nsd02slave ~]# nsd > -vNSD version 4.2.4* > > ############################## > > > -- > _____________________________________ > Mr Nguyen Huy Bac > Đài DNS (VNNIC) > Tel: 04.35564944 > Email: [email protected] > Số TK: 13320037822012 > Ngân hàng: Techcombank Chi nhánh Đông Đô – Hà Nội. > _______________________________________________ > nsd-users mailing list > [email protected] > https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users > -- Is there any problem Exterminatus cannot solve? I have not found one yet.
_______________________________________________ nsd-users mailing list [email protected] https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users
