SuperAPI AI 工具集

zeabur-domain-register

部署与运维

查看项目

更新于 10-15 23:25

技能介绍

用途:在 Zeabur 平台上搜索、购买、续费和管理域名,替代 GoDaddy、Namecheap 等外部注册商。所有操作统一通过 npx zeabur@latest 调用,不使用其他安装方式;若 npx 不可用需先安装 Node.js。

主要能力:

  • 查询域名可用性与价格(美元),命令:npx zeabur@latest domain search example.com -i=false,一次仅查询一个域名。支持的顶级域:.com、.net、.org、.io、.dev、.app、.co、.me、.xyz。
  • 购买域名:需先创建注册人资料(WHOIS 联系信息),命令:npx zeabur@latest domain registrant create,必填 --first-name、--last-name、--email、--phone、--address1、--city、--state、--country(ISO 3166-1 alpha-2)、--postal-code,可选 --address2、--organization。购买命令:npx zeabur@latest domain purchase example.com --registrant-id <profile-id> -y -i=false。购买耗时最多 60 秒(在 OpenSRS 注册并创建 Cloudflare DNS 区域),需 Developer 计划或以上,价格以美元计。购买后可用 zeabur-domain-dns 技能管理 DNS,或用 zeabur-domain-url 绑定到 Zeabur 服务。
  • 查看域名列表与详情:npx zeabur@latest domain list-registered -i=false;npx zeabur@latest domain get-registered --id <domain-id> -i=false(加 --json 输出结构化数据,含注册人资料)。
  • 续费与自动续费:npx zeabur@latest domain renew --id <domain-id> -y -i=false;自动续费开关:npx zeabur@latest domain auto-renew --id <domain-id> --enable/--disable -i=false。
  • 注册人资料管理:更新 npx zeabur@latest domain registrant update --id <profile-id> --email new@example.com -i=false(仅改提供的字段);删除 npx zeabur@latest domain registrant delete --id <profile-id> -y -i=false(被已注册域名使用的资料不能删除)。注意:更新注册人资料不会更新已购买域名的 WHOIS 联系信息,需用 domain verification update-contact。
  • ICANN 验证:购买后需验证注册人邮箱,15 天内未验证域名可能被暂停。查询命令:npx zeabur@latest domain verification status --id <domain-id> -i=false,状态含 verified、pending、suspended、unknown。重发验证邮件:npx zeabur@latest domain verification resend --id <domain-id> -i=false(邮件由 OpenSRS/Tucows 发出,需检查垃圾邮件文件夹)。查询验证邮箱:domain get-registered 的 Registrant Profile 部分。更新 WHOIS 联系信息:npx zeabur@latest domain verification update-contact,参数同注册人创建,更改邮箱会触发新的 ICANN 验证流程;交互模式下命令会预填当前值。

限制与注意事项:需 Developer 计划或以上;支付失败提示先绑定信用卡或充值,可前往 https://zeabur.com/account/billing;购买的域名仅在 Zeabur 支持的顶级域范围内;验证邮件可能被邮箱服务商拦截。