mcpField
Z
zeabur-domain-dns

zeabur-domain-dns

github.com/zeaburCloud & DevOps39158 installsUpdated 7w ago
Repository

About zeabur-domain-dns

zeabur-domain-dns is a skill for managing DNS records on domains registered with Zeabur using the Zeabur CLI. It can list, create, update, and delete records across supported types, with options such as TTL, priority, and proxying.

Key features

  1. 01List DNS records
  2. 02Create, update, and delete records
  3. 03Support A, AAAA, CNAME, MX, TXT, SRV, CAA, and NS
  4. 04Set TTL, priority, and proxying options
  5. 05Verify DNS propagation with dig

Use cases

  1. 01Inspect records for a Zeabur-registered domain
  2. 02Change a domain's A or CNAME record
  3. 03Configure mail routing with MX records

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/zeabur/agent-skills --skill zeabur-domain-dns

After installing, type/zeabur-domain-dnsin Claude Code to confirm it loaded.

Details

From the project README

Zeabur Domain DNS Management

Always use npx zeabur@latest to invoke Zeabur CLI. Never use zeabur directly or any other installation method. If npx is not available, install Node.js first.

List DNS Records

npx zeabur@latest domain dns list --domain example.com -i=false

Create a DNS Record

npx zeabur@latest domain dns create --domain example.com --type A --name @ --content 1.2.3.4 -i=false
Supported Record Types

A, AAAA, CNAME, MX, TXT, SRV, CAA, NS

Optional Flags
FlagDescription
--ttlTTL in seconds (default 1 = auto)
--priorityPriority for MX/SRV records
--proxiedProxy through Cloudflare
Examples
# A record
npx zeabur@latest domain dns create --domain example.com --type A --name @ --content 93.184.216.34 -i=false

# CNAME record
npx zeabur@latest domain dns create --domain example.com --type CNAME --name www --content example.com -i=false

# MX record
npx zeabur@latest domain dns create --domain example.com --type MX --name @ --content mail.example.com --priority 10 -i=false

# TXT record (SPF)
npx zeabur@latest domain dns create --domain example.com --type TXT --name @ --content "v=spf1 include:_spf.google.com ~all" -i=false

Update a DNS Record

Identify the record by --type and --name (no need to look up record IDs):

npx zeabur@latest domain dns update --domain example.com --type A --name @ --content 5.6.7.8 -i=false

Optional: --ttl, --priority, --proxied

If multiple records match the same type+name, use --record-id to specify.

Delete a DNS Record

npx zeabur@latest domain dns delete --domain example.com --type A --name test -y -i=false

Verify DNS Propagation

After creating/updating records, verify with dig:

dig @<nameserver> <name>.<domain> <type> +short

Important Notes

  • This manages DNS for Zeabur-registered domains only. For domains registered elsewhere, configure DNS at your registrar.
  • To bind a domain to a Zeabur service, use the zeabur-domain-url skill instead.
  • --domain accepts the domain name (e.g. example.com). Use --domain-id only for advanced scripting.

Comments

Markdown supported