dnstap(8)
πΈ dnstap(8) πΈ β System Manager's Manual, bestie
okay so this is the manual page for dnstap, and the vibe check is: capture, display, and relay Dnstap data. no cap. π
β¨ NAME β¨
dnstap β capture, display, and relay Dnstap data. periodt. π
β¨ SYNOPSIS β¨
dnstap [ -u socket-path [ -u socket2-path ... ] ]
[ -l host:port [ -l host2:port2 ... ] ]
[ -r file [ -r file2 ... ] ]
[ -U socket-path [ -U socket2-path ... ] ]
[ -T host:port [ -T host2:port2 ... ] ]
[ -w file ] [ -q | -y | -j ] [-a]
[ -t timeout ]
β¨ DESCRIPTION β¨
So dnstap reads data in the Dnstap export format from Frame Streams files, or it receives data on Frame Streams connections to TCP/IP or unix domain socket addresses. Then it can display that data in compact text (the default), JSON, or YAML formats. It can also save data to a file in display or Frame Streams binary format, or relay the data to other Dnstap processes over unix domain socket or TCP/IP connections. it's giving versatile icon. π¦
β¨ OPTIONS β¨
okay bestie, every flag is here β no skips, no βIβll read it laterβ energy. π«Ά
-aβ when youβre opening a file with-wfor text format output (-j,-q, or-y), this appends to the file instead of truncating it. But heads up:-adoes not apply when writing binary Frame Streams data to a file. π-jβ writes data in JSON format. Encapsulated DNS messages get rendered in text form similar to the output ofdig(1). At most one text format (-j,-q, or-y) option may be given β pick one, bestie. β¨-l host:portβ listen for Dnstap data on TCP/IP port port on address host. You can give-lmultiple times to listen on multiple addresses. At least one input (-l,-r, or-u) option must be given. π-qβ write or display data in compact (quiet) text format. At most one text format (-j,-q, or-y) option may be given β one format only, no cap. π-r fileβ read Dnstap data from the given file. The-roption may be given multiple times to read from multiple files. At least one input (-l,-r, or-u) option must be given. π-T host:portβ relay Dnstap data over a TCP/IP connection tohost:port.dnstapwill establish or re-establish this connection as needed. The-Toption may be given multiple times to relay Dnstap data to multiple addresses. π₯-t timeoutβ applyi/o timeoutto TCP/IP and unix domain socket connections. timeout is given as a number followed by a unit abbreviation (e.g.,msfor milliseconds,sfor seconds,mfor minutes). β³-u socket-pathβ listen for Dnstap data on the unix domain socket at socket-path.dnstapwill remove any file or socket at that socket-path before listening. The-uoption may be given multiple times to listen on multiple socket paths. At least one input (-l,-r, or-u) option must be given. π§-U socket-pathβ relay Dnstap data over a unix domain socket connection to socket-path.dnstapwill establish or re-establish this connection as needed. The-Uoption may be given multiple times to relay Dnstap data to multiple socket paths. π-w fileβ write Dnstap data to file. If file is"-"or no-w,-T, or-Uoutput options are present, data will be written to standard output in quiet text format (-q), unless the YAML or JSON format is specified with the-yor-joptions, respectively. If file is a filename other than"-", Dnstap data is written to the named file in Frame Streams binary format by default, unless quiet text, JSON, or YAML formats are specified.dnstapwill reopen file onSIGHUP, for file rotation purposes. π-yβ write Dnstap output in YAML format. Encapsulated DNS messages are rendered in text form similar to the output ofdig(1). At most one text format (-j,-q, or-y) option may be given β one format only, bestie. πΈ
β¨ EXAMPLES β¨
π Example 1: local name server, quiet text on stdout π
Listen for Dnstap data from a local name server and print quiet text format to standard output.
dnstap -u /var/named/dnstap.sock
π¦ Example 2: local listen, binary save, TCP relay π¦
Listen for Dnstap data from a local name server, save a local binary copy, and relay it to a remote host over TCP.
dnstap -u /usr/local/unbound/dnstap.sock -w dnstap.fstrm \
-T dns-admin.example.com:5353
β¨ SEE ALSO β¨
dig(1) β thatβs the one. iykyk. π
Footer sign-off, bestie: dnstap(8) from the System Manager's Manual β thatβs the source vibe, and no separate date or version is printed in this copy, so Iβm not inventing one. π
π¦ where this page comes from
- nixos 26.05: dnstap 0.4.0
- nixpkgs unstable: dnstap 0.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms