dn-transfer

作者: automattic

使用dn CLI将域名转入注册商。当用户想要从其他注册商转移域名时使用。需要EPP授权码…

npx skills add https://github.com/automattic/dn-cli --skill dn-transfer

dn transfer

Transfer a domain in from another registrar.

Usage

# Interactive (prompts for auth code and contact info)
dn transfer example.com

# Non-interactive
dn transfer example.com \
  --auth-code=ABC123 \
  --first-name=John --last-name=Doe \
  --email=john@example.com --phone=+1.5551234567 \
  --address="123 Main St" --city=Springfield --state=IL \
  --postal-code=62701 --country=US

Options

OptionDescription
--auth-codeEPP authorization code (prompted with hidden input if missing)
--first-name, --last-name, etc.Contact details (prompted if missing)

Notes

  • Partner mode only - user mode shows redirect to wordpress.com/domains/manage
  • EPP auth code is entered via hidden input for security
  • Contact fields mirror those in dn register
  • Transfer must be approved at the losing registrar