Sweep through millions of domains - Mass domain accessibility checker using a funnel approach.
This tool is provided for educational and authorized security research purposes only.
- The author is not responsible for any misuse of this software
- Users are solely responsible for ensuring compliance with applicable laws
- Only scan domains you own or have explicit permission to test
- Unauthorized scanning may violate computer crime laws in your jurisdiction
By using this software, you agree to use it responsibly and legally.
This tool checks domain accessibility through a 3-stage pipeline:
- DNS Check - Filter dead domains (no MX/A records)
- HTTP Probe - Check web accessibility, detect Cloudflare
- Cloudflare Bypass - Handle protected sites with TLS fingerprint impersonation
# 1. Install dependencies
make install
# 2. Test installation
make test
# 3. Add your domains
cp your_domains.txt input/domains.txt
# 4. Run the pipeline
make run-all- Go 1.21+ - For DNS/HTTP tools
- Python 3.11+ - For scripting
- Linux/macOS - Primary support
# Clone the repo
git clone https://github.com/bKNNNNN/DomainSweep
cd DomainSweep
# Install everything
make install
# Or install separately
make install-go-tools # dnsx, httpx, httprobe, zdns
make install-python # Python packagesmake run-all# Stage 1: DNS Check
make run-dns
# Stage 2: HTTP Probe
make run-http
# Stage 3: Cloudflare Bypass
make run-bypassEdit config.yaml to customize:
- Thread counts
- Timeouts
- Retry settings
- Output formats
| Scale | Recommendation |
|---|---|
| < 10k | Local connection OK |
| 10k-500k | Spread over hours |
| 500k+ | Use a VPS |
Recommended: Hetzner CX22 (~4€/month)
Do NOT use a VPN - They throttle DNS/UDP traffic.
output/
├── 01_dns_results/
│ ├── domains_with_mx.txt
│ ├── domains_with_a.txt
│ └── dns_errors.txt
├── 02_http_results/
│ ├── http_alive.json
│ ├── cloudflare_detected.txt
│ └── http_errors.txt
├── 03_bypass_results/
│ ├── bypass_success.json
│ └── bypass_failed.txt
└── final/
├── accessible_domains.csv
└── full_report.json
| Stage | Tool | Speed | Time for 6M |
|---|---|---|---|
| DNS | dnsx | ~50k/min | ~2h |
| HTTP | httpx | ~30k/min | ~3-4h |
| Bypass | curl_cffi | ~5k/min | ~2-3h* |
*Only for Cloudflare-detected subset
| Issue | Cause | Solution |
|---|---|---|
| Very slow DNS resolution | Bad resolvers | Use input/resolvers.txt with verified fast resolvers |
| Many SERVFAIL errors | Resolver overload | Reduce dns_threads in config.yaml |
| Connection refused | Firewall blocking port 53 | Check firewall rules, try different network |
| Issue | Cause | Solution |
|---|---|---|
| Too many timeouts | Threads too high | Reduce http_threads to 100 |
| SSL certificate errors | Self-signed certs | Normal - domains are logged separately |
| Memory usage high | Large result files | Reduce chunk_size in config.yaml |
| Issue | Cause | Solution |
|---|---|---|
| "command not found" | Tools not installed | Run make install |
| Permission denied | Missing execute permission | Run chmod +x scripts/*.py |
| Process killed | Out of memory | Use a VPS with more RAM or reduce threads |
| Category | Primary | Fallbacks |
|---|---|---|
| DNS | dnsx | massdns, zdns |
| HTTP | httpx | httprobe |
| Bypass | curl_cffi | FlareSolverr, cloudscraper |
MIT - See LICENSE for details.