dn-contacts-set
bởi automattic
Cập nhật thông tin liên hệ tên miền (liên hệ WHOIS) bằng dn CLI. Sử dụng khi người dùng muốn thay đổi liên hệ chủ sở hữu, quản trị viên, kỹ thuật hoặc thanh toán cho một tên miền.…
npx skills add https://github.com/automattic/dn-cli --skill dn-contacts-setdn contacts:set
Update contact information for a domain.
Usage
# Interactive (prompts for all fields)
dn contacts:set example.com
# Specify contact type
dn contacts:set example.com --type=admin
# Non-interactive
dn contacts:set example.com --type=owner \
--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
# Opt out of automatic transfer lock after contact change
dn contacts:set example.com --transferlock-opt-out
Options
| Option | Description |
|---|---|
--type | Contact type: owner, admin, tech, billing (default: owner) |
--transferlock-opt-out | Skip automatic transfer lock after contact change |
--first-name, --last-name, etc. | Contact details (prompted if missing) |
Notes
- Partner mode only - user mode shows redirect to
wordpress.com/domains/manage - ICANN requires a 60-day transfer lock after owner contact changes (use
--transferlock-opt-outto skip) - The command name uses a colon:
contacts:set