Dn Renew

Renew a domain registration using the dn CLI. Use when the user wants to extend a domain's registration period. Partner mode only - user mode redirects to WordPress.com.

Automattic f312539 997 B Updated

File contents

dn renew

Renew a domain registration.

Usage

# Interactive (prompts for expiration year)
dn renew example.com

# Non-interactive
dn renew example.com --expiration-year=2025 --period=1

# Premium domain renewal
dn renew premium.com --expiration-year=2025 --fee=15.99

Options

Option Description
--period, -p Renewal period in years (default: 1)
--expiration-year Current expiration year (required, prompted if missing)
--fee Fee amount for premium domains

Notes

  • Partner mode only - user mode shows redirect to wordpress.com/domains/manage
  • The --expiration-year is the domain's current expiration year, not the desired new one
  • Use dn info <domain> first to check the current expiration date

automattic/dn-cli/tree/main/skills/dn-renew commit f312539f96

Frequently asked questions

npx skillmds@latest add automattic/dn-renew