# dn-contacts-set

Updates the owner, admin, tech or billing WHOIS contact details for a domain 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-contacts-set
```

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-contacts-set -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: 6. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/automattic/dn-cli/dn-contacts-set)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-contacts-set). 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-contacts-set
description: Update domain contact information (WHOIS contacts) using the dn CLI. Use when the user wants to change owner, admin, tech, or billing contacts for a domain. Partner mode only.
---

# dn contacts:set

Update contact information for a domain.

## Usage

```bash
# 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-out` to skip)
- The command name uses a colon: `contacts:set`
````

- Previous: [core](https://syn4pse.dev/terminal/deepgram-wsh-core.md)
- Next: [tui](https://syn4pse.dev/terminal/deepgram-tui.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
