dig
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Dig DNS Tool
Query DNS records, test zone transfers, and check propagation using dig.
Tool Status
- Tool installed: !
command -v dig > /dev/null 2>&1 && echo "YES -- $(dig -v 2>&1 | head -1)" || echo "NO -- Install: apt install dnsutils (Debian/Ubuntu) | brew install bind (macOS)" - Wrapper scripts available: !
test -f scripts/dig/query-dns-records.sh && echo "YES -- use wrapper scripts for structured JSON output" || echo "NO -- using standalone mode with direct commands"
Mode: Wrapper Scripts Available
If wrapper scripts are available (shown as YES above), prefer these commands. They provide structured JSON output and educational context.
DNS Records
bash scripts/dig/query-dns-records.sh <domain> -j -x-- Query A, AAAA, MX, NS, TXT, SOA, CNAME records
Zone Transfers
bash scripts/dig/attempt-zone-transfer.sh <domain> -j -x-- Attempt AXFR zone transfer against nameservers