A blazing-fast, lightweight CLI tool built with Node.js to check domain availability in bulk from a list with zero external dependencies.
- ⚡ Multi-Stage Verification (DNS ➔ RDAP ➔ WHOIS Socket):
- Ultra-Fast DNS Pre-Check (<30ms): Uses Anycast DNS (
1.1.1.1,8.8.8.8,1.0.0.1,9.9.9.9). If active NS/SOA records exist, the domain is immediately marked asTAKEN. - Official RDAP Protocol: Direct authoritative ICANN REST API endpoints (
rdap.verisign.com,rdap.org, etc.). Status HTTP 404 =AVAILABLE. - Direct WHOIS TCP Socket (Port 43): Native socket fallback for ccTLDs (e.g.,
.id,.co.id,.uk,.sg, etc.) and IANA referrals.
- Ultra-Fast DNS Pre-Check (<30ms): Uses Anycast DNS (
- 🗑 Real-time Auto-Delete: Checked domains are automatically removed from
list_domains.txtas they finish, leaving only pending domains if interrupted. - 📜 Deduplication History (
results/checked_domains.txt): Prevents re-checking previously processed domains in future runs. - 🎯 High-Throughput Concurrency & Streaming I/O: Multi-worker queue (
--concurrencyor--fast) with non-blocking disk sync. - 📊 Automatic Multi-Format Output:
results/available_domains.txt: Clean list of all available domains ready to register.results/results.csv: Full audit logs with method, status details, and timestamps.results/checked_domains.txt: Complete history index of scanned domains.results/results.json: Optional JSON report (--json).
- 🎨 Colorized Terminal UI: Clear badges (
✔ AVAILABLE,✖ TAKEN,⚠ ERROR,⏩ SKIPPED) and real-time processing throughput stats (⚡ 30+ domains/sec).
domain-checker/
├── src/
│ ├── checker.js # Multi-stage DNS, RDAP, and WHOIS engine
│ ├── whois-servers.js # TLD mappings and regex patterns
│ └── utils.js # Streaming StateManager, parser, and worker queue
├── results/ # 📂 Output and state history directory
│ ├── available_domains.txt # Available domains ready for registration
│ ├── checked_domains.txt # History of checked domains (prevents duplicate checks)
│ ├── results.csv # Complete audit report in CSV format
│ └── results.json # (Optional) Full JSON report
├── list_domains.txt # 📄 Input file (paste domain list here)
├── index.js # Main CLI entry point
├── package.json
└── README.md
Paste your domain list into list_domains.txt (one domain per line), then run:
node index.jsor via npm:
npm startAs each domain is checked, the script automatically:
- Removes it from
list_domains.txt - Appends it to
results/checked_domains.txt - Saves it to
results/results.csv(andresults/available_domains.txtif available)
node index.js --fastnode index.js google.com mybrandnewdomain123.com example.idTo bypass the history file and re-check all domains:
node index.js -F| Option | Shorthand | Description | Default |
|---|---|---|---|
--file <path> |
-f <path> |
Custom input domains file | list_domains.txt |
--fast |
- | Turbo Mode (concurrency 50, delay 0) | false |
--concurrency <n> |
-c <n> |
Number of concurrent workers | 20 |
--delay <ms> |
-d <ms> |
Delay between requests in milliseconds | 0 |
--output <path> |
-o <path> |
Output CSV report file | results/results.csv |
--history <path> |
-H <path> |
History file path | results/checked_domains.txt |
--available <path> |
-A <path> |
Available domains output file | results/available_domains.txt |
--force |
-F |
Force re-check even if domain is in history | false |
--no-delete |
- | Do not delete checked domains from input file | false |
--available-only |
-a |
Display only AVAILABLE domains on console |
false |
--json |
- | Export results to results/results.json |
false |
--help |
-h |
Show help message | - |
MIT License. Free for personal and commercial use.