domain-scan
v1.1.1
Published
CLI tool to check domain WHOIS, DNS, SSL and hosting info
Maintainers
Readme
domain-scan
CLI tool to check domain availability across 40+ TLDs at once — querying WHOIS and DNS directly, without going through provider search pages.
Why?
Domain providers like GoDaddy and Hostinger are known for domain front-running: when you search for a domain on their site, they may reserve it before you buy, forcing you to pay a higher price. This tool queries WHOIS/DNS servers directly, so no provider knows what you're looking for.
Features
- Checks 40+ TLDs in parallel (.com, .net, .io, .ai, .dev, .com.br, .co.uk, etc.)
- Direct WHOIS/DNS queries — no provider middleman
- WHOIS lookup (provider, expiry, creation date, owner, status)
- DNS records (A, AAAA, CNAME, NS, MX, TXT)
- SSL certificate info (issuer, expiry, SANs)
- HTTP status and server detection
- IP geolocation and hosting provider
- Markdown report generation
- Color-coded terminal output with expiry warnings
Usage
With npx (no install needed)
npx domain-scan myprojectGlobal install
npm install -g domain-scan
domain-scan myprojectFrom source
git clone https://github.com/henrique-leme/domain-scan.git
cd domain-checker
npm install
node index.js myprojectExamples
# Quick scan — availability, expiry, and owner
domain-scan myproject
# Deep scan — full WHOIS, DNS, SSL, HTTP, and hosting details
domain-scan myproject --deep
# Save a detailed Markdown report
domain-scan myproject --md
# Check only specific TLDs
domain-scan myproject --only=com
domain-scan myproject --only=com,com.br,io
# Combine flags
domain-scan myproject --deep --md
# Pass a URL — it extracts the name automatically
domain-scan https://www.google.comOptions
| Flag | Description |
|------|-------------|
| --only=<ext> | Check specific TLDs (comma-separated, e.g. --only=com,io,com.br) |
| --deep | Show full details (WHOIS, DNS, SSL, HTTP, hosting) |
| --md | Save a detailed Markdown report to ./output_domain_checker/ |
| --help | Show help message |
The tool will:
- Scan all TLDs in parallel
- Show a color-coded summary (availability, expiry date, owner)
- With
--deep: print full details for registered domains - With
--md: save a Markdown report to./output_domain_checker/
Report Output
When using --md, the generated report includes:
- Summary table with status, expiry, provider, and hosting
- List of available domains
- Detailed breakdown per registered domain (WHOIS, DNS, SSL, HTTP, hosting)
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/my-feature) - Commit your changes (
git commit -m 'Add my feature') - Push to the branch (
git push origin feature/my-feature) - Open a Pull Request
License
MIT - Henrique Leme
