{"_id":"@asdsadw12312dwd2112xz/dns-lookup-cli","name":"@asdsadw12312dwd2112xz/dns-lookup-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asdsadw12312dwd2112xz/dns-lookup-cli","version":"1.0.0","description":"DNS lookup tool — A/AAAA/MX/TXT/NS/CNAME/SOA/SRV with propagation & reverse","type":"module","bin":{"dns-lookup-cli":"dist/index.js"},"scripts":{"build":"tsup","dev":"tsup --watch"},"keywords":["dns","lookup","cli","network","dig","propagation"],"author":"","license":"MIT","dependencies":{"chalk":"^5.4.1","commander":"^13.1.0"},"devDependencies":{"@types/node":"^22.15.2","tsup":"^8.4.0","typescript":"^5.8.3"},"gitHead":"c5aa69d5e524627aa48af1663c9a6092511d6378","_id":"@asdsadw12312dwd2112xz/dns-lookup-cli@1.0.0","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-3e0WlmkSZmGQZEH/qcQAv5+12ovcjo2WOZPJFRQ4iOGY13Dp9M1qZohTeM0GpkV2crpkmb/F3sjuipLXo/J3Gg==","shasum":"ecbc5002c62a2f82b94f8c4c2994d25c7163ec27","tarball":"https://registry.npmjs.org/@asdsadw12312dwd2112xz/dns-lookup-cli/-/dns-lookup-cli-1.0.0.tgz","fileCount":14,"unpackedSize":31974,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEyA08qq+bVekel7gBbVl6+7qIT210wD13vovnNqMJZxAiEAyzsISltfaneIjS1dqdHdeayX92M5HCPuctoxgYTGAjM="}]},"_npmUser":{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"},"directories":{},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dns-lookup-cli_1.0.0_1775436236348_0.4904526020169653"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-06T00:43:56.241Z","1.0.0":"2026-04-06T00:43:56.614Z","modified":"2026-04-06T00:43:56.840Z"},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"description":"DNS lookup tool — A/AAAA/MX/TXT/NS/CNAME/SOA/SRV with propagation & reverse","keywords":["dns","lookup","cli","network","dig","propagation"],"license":"MIT","readme":"# dns-lookup-cli\n\nDNS lookup tool for the terminal. Supports A, AAAA, MX, TXT, NS, CNAME, SOA, SRV records with color-coded output, TTL display, reverse DNS, propagation checking, and JSON output.\n\n## Install\n\n```bash\nnpm install -g dns-lookup-cli\n```\n\nOr run without installing:\n\n```bash\nnpx dns-lookup-cli <domain>\n```\n\n## Usage\n\n```\ndns-lookup-cli [options] [domains...]\n```\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `-t, --type <type>` | Record type: `A`, `AAAA`, `MX`, `NS`, `TXT`, `CNAME`, `SOA`, `SRV`, `ALL` (default: `ALL`) |\n| `-s, --server <ip>` | Custom DNS server IP (default: system resolver) |\n| `-r, --reverse` | Reverse DNS lookup (PTR) for IP address(es) |\n| `-p, --propagation` | Check propagation across Google, Cloudflare, OpenDNS, Quad9, AdGuard |\n| `-j, --json` | Output as JSON |\n| `-V, --version` | Print version |\n| `-h, --help` | Show help |\n\n## Examples\n\n```bash\n# All common records for a domain\ndns-lookup-cli example.com\n\n# Only MX records\ndns-lookup-cli example.com --type MX\n\n# Multiple domains at once\ndns-lookup-cli example.com google.com\n\n# Use Cloudflare DNS\ndns-lookup-cli example.com --server 1.1.1.1\n\n# Reverse lookup\ndns-lookup-cli --reverse 8.8.8.8\n\n# Check propagation of A records\ndns-lookup-cli example.com --propagation\n\n# Check propagation for a specific type\ndns-lookup-cli example.com --propagation --type MX\n\n# JSON output\ndns-lookup-cli example.com --json\n\n# JSON output piped to jq\ndns-lookup-cli example.com --type A --json | jq '.results.A.records'\n```\n\n## Output\n\nRecords are color-coded by type:\n\n- **A** — green\n- **AAAA** — cyan\n- **MX** — magenta (sorted by priority)\n- **NS** — yellow\n- **TXT** — blue\n- **CNAME** — red\n- **SOA** — white\n- **SRV** — orange\n\nEach record shows TTL and query time. Propagation check compares results across 5 major public resolvers and reports matches/mismatches.\n\n## Build from source\n\n```bash\nnpm install\nnpm run build\nnode dist/index.js example.com\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-5df07de6c463ab0519480c9499d912f0"}