change-dns-safely

change-dns-safely is a skill for Claude Code from oborseth/Porkbun-MCP. It costs 93 tokens per session (764 once invoked), scanned A, original, MIT.

Instructions for safely changing DNS records for a domain at Porkbun. DNS is the system that tells browsers, email services, and other clients where a domain's services are located.

In plain words
What is it for?
Use it to point domains or subdomains to hosting, configure email records such as MX, SPF, DKIM, and DMARC, change nameservers, enable DNSSEC, or undo a DNS change.
Why use it?
Incorrect DNS changes can take a website or email offline, and cached records may keep the problem visible after a fix. The workflow checks existing records, explains proposed changes, and requires approval before writing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the porkbun plugin — 2 skills, 1 MCP server shipped together

Good fit Use it to point domains or subdomains to hosting, configure email records such as MX, SPF, DKIM, and DMARC, change nameservers, enable DNSSEC, or undo a DNS change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oborseth/porkbun-mcp/change-dns-safely
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oborseth/Porkbun-MCP --skill change-dns-safely
Clone the repo
git clone --depth 1 https://github.com/oborseth/Porkbun-MCP

Made for: Claude Code.

Or install porkbun, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for change-dns-safely

README.md
[![agentmods](https://agentmods.dev/badge/skills/oborseth/porkbun-mcp/change-dns-safely/github.svg)](https://agentmods.dev/skills/oborseth/porkbun-mcp/change-dns-safely)
Your own site
<a href="https://agentmods.dev/skills/oborseth/porkbun-mcp/change-dns-safely"><img src="https://agentmods.dev/badge/skills/oborseth/porkbun-mcp/change-dns-safely/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for change-dns-safely

Your own site · 80×15
<a href="https://agentmods.dev/skills/oborseth/porkbun-mcp/change-dns-safely"><img src="https://agentmods.dev/badge/skills/oborseth/porkbun-mcp/change-dns-safely.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.00764
Opus 5.5 $0.00037 $0.00306
Sonnet 5 $0.00019 $0.00153
Haiku 4.5 $0.00009 $0.00076

Measured today against content hash 1ee3be05222b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-26, from the pricing page.

Security

Grade A, and why

change-dns-safely scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/change-dns-safely/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Change DNS on a Porkbun domain safely

DNS mistakes take a site or email down, and caches keep the wrong answer for a while after it is fixed. Work from what is there now, say what you will change, and keep the way back open.

Every change

  1. Read first. Call list_dns_records for the domain. Look for records that clash with the one you plan to add: a CNAME cannot share a name with any other record, and a domain should have only one SPF (v=spf1) TXT record.
  2. Say the change, and ask. Tell the user which records you will add, change or delete, with type, host, value and TTL. Wait for their OK before any write, and before any delete in particular.
  3. Write. Use create_dns_record, update_dns_record or delete_dns_record. For name, pass only the subdomain part (www, not www.example.com), or leave it empty for the domain itself.
  4. Pass on warnings. A write can succeed with a warning, for example that the domain uses other nameservers, so the record is saved but has no effect yet. Tell the user; do not report plain success.

Pointing a domain at a host

Use the exact records the host shows in its own domain settings: typically an A record (or ALIAS) for the domain itself and a CNAME for www. Remove the records they replace only after the user agrees. If the domain has URL forwarding (list_url_forwards), it can conflict with the new records; mention it.

Bigger changes: check first

Before changing nameservers, turning on DNSSEC, or moving the domain to another provider, call preflight_domain. It changes nothing. Read its blockers to the user first: those will break something, such as mail records that would stop resolving after a nameserver change. Then its warnings.

Undo

Porkbun saves restore points of the zone before changes (the first write in each hour, and before bulk imports). If none exist for the time you need, say so rather than guessing at the old records.

  1. list_dns_restore_points to find the version from before the problem.
  2. diff_dns_restore_point and show the user what would change.
  3. restore_dns_zone, after their OK. By default it only adds back what is missing. Pass prune: true to also remove records added since, and only after going through the extra list with the user.

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 63 lines · 93 tokens per session scan A 1ee3be05222b

Subscribe to this mod's changes

change-dns-safely is a skill published in the GitHub repository oborseth/Porkbun-MCP (32 stars, last pushed yesterday), licensed MIT. It adds 93 tokens to every session and 764 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.

Related

Other skills, from other repositories

architecture-diagram

WHAT — Create polished dark-themed architecture diagrams as self-contained HTML+SVG files (inline SVG, CSS styling, PNG/PDF export toolbar). Use when the user asks for system, infrastructure, cloud, security, or network topology diagrams rendered as a shareable visual artifact rather than code.

ulises-jeremias/agent-toolkit · 61 tokens

aws-well-architected-review

WHAT — AWS Well-Architected Framework review (6 pillars) — operational excellence, security, reliability, performance, cost, sustainability + WAR process. Checklist for workload evaluation on AWS; complementary to official AWS MCP for live account data.

ulises-jeremias/agent-toolkit · 55 tokens

cloud-design-patterns

WHAT — Vendor-neutral distributed cloud patterns (Retry, Bulkhead, Circuit Breaker, CQRS, Event Sourcing, etc.) abstracted from AWS/Azure/GCP sources — when to apply, tradeoffs, mapping to AWS/GCP/Azure primitives. Offline checklist, no live account required.

ulises-jeremias/agent-toolkit · 65 tokens

upload-image-s3

Upload a local image file to S3-compatible storage (Cloudflare R2, AWS S3, MinIO, DigitalOcean Spaces) and return the public URL. Use whenever the user asks to "upload this image", "host this file", "get a public URL for X", "put this image online", "upload to R2", "upload to S3", or wants to make a local image…

tadeukaiba/mcp-media-toolkit · 116 tokens

api-workers

Cloudflare Workers deployment using createWorkerHandler from @cyanheads/mcp-ts-core/worker. Covers the full handler signature, binding types, CloudflareBindings extensibility, runtime compatibility guards, and wrangler.toml requirements.

cyanheads/whois-mcp-server · 51 tokens

robtex-crypto

Bitcoin and Lightning Network analysis — address balances, transaction tracing, block inspection, Lightning node/channel data, peer recommendations.

robtex/skills · 27 tokens