← 返回
未分类 中文

Domain Checker

Check whether domain names are available for registration. Use when a user asks to verify domain availability, find unregistered domains, brainstorm project/...
检查域名是否可注册。用户请求验证域名可用性、查找未注册域名、头脑风暴项目时使用。
blueyi blueyi 来源
未分类 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 765
下载
💾 2
安装
1
版本
#latest

概述

Domain Checker

Check domain availability using whois + DNS cross-verification. Single source of truth for all domain availability queries.

Quick Start

Run the Python script (no system dependencies — no whois/dig CLI needed):

python3 scripts/check_domains.py example.com myproject.io brand.ai

Or pipe a list:

echo "foo.com bar.ai baz.io" | python3 scripts/check_domains.py

Legacy bash script (requires whois + dig CLI):

bash scripts/check_domains.sh example.com myproject.io brand.ai

Output Format

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

How It Works

Three independent signals are cross-verified:

  1. whois Creation Date — Most authoritative. If present, domain is taken.
  2. DNS NS records — Registered domains almost always have nameservers.
  3. DNS A records — Fallback signal for parked/active domains.

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.

Important Notes

  • Rate limiting: The script waits 1 second between queries to avoid whois server throttling. For large batches (>50), consider splitting into multiple runs.
  • whois web interfaces are unreliable: Sites like whois.com often return stale/incorrect data. This script uses the whois CLI directly.
  • .ai TLD quirk: The .ai whois server sometimes returns sparse data. The script handles this by also checking DNS.
  • Premium/aftermarket domains: A domain may be "available" in whois but listed at a premium price on registrars. The script cannot detect this — check the registrar for actual purchase price.
  • Python script: No system dependencies — uses stdlib socket for whois (port 43) and DNS resolution.
  • Bash script (legacy): Requires whois and dig CLI tools (pre-installed on most Linux/macOS systems).

Batch Domain Brainstorming

When helping users brainstorm project names with domain checks, use this workflow:

  1. Generate 15-30 candidate names based on user criteria
  2. Run all candidates through the script in one batch
  3. Present only the AVAILABLE results with analysis
  4. Iterate on available candidates if needed

Example:

python3 scripts/check_domains.py myapp.com myapp.ai myapp.io coolname.com coolname.ai

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-03 03:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,450 📥 329,573
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,175 📥 946,023
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 874 📥 350,664