Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

namecheap-dns

bởi jarekbird

Web & Frontend Development
469Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Safe DNS record management for Namecheap domains.

Mô tả

Kỹ năng này làm gì

Wrapper around the Namecheap API for DNS record management. The Namecheap setHosts endpoint replaces all records on a domain, so this skill fetches existing records first and merges changes before writing. Includes dry-run mode, automatic backups, and ghost record detection.

Direct Namecheap API use requires manually fetching all records before every write or risk deleting your entire DNS config; this skill handles that fetch-merge-write pattern automatically.

Khi nào nên dùng

  • Add Mailgun DNS records without wiping email forwarding
  • Preview DNS changes before applying them to a live domain
  • Roll back a bad DNS change from a timestamped backup
  • Audit live DNS against what the Namecheap API can see
  • Remove a stale TXT record without touching other records

Quy trình ví dụ

ĐẦU VÀO

User asks: add an SPF TXT record to example.com via Namecheap without breaking existing records

AGENT
  1. 1

    Run verify to check for ghost records not visible to the API

  2. 2

    Run add with --dry-run to preview the merge diff

  3. 3

    Confirm no unintended deletions in the diff output

  4. 4

    Run add without --dry-run to apply the change

  5. 5

    Check the auto-created backup in the backups directory

ĐẦU RA

SPF TXT record added to example.com; existing records preserved; backup saved as example.com-{timestamp}.json

Yêu cầu

  • NAMECHEAP_API_KEY environment variable
  • NAMECHEAP_USERNAME environment variable
  • Namecheap account with API access enabled
  • IP address whitelisted in Namecheap API settings

Cài đặt

clawhub install jarekbird/namecheap-dns

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết