porkbun-skill
由 wmantly 提供
Web & Frontend Development简介
Manage Porkbun DNS records and domains via API v3.
描述
该技能的功能
Manages DNS records and domains on Porkbun via their REST API v3. A CLI tool at scripts/porkbun-dns.js handles create, read, update, and delete operations for all common record types including A, AAAA, CNAME, MX, TXT, and more.
The bundled CLI tool executes DNS operations deterministically, removing the need to write custom API request code for routine record management.
何时使用
- Pointing a newly registered domain to a server IP address
- Configuring Google Workspace MX records for business email
- Automating dynamic DNS updates when a home IP address changes
- Adding SPF and TXT records for email deliverability
- Creating wildcard subdomains for staging or preview environments
示例工作流
User asks: Configure email routing for example.com using Google Workspace
- 1
Lists existing DNS records for example.com to check for conflicts
- 2
Creates five MX records for Google Workspace mail servers with correct priorities
- 3
Adds an SPF TXT record to authorize Google mail servers
- 4
Lists DNS records again to confirm all entries are present
Google Workspace MX records and SPF record created on example.com, ready for email routing
前置要求
- Porkbun account with API access enabled per domain
- PORKBUN_API_KEY environment variable or entry in ~/.config/porkbun/config.json
- PORKBUN_SECRET_API_KEY environment variable or entry in ~/.config/porkbun/config.json
安装
clawhub install wmantly/porkbun-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。