Skip to content

v0.2.0 — WHOIS registry lookup + SOA/CAA DNS records

Choose a tag to compare

@TYEclipse TYEclipse released this 25 Aug 21:47
· 4 commits to main since this release

v0.2.0 (2026-08-26)

New tool: whois — WHOIS registry lookup over the classic TCP port 43 protocol:

  • Automatic registry discovery via the whois.iana.org referral chain
  • Best-effort TLD→registry fallback map (com/net/org/io/ai/co/me/xyz/app/dev/cn/uk/us/ca/…) for when IANA discovery is unreachable or returns no referral
  • ARIN as the default registry for IP literals
  • Raw WHOIS text (capped) plus a structured summary: registrar, statuses, created/updated/expiry dates, nameservers
  • Graceful error results (never throws on network failure)

Extended dns_lookup — now supports SOA and CAA record types (10 total).

Other

  • New config option whoisTimeoutMs (default 5000)
  • 68 offline tests (was 50); TLS daysRemaining assertion is now clock-independent
  • Still zero runtime dependencies — Node.js built-ins only

安装 / Install:

dsh plugin --profile web add github:TYEclipse/dsh-netdoctor
dsh plugin --profile web add github:TYEclipse/dsh-netdoctor#v0.2.0

中文摘要

v0.2.0 新增 whois 工具(经典 TCP 43 WHOIS 查询:IANA 引用链自动发现注册局 + 常见 TLD 兜底表 + IP 走 ARIN;返回原始文本 + 结构化摘要:注册商/状态/创建·更新·到期/NS),并给 dns_lookup 增加 SOA / CAA 记录类型(共 10 种)。新增 whoisTimeoutMs 配置;68 个离线测试;依旧零运行时依赖。\n