<div dir="ltr">Dear<br>I'm Bac, Nguyen Huy<br>I'm trying DNSTap on NSD but nothing in my captured.<br>Please help me!<br><br>###########################<br>I've <br>- installed nsd enable-dnstap, NSD version 4.2.4 on centos 7<br>- edit nsd.conf to enable dnstap<br><i><br># DNSTAP config section, if compiled with that<br>dnstap:<br> # set this to yes and set one or more of dnstap-log-..-messages to yes.<br>        dnstap-enable: yes<br>    dnstap-socket-path: "/var/run/dnstap.sock"<br>  dnstap-send-identity: yes<br>     dnstap-send-version: yes<br>      dnstap-identity: ""<br>         dnstap-version: ""<br>  dnstap-log-auth-query-messages: yes<br>   dnstap-log-auth-response-messages: yes</i><br><br><br>- Install fstrm_capture<br>- Install dnstap-read<br><br>Then<br><i>- fstrm_capture -t protobuf:dnstap.Dnstap -u /var/run/dnstap.sock -w /var/run/dnstap.logfile</i><br>- start nsd: /usr/local/sbin/nsd -c /etc/nsd/nsd.conf <br>- dig @ my nsd server to test.<br>- ctrl c to stop fstrm_capture<br>But: Nothing in my captured<br><br><i>[root@nsd02slave run]# fstrm_capture -t protobuf:dnstap.Dnstap -u /var/run/dnstap.sock -w /var/run/dnstap.logfile<br>fstrm_capture: listening on socket path /var/run/dnstap.sock<br>fstrm_capture: opened output file /var/run/dnstap.logfile<br>^Cfstrm_capture: shutting down<br>fstrm_capture: closed output file /var/run/dnstap.logfile (wrote 2 frames, 54 bytes)</i><br><br>Nothing in my file<br><i>[root@nsd02slave ~]# dnstap-read -p /var/run/dnstap.logfile <br>[root@nsd02slave ~]# <br></i><br><i>[root@nsd02slave ~]# ls -l /var/run/<br>..........<br>-rw-r--r--.  1 root           root             54 Jun 24 21:04 dnstap.logfile<br>srwxr-xr-x.  1 root           root              0 Jun 24 20:46 dnstap.sock<br><br>[root@nsd02slave ~]# nsd -v<br>NSD version 4.2.4</i><br><br>##############################<br><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">_____________________________________<br>Mr Nguyen Huy Bac<br>Đài DNS (VNNIC)<br>Tel: 04.35564944<br>Email: <a href="mailto:huybac.nguyen@gmail.com" target="_blank">huybac.nguyen@gmail.com</a><br>Số TK: 13320037822012<br>Ngân hàng: Techcombank Chi nhánh Đông Đô – Hà Nội.</div></div>