zeabur-domain-dns
Zeabur 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.
More from zeabur/zeabur-claude-plugin
zeabur-deployment-logs
Use when viewing service runtime or build logs. Use when user says "show logs", "why did deploy fail", "check build output", or "debug runtime error".
54zeabur-template
Use when creating, editing, validating, or troubleshooting a Zeabur template YAML. Use when converting docker-compose to Zeabur template. Do NOT use for deploying templates (use zeabur-template-deploy instead).
53zeabur-restart
Use when restarting a Zeabur service. Use when user says "restart", "reboot service", or "service is stuck/frozen".
53zeabur-domain-url
Use when services need public URL for redirects or CORS. Use when WEB_URL or similar has trailing slash issues. Use when user reports "redirect goes to wrong URL", "CORS error", or "trailing slash problem". Also use when user says "add domain", "set up domain", "bind domain", "create domain", or "manage domains" for a Zeabur service.
52zeabur-variables
Use for ALL Zeabur environment variable operations — create, list, update, delete, or troubleshoot. Use when user says "set env var", "add variable", "create variable", "update variable", "delete variable", "change env var", or "why is my variable empty". Also use when variables are empty or SERVICE_NOT_FOUND errors.
51zeabur-update-service
Use when modifying service config without full redeploy. Use when updating env vars and restarting single service. Use when user says "change env var", "update config", "fix variable without redeploying", "upgrade service version", "update image tag", or "change service tag".
49