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

drill (ldns)

$ drill Foundation Low Risk
NLnet Labs · Browser & Web · BSD-3-Clause · macos / linux

drill 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.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install ldns
CLI vs MCP Decision CLI Only

Direct read-only DNS/DNSSEC resolver diagnostic CLI (drill -TD, drill -S); faster and more accurate than an MCP wrapper.

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 17 / 25

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 --json structured output
Trust & Safety 24 / 25

Purely read-only DNS/DNSSEC diagnostic queries with no credentials or filesystem writes.

  • Read-only DNS queries; optional -k key file read
Setup & Portability 12 / 15

Widely packaged on Unix systems (brew install ldns, apt install ldnsutils, Alpine drill), though no official Windows release.

  • Available via brew install ldns and Linux package managers
Utility & Efficiency 12 / 15

Best-in-class CLI flags for DNSSEC chain chasing (-S) and delegation tracing (-TD), though lacks DoH/DoT and JSON.

  • Built-in -S signature chasing and -TD DNSSEC trace
Maintenance & Lineage 9 / 10

Foundation-grade DNS software maintained by NLnet Labs (NLnetLabs/ldns) under BSD-3-Clause.

  • Maintained by NLnet Labs (NLnetLabs/ldns)
Docs & Verifiability 8 / 10

Clear drill(1) man page and drill -h usage output.

  • Official drill.1.html documentation and drill -h

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required; optionally reads trusted DNSSEC root key files via -k.

Side Effects
Read-Only
Cost & Quotas

Free, BSD-3-Clause open-source C utility from NLnet Labs.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Trace DNS delegation and DNSSEC from root
drill -TD example.com

Traces referral hops from root servers while verifying DNSSEC chain records (-TD).

Chase DNSSEC signatures for a domain
drill -S nlnetlabs.nl

Follows and validates the DNSSEC signature chain from the trusted key (-S).

Strengths for Agents

  • + Purpose-built -S and -TD flags make DNSSEC chain debugging far simpler than dig.
  • + 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 kdig or doggo for encrypted DNS).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI