# 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.

- Skill: `automattic/dn-renew` (Agent Skill)
- Install (CLI): `npx skillmds@latest add automattic/dn-renew`
- Raw SKILL.md: https://api.skillmd.com/api/skills/automattic/dn-renew/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Automattic (https://skillmd.com/u/automattic)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/automattic/dn-renew

---


# dn renew

Renew a domain registration.

## Usage

```bash
# 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

