# dn-privacy

Turns WHOIS privacy or redaction on or off for a domain's contact records using the dn CLI (partner mode only).

Skill by Automattic. Category: Security.

## Install

Project (for this project only):

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

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-privacy -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-privacy)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-privacy). 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-privacy
description: Set WHOIS privacy for a domain using the dn CLI. Use when the user wants to enable, disable, or change the privacy/redaction settings for domain WHOIS records. Partner mode only.
---

# dn privacy

Set WHOIS privacy for a domain.

## Usage

```bash
# Enable privacy (proxy contact info)
dn privacy example.com on

# Disable privacy (show real contact info)
dn privacy example.com off

# Redact contact info (minimal disclosure)
dn privacy example.com redact
```

## Arguments

| Argument | Description |
|----------|-------------|
| `domain` | Domain name |
| `setting` | `on`, `off`, or `redact` |

## Privacy Settings

- **on**: Enable privacy service (proxy contact information)
- **off**: Disclose real contact information in WHOIS
- **redact**: Redact contact information (minimal GDPR-compliant disclosure)

## Notes

- **Partner mode only** - user mode shows redirect to `wordpress.com/domains/manage`
- Use `dn info <domain>` to check current privacy setting
````

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