Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

dnsx

$ dnsx Official Low Risk
ProjectDiscovery · Browser & Web · MIT · macos / linux / windows

ProjectDiscovery's dnsx performs fast concurrent DNS resolution, record querying (-a, -aaaa, -cname, -mx, -txt, -ptr), and wildcard filtering across single domains or stdin lists. Designed for pipelines and agents with -j/-json NDJSON output, -silent, -nc (-no-color), and -rl rate limiting.

FCRS-1.0 Score
91 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install dnsx
CLI vs MCP Decision CLI Only

Streams high-speed concurrent DNS record lookups as NDJSON (dnsx -j -silent); direct CLI piping into jq outperforms any MCP tool.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 24 / 25

First-class -j/-json NDJSON output, -silent banner suppression, -nc no-color flag, stdin streaming, and clean non-interactive execution.

  • Native -j / -json structured NDJSON output
  • -silent and -nc flags keep stdout clean for pipelines
Trust & Safety 21 / 25

Read-only DNS queries with built-in -rl rate limits, though high default concurrency (-t 100) or -w brute-forcing requires scoping.

  • Read-only DNS resolution; supports -rl rate limiting
Setup & Portability 14 / 15

Single static Go binary available via brew install dnsx, go install, Docker, and GitHub Releases.

  • Single Go binary across macOS, Linux, Windows
Utility & Efficiency 14 / 15

Queries all common record types, supports custom resolvers (-r), wildcard detection, and batch resolution in one tool.

  • Concurrent batch DNS querying with -resp and record-type flags
Maintenance & Lineage 9 / 10

Official ProjectDiscovery tool (projectdiscovery/dnsx) under MIT license.

  • Actively maintained projectdiscovery/dnsx repo
Docs & Verifiability 9 / 10

Clear official documentation at docs.projectdiscovery.io and thorough dnsx -h flag reference.

  • Official ProjectDiscovery docs and dnsx -h

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required for standard DNS lookups.

Side Effects
Read-Only Local Write
Cost & Quotas

Free, MIT-licensed open-source Go binary from ProjectDiscovery.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# dnsx Agent Rules
- Always include `-j -silent` (and `-nc` if needed) so ASCII banners do not pollute JSON output.
- Set `-rl <rate>` when passing large lists or `-w` wordlists to avoid saturating local or upstream DNS resolvers.

Agent-Ready Command Recipes

Safe Read-Only Queries

Query A, AAAA, and TXT records as clean JSON
echo example.com | dnsx -a -aaaa -txt -resp -j -silent

Resolves multiple DNS record types for example.com and emits one structured JSON object (-j) without ASCII banners (-silent).

Batch-resolve a domain list with rate limiting
dnsx -l hosts.txt -a -resp -rl 50 -j -silent

Resolves domains from hosts.txt capped at 50 queries/sec (-rl 50) in NDJSON format.

Strengths for Agents

  • + -j -silent produces clean, pipeline-ready NDJSON records with full answer payloads (-resp).
  • + Supports stdin streaming, custom resolvers (-r), and rate limiting (-rl).

Caveats & Pitfalls

  • ! Prints an ASCII art banner by default unless -silent is passed.
  • ! Default high concurrency (-t 100) should be throttled with -rl on shared networks.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI