DNSPKTFLOW(1)
π NAME π β DNSPKTFLOW(1) bestie manual π
okay so welcome to the DNSPKTFLOW(1) page from User Contributed Perl Documentation! The command is dnspktflow β analyze and draw DNS flow diagrams from a tcpdump file. Periodt. π
β¨ SYNOPSIS β¨
dnspktflow -o output.png file.tcpdump
dnspktflow -o output.png -x -a -t -q file.tcpdump
π¦ DESCRIPTION π¦
okay so hereβs the tea: the dnspktflow app takes a tcpdump network traffic dump file, runs it through the tshark app, and then shows the resulting DNS packet flows in a βflow-diagramβ image. Iconic behavior, honestly. π
dnspktflow can output a single image or a series of images which can then be shown in sequence as an animation. Little slideshow moment. π¬β¨
dnspktflow was written as a debugging utility to help trace DNS queries and responses, especially as they apply to DNSSEC-enabled lookups. Main character debugging energy fr fr. π
π REQUIREMENTS π
This application requires the following Perl modules and software components to work:
graphvizβhttp://www.graphviz.org/GraphVizβ Perl moduletsharkβhttp://www.wireshark.org/
The following is required for outputting screen presentations:
MagicPointβhttp://member.wide.ad.jp/wg/mgp/
If the following modules are installed, a GUI interface will be enabled for communication with dnspktflow:
QWizardβ Perl moduleGetopt::GUI::Longβ Perl module
π OPTIONS π
dnspktflow takes a wide variety of command-line options. These options are described below in the following functional groups: input packet selection, output file options, output visualization options, graphical options, and debugging. Basically a whole closet, bestie. π«Ά
π₯ Input Packet Selection π₯
These options determine the packets that will be selected by dnspktflow.
-i STRING,--ignore-hosts=STRINGβ a regular expression of host names to ignore in the query/response fields.-r STRING,--only-hosts=STRINGβ a regular expression of host names to analyze in the query/response fields.-f,--show-frame-numβ display the packet frame numbers. π’-b INTEGER,--begin-frame=INTEGERβ begin at packet frameNUMBER.
π Output File Options π
These options determine the type and location of dnspktflowβs output.
-o STRING,--output-file=STRINGβ output file name (default:out%03d.pngas PNG format.)--figβ output format should befig.-O STRING,--tshark-out=STRINGβ savetsharkoutput to this file.-m,--multiple-outputsβ one picture per request (use%03din the filename.)-M STRING,--magic-point=STRINGβ saves a MagicPoint presentation for the output.
π Output Visualization Options: π
These options determine specifics of dnspktflowβs output.
--layout-styleβ selects the graphviz layout style to use (dot,neato,twopi,circo, orfdp).-L,--last-line-labels-onlyβ only show data on the last line drawn.-z INTEGER,--most-lines=INTEGERβ only show at mostINTEGERconnections.-T,--input-is-tshark-outβ the input file is already processed bytshark.
π¨ Graphical Options: π¨
These options determine fields included in dnspktflowβs output.
-t,--show-typeβ shows message type in result image.-q,--show-queriesβ shows query questions in result image.-a,--show-answersβ shows query answers in result image.-A,--show-authoritativeβ shows authoritative information in result image.-x,--show-additionalβ shows additional information in result image.-l,--show-label-linesβ shows lines attaching labels to lines.--fontsize=INTEGERβ Font Size.
π Debugging: π
These options may assist in debugging dnspktflow.
-d,--dump-pktsβ dump data collected from the packets.-h,--helpβ show help for command line options.
π COPYRIGHT π
Copyright 2004-2013 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
π«Ά AUTHOR π«Ά
Wes Hardaker <hardaker@users.sourceforge.net>
π₯ SEE ALSO π₯
okay bestie, thatβs the whole page β brought to you by perl v5.44.0, dated 2026-10-17, signed off with maximum sparkle. mwah πβ¨
π¦ where this page comes from
- arch rolling: dnssec-tools 2.2.3-16 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms