DNSTAP(1)

✨ NAME ✨

dnstap β€” the dnstap tool, bestie πŸ’…


🌸 SYNOPSIS 🌸

dnstap [OPTION]...

πŸ’– DESCRIPTION πŸ’–

Okay so real talk, dnstap is the little tool that reads and writes dnstap payloads, and it's giving main character energy. Here's literally every knob it has:

  • -T value β€” write dnstap payloads to tcp/ip address
  • -U value β€” write dnstap payloads to unix socket
  • -a β€” append to the given file, do not overwrite. valid only when outputting a text or YAML file.
  • -j β€” use verbose JSON output
  • -l value β€” read dnstap payloads from tcp/ip
  • -q β€” use quiet text output
  • -r value β€” read dnstap payloads from file
  • -t duration β€” I/O timeout for tcp/ip and unix domain sockets
  • -u value β€” read dnstap payloads from unix socket
  • -w string β€” write output to file
  • -y β€” use verbose YAML output
Not me reminding you that -a is only valid when you're outputting a text or YAML file, so don't come for it in JSON mode okay? 🫢

πŸ”€ Quiet text output format mnemonics πŸ”€

When you're in quiet text output mode, every payload gets a tiny two-letter glow-up, and here's the decoder ring, no cap:

  • AQ: AUTH_QUERY
  • AR: AUTH_RESPONSE
  • RQ: RESOLVER_QUERY
  • RR: RESOLVER_RESPONSE
  • CQ: CLIENT_QUERY
  • CR: CLIENT_RESPONSE
  • FQ: FORWARDER_QUERY
  • FR: FORWARDER_RESPONSE
  • SQ: STUB_QUERY
  • SR: STUB_RESPONSE
  • TQ: TOOL_QUERY
  • TR: TOOL_RESPONSE

That's the whole page, periodt. This iconic lil' manpage is from the dnstap manual β€” User Commands section, iykyk β€” and it's stamped dnstap 0.4.0, January 2024. Slay, go read some payloads πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from