# dn-restore

Restores a deleted domain that is still within its redemption grace period, using the dn CLI (partner mode only).

Skill by Automattic. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx skills add automattic/dn-cli --skill dn-restore
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add automattic/dn-cli --skill dn-restore -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 5. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/automattic/dn-cli/dn-restore)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-restore). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: dn-restore
description: Restore a previously deleted domain using the dn CLI. Use when the user wants to recover a domain that was deleted and is still within the redemption grace period. Partner mode only.
---

# dn restore

Restore a previously deleted domain.

## Usage

```bash
dn restore example.com
```

## Notes

- **Partner mode only** - user mode shows redirect to `wordpress.com/domains/manage`
- Only works during the Redemption Grace Period (RGP) after deletion
- Use `dn info <domain>` to check the RGP status before attempting restore
````

- Previous: [dn-reset](https://syn4pse.dev/terminal/automattic-dn-reset.md)
- Next: [dn-suggest](https://syn4pse.dev/terminal/automattic-dn-suggest.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
