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
- 01List DNS records
- 02Create, update, and delete records
- 03Support A, AAAA, CNAME, MX, TXT, SRV, CAA, and NS
- 04Set TTL, priority, and proxying options
- 05Verify DNS propagation with dig
Use cases
- 01Inspect records for a Zeabur-registered domain
- 02Change a domain's A or CNAME record
- 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-dnsAfter installing, type/zeabur-domain-dnsin Claude Code to confirm it loaded.
Details
From the project READMEZeabur Domain DNS Management
Always use
npx zeabur@latestto invoke Zeabur CLI. Never usezeaburdirectly or any other installation method. Ifnpxis 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
| Flag | Description |
|---|---|
--ttl | TTL in seconds (default 1 = auto) |
--priority | Priority for MX/SRV records |
--proxied | Proxy 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-urlskill instead. --domainaccepts the domain name (e.g.example.com). Use--domain-idonly for advanced scripting.