queryparse(1)
π¦ queryparse β bestie edition π¦
okay so you found queryparse(1), the General Commands Manual page, section 1, and I am SO glad you're here. pull up a chair. π
β¨ NAME β¨
queryparse β extract DNS queries from pcap capture files. that's it. that's the whole job. and she does it flawlessly. π
β¨ SYNOPSIS β¨
queryparse [-i input file ] [-o output file ] [-r recursion only ] [-R
parse responses ]
yes bestie, those brackets are optional-optional. mix and match. live your truth. π
β¨ DESCRIPTION β¨
so queryparse is this tool designed to extract DNS queries from pcap-formatted packet capture files and save them in a form suitable for input to Nominum's dnsperf or resperf benchmarking tools. it's giving pipeline princess. it's giving "I make your benchmark data and I don't complain about it." π
now, important tea β β queryparse will only examine UDP packets. no TCP, no nothing. and currently it supports Ethernet and Cisco HDLC frame types. that's the whole roster. no cap.
β¨ OPTIONS β¨
-ifilename β attempt to extract DNS queries from filename, which should be a pcap-formatted packet capture session (e.g., a file created bytcpdumporethereal). basically "here's my little capture file, go off." π«Ά-ofilename β write queries to filename in a format suitable for input to Nominum'sdnsperforresperfbenchmarking tools. this is the glow-up step. raw packets in, benchmark-ready queries out. β¨-rβ keep queries that do not have the RD (recursion desired) flag set. this is useful when parsing packet captures from authoritative nameservers. when parsing captures from caching nameservers, do not use it unless you also want to parse the outgoing queries from the nameserver. defaults to discarding queries withRD=0. lowkey the most opinionated flag here and honestly? respect. π-Rβ parse responses (QR=1) instead of queries (QR=0). plot twist! we're flipping the script and looking at the replies instead. π
β¨ FILES β¨
None. literally none. she doesn't touch a single config file. she's low maintenance. πΈ
β¨ ENVIRONMENT β¨
None. no environment variables, no sneaky secrets, no $QUERYPARSE_VIBES. nothing to memorize. π
β¨ DIAGNOSTICS β¨
None. no diagnostics listed here, bestie. (yes I know, I wanted more too. π)
β¨ BUGS β¨
None. listed, anyway. zero bugs on the record. main character energy fr fr. π
β¨ AUTHOR β¨
Nominum, Inc. β the icon, the legend, the moment. π«‘
β¨ SEE ALSO β¨
go read those next, iykyk. π
and that's the whole page, babe. this was queryparse(1) from the General Commands Manual β no version string and no date printed on the footer, just the humble little queryparse(1) tag waving goodbye at the bottom. π π¦ go extract some queries and slay. periodt. π
π¦ where this page comes from
- fedora 43: dnsperf-queryparse 2.15.0-1.fc43 Β· Apache-2.0
- fedora 44: dnsperf-queryparse 2.15.0-2.fc44 Β· Apache-2.0
- Copyright 2019-2026 OARC, Inc
- Copyright 2017-2018 Akamai Technologies
- Copyright 2006-2016 Nominum, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms