# dn-dns-get

Lists a domain's current DNS records, such as A, MX and TXT, 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-dns-get
```

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-dns-get -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-dns-get)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-dns-get). 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-dns-get
description: Retrieve DNS records for a domain using the dn CLI. Use when the user wants to view current DNS records (A, AAAA, CNAME, MX, TXT, etc.) for a domain. Partner mode only.
---

# dn dns:get

Get DNS records for a domain.

## Usage

```bash
dn dns:get example.com
```

## Output

Table columns: Type, Name, Value, TTL

Shows "No DNS records found." if empty.

## Notes

- **Partner mode only** - user mode shows redirect to `wordpress.com/domains/manage`
- The command name uses a colon: `dns:get` (Symfony Console command naming convention)
````

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