finds.dev

jvns/dnspeep

spy on the DNS queries your computer is making

View on GitHub

★ 1,382RustMITupdated Aug 2024

// the take

dnspeep is a small Rust CLI that sniffs DNS queries off the wire with libpcap and prints each query lined up with its response, CNAME chains included. It's for developers debugging what a machine is actually resolving — telemetry endpoints, CDN redirects, background phone-home traffic — without wiring up a full tcpdump/wireshark workflow.

Pairs request and response on a single readable line instead of making you correlate raw packet dumps by hand, and explicitly flags queries that never got a response within a second rather than just going silent on them. The whole implementation is one src/main.rs, so you can read the entire thing in a few minutes and know exactly what it does. Ships as a single binary with prebuilt releases plus an AUR package, so install is trivial on the platforms it supports.

UDP-only — no TCP DNS support, so truncated or forced-TCP responses (large CNAME chains, DNSSEC) just won't appear. Blind to DNS-over-HTTPS and DNS-over-TLS entirely, which is a real gap now that Firefox and Chrome default to DoH for a lot of users — the exact traffic you'd want to inspect. The author labels it experimental and unmaintained with known correctness bugs, last pushed August 2024, no tests in the repo. Parsing is limited to whatever record types the dns-message-parser crate covers, so unusual RR types silently fail to show.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,382
Forks
60
Language
Rust
License
MIT
Last commit
27 Aug 2024

// nearby

If dnspeep isn't quite it.

All repos →