# Dns

> >

- **Type:** Skill
- **Install:** `agentstack add skill-floomhq-moto-dns`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [floomhq](https://agentstack.voostack.com/s/floomhq)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [floomhq](https://github.com/floomhq)
- **Source:** https://github.com/floomhq/moto/tree/main/claude/skills/dns
- **Website:** https://github.com/floomhq/moto#readme

## Install

```sh
agentstack add skill-floomhq-moto-dns
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# DNS Management

## Auth

```bash
# Set your DNS provider API key
DNS_API_KEY=""
DNS_API_BASE=""  # e.g., https://api.hosting.ionos.com/dns/v1/zones
```

Header: `X-API-Key: $DNS_API_KEY` (or `Authorization: Bearer $DNS_API_KEY` depending on provider)

## Known Zone IDs

| Domain | Zone ID |
|--------|---------|
| example.com | `` |

## Operations

### List all zones (find zone ID)
```bash
curl -s -H "X-API-Key: $DNS_API_KEY" "$DNS_API_BASE" | jq '.[] | {name, id}'
```

### List records for a zone
```bash
curl -s -H "X-API-Key: $DNS_API_KEY" "$DNS_API_BASE/{zoneId}" | jq '.records[] | {name, type, content, id}'
# Filter by type:
curl -s -H "X-API-Key: $DNS_API_KEY" "$DNS_API_BASE/{zoneId}?recordType=A"
```

### Add record
```bash
curl -s -X POST \
  -H "X-API-Key: $DNS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"name":"sub.domain.com","type":"A","content":"1.2.3.4","ttl":3600}]' \
  "$DNS_API_BASE/{zoneId}/records"
```

### Update record (need record ID first)
```bash
curl -s -X PUT \
  -H "X-API-Key: $DNS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content":"1.2.3.4","ttl":3600}' \
  "$DNS_API_BASE/{zoneId}/records/{recordId}"
```

### Delete record
```bash
curl -s -X DELETE \
  -H "X-API-Key: $DNS_API_KEY" \
  "$DNS_API_BASE/{zoneId}/records/{recordId}"
```

## Workflow

1. If zone ID unknown: list zones, find matching domain
2. List existing records for the zone
3. Add / update / delete as needed
4. Verify: `dig sub.domain.com @8.8.8.8` (propagation takes 1-5 min)

## Common Record Types

| Type | Use case | Example content |
|------|----------|-----------------|
| A | IPv4 | `93.184.216.34` |
| CNAME | Alias | `cname.vercel-dns.com` |
| TXT | Verification, SPF | `"v=spf1 include:..."` |
| MX | Email | `10 smtp.example.com` |

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [floomhq](https://github.com/floomhq)
- **Source:** [floomhq/moto](https://github.com/floomhq/moto)
- **License:** MIT
- **Homepage:** https://github.com/floomhq/moto#readme

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-floomhq-moto-dns
- Seller: https://agentstack.voostack.com/s/floomhq
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
