drill (ldns)
$ drill Foundation Low Riskdrill is NLnet Labs' lightweight replacement for dig built on ldns, excelling at DNSSEC signature verification (drill -S) and root-to-authoritative trace debugging (drill -TD example.com). Strictly read-only and non-interactive with clean text output, though it lacks native JSON formatting.
brew install ldns Direct read-only DNS/DNSSEC resolver diagnostic CLI (drill -TD, drill -S); faster and more accurate than an MCP wrapper.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Strictly non-interactive with zero ANSI color escapes and deterministic exit codes, but emits BIND-style text rather than JSON.
- Clean plain-text stdout without color codes
- No
--jsonstructured output
Purely read-only DNS/DNSSEC diagnostic queries with no credentials or filesystem writes.
- Read-only DNS queries; optional
-kkey file read
Widely packaged on Unix systems (brew install ldns, apt install ldnsutils, Alpine drill), though no official Windows release.
- Available via
brew install ldnsand Linux package managers
Best-in-class CLI flags for DNSSEC chain chasing (-S) and delegation tracing (-TD), though lacks DoH/DoT and JSON.
- Built-in
-Ssignature chasing and-TDDNSSEC trace
Foundation-grade DNS software maintained by NLnet Labs (NLnetLabs/ldns) under BSD-3-Clause.
- Maintained by NLnet Labs (
NLnetLabs/ldns)
Clear drill(1) man page and drill -h usage output.
- Official
drill.1.htmldocumentation anddrill -h
Security, Auth & Guardrails
No credentials required; optionally reads trusted DNSSEC root key files via -k.
Free, BSD-3-Clause open-source C utility from NLnet Labs.
# drill (ldns) Agent Rules - Prefer `doggo --json` or `dnsx -j` when structured JSON records are needed; use `drill -TD` or `drill -S` specifically for DNSSEC chain tracing. - Specify an explicit resolver (`@1.1.1.1`) when bypassing local stub resolvers.
Agent-Ready Command Recipes
Safe Read-Only Queries
drill -TD example.com
Traces referral hops from root servers while verifying DNSSEC chain records (-TD).
drill -S nlnetlabs.nl
Follows and validates the DNSSEC signature chain from the trusted key (-S).
Strengths for Agents
- + Purpose-built
-Sand-TDflags make DNSSEC chain debugging far simpler thandig. - + Purely read-only, fast, and free of ANSI escape sequences.
Caveats & Pitfalls
- ! Emits BIND-style text blocks instead of JSON, requiring text parsing.
- ! Does not support modern DoH/DoT transports (use
kdigordoggofor encrypted DNS).