Check domain availability using whois + DNS cross-verification. Single source of truth for all domain availability queries.
Run the Python script (no system dependencies — no whois/ dig CLI needed):
bash
python3 scripts/check_domains.py example.com myproject.io brand.ai
Or pipe a list:
bash
echo "foo.com bar.ai baz.io" | python3 scripts/check_domains.py
Legacy bash script (requires whois + dig CLI):
bash
bash scripts/check_domains.sh example.com myproject.io brand.ai
Each domain gets one of three verdicts:
SymbolMeaningConfidence✅ AVAILABLEwhois says "not found" AND no DNS NS recordsHigh❌ TAKENwhois shows Creation Date OR DNS records existHigh⚠️ LIKELY TAKENConflicting signals (whois unclear but DNS exists)Medium❓ UNKNOWNwhois returned no data — verify manuallyLow
Three independent signals are cross-verified:
A domain is only marked AVAILABLE when whois explicitly says "not found" AND no DNS records exist. This eliminates false positives from unreliable whois web interfaces.
whois CLI directly.socket for whois (port 43) and DNS resolution.whois and dig CLI tools (pre-installed on most Linux/macOS systems).When helping users brainstorm project names with domain checks, use this workflow:
Example:
bash
python3 scripts/check_domains.py myapp.com myapp.ai myapp.io coolname.com coolname.ai