/jongio-skills:dns-doctorfrom jongio-skills
Audits DNS and domain health including delegation, records, DNSSEC, CAA, website routing, TLS, CDN, and email authentication (SPF, DKIM, DMARC, MTA-STS). Produces verified findings and an ordered remediation plan with user-approved provider changes.
Ships in jongio-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Audit the effective public behavior of a domain from delegation through application and mail routing. Separate observed facts from inference, avoid false positives, and give the user exact verification steps for every fix.
Audits and change planning are read-only. Live provider changes are allowed only through the explicit workflow in approved change management.
| Request | Scope |
|---|---|
dns-doctor example.com | Full audit |
dns-doctor example.com records | Delegation, records, wildcards, and hygiene |
dns-doctor example.com mail | SPF, DKIM, DMARC, MTA-STS, and TLS reporting |
dns-doctor example.com web | HTTP, HTTPS, TLS, redirects, CDN, and origin routing |
dns-doctor example.com security | DNSSEC, CAA, takeover exposure, and AXFR |
dns-doctor example.com fix | Audit, prepare exact provider changes, and apply only approved items |
dns-doctor example.com fresh | Ignore the previous baseline, run the audit, and replace the cache |
dns-doctor example.com no-cache | Run without reading or writing a cache |
After raw input validation passes, normalize the clean DNS name to a registrable domain using a current Public Suffix List. Identify:
Do not infer intent from DNS alone. A redirect-only apex can be healthy without an application origin, and a hostname with no A record can use HTTPS or SVCB.
Follow cache and delta audits. Unless the user
requested fresh or no-cache, load the validated domain's structured cache
with the shipped cache tool:
node <skill-directory>/scripts/cache.mjs load --domain <a-label-domain>
State whether a valid baseline was found and its timestamp. Reuse it only to seed known intent, hosts, providers, DKIM selectors, previous findings, and remediation status. Never let it substitute for current evidence or authorize new scope. Revalidate every requested check, with priority on material records, service paths, certificates, and previously open findings.
Use evidence and record discovery. Collect:
Query explicit record types. Do not use ANY as an inventory mechanism.
Use the portable command recipes when the
local DNS client does not support a required type. For JSON DoH fallback,
preserve Status, AD, Answer, Authority, and Comment when present.
Read the response code from the numeric Status field itself and report it as
that code. Do not infer a response code from the shape of the answer. Status
0 is NOERROR and Status 3 is NXDOMAIN, and a NOERROR carrying an empty
Answer is a positive response with no data of that type, which is not
NXDOMAIN and does not mean the name is absent.
Read the query name in the answer before reading the data. A stub resolver may
append a DNS search suffix from the host's network configuration, so a lookup
of example.com can return a well-formed answer for
example.com.corp.internal. Nothing in that answer is wrong, and nothing in it
is about the audit target. Treat any answer whose query name is not exactly the
name you asked for as evidence about a different zone, name search-list
suffixing as the cause rather than calling the name fabricated, and re-query
fully qualified with the trailing dot before recording anything.
Separate what a client can prove from what it cannot. A general-purpose
built-in resolver such as Windows Resolve-DnsName or nslookup cannot expose
wire-level header flags and cannot request arbitrary record types, and a public
DoH endpoint is a recursive resolver that answers only from its own cache and
upstream rather than querying a nameserver you name. Neither can produce
authoritative evidence. Say which capability is missing when you report a check
as unverified, and name it concretely rather than gesturing at it. State that
the built-in Windows resolver cannot show wire-level header flags such as AD
and AA, and cannot be pointed at a chosen nameserver to request a chosen
record type, so its output cannot close a check that depends on either. "The
tool did not show it" and "the server did not send it" have different
remediations, and only the second is a finding about the domain.
When provider credentials are available, establish what they actually permit before relying on them. Probe each capability the audit or remediation plan needs, such as record listing, zone settings, and delegation signing, and record the result per capability. Credentials that authenticate successfully can still be refused on individual objects, and a general-purpose token issued for another product commonly lacks DNS scope entirely.
Do this before writing the remediation plan, not while executing it. The capability map determines which items the skill can perform and which the user must perform, and prevents both promising unreachable work and marking a check Not verified when it was readable all along.
Label each check:
Check delegation consistency, glue, lame nameservers, SOA agreement, CNAME and alias chains, MX and NS targets, wildcard behavior, HTTPS and SVCB records, service records, TTL intent, and provider inventory.
Before any direct authoritative query or AXFR attempt, collect and validate all A and AAAA answers for that nameserver. If one answer is unsafe, do not query any address from that nameserver's set. Report the nameserver as rejected rather than selecting a safe-looking sibling address.
Common-name probing and certificate transparency results are discovery aids, not a complete zone inventory. Never claim that no stale or orphan records exist without a complete authoritative or provider record list.
Follow mail authentication. Evaluate SPF
with RFC term and void-lookup limits, discover DKIM selectors from evidence
rather than guessing alone, parse public keys, and evaluate DMARC against the
domain's actual mail flows. Include MTA-STS, TLS reporting, and DANE when
applicable. Count each evaluated SPF include, a, mx, ptr, exists, or
redirect term once toward the 10-term limit. Do not count one term per MX
host; the separate per-mx address-query limit still applies.
Never derive DKIM selector targets from MX tokens, tenant names, or documented provider patterns. Ask for exact values from the provider console or activation error. Publish at 60 seconds until signing is confirmed; only then raise the TTL. Wrong cached answers persist until their original TTL expires, even after correction.
Follow web routing and TLS. Test the canonical host and each redirect-only alias over HTTP and HTTPS, preserve a deep path and query string, record every hop, validate certificates, and separate DNS failures from edge and origin failures.
For every HTTP or TLS probe, state and apply this sequence:
Never probe an origin IP merely to bypass a CDN. Test an origin only when the user authorizes it and the intended Host header and TLS name are known.
Follow security and hygiene. Validate the DNSSEC chain, compute effective CAA policy, assess aliases for takeover exposure, test authorized zone transfers, and distinguish owner-controlled settings from provider-managed behavior.
A recognizable SaaS target or an unresolved CNAME is not proof of takeover. Raise a critical finding only when the hostname is demonstrably claimable or the provider binding confirms the exposure.
Never claim the target, and never recommend claiming it, including as a secondary or defensive option. Registering someone else's abandoned name to prove it was claimable, or to hold it away from an attacker, is the takeover itself, and it can breach the provider's terms and the law regardless of intent. The remediation is always on the side you control: remove the alias, or repoint it at a binding you own, then verify the record is gone before closing the finding.
A signed zone may deny a nonexistent name with NOERROR and no data instead of
NXDOMAIN. Never read that as evidence the name still exists. Query a random
nonce label in the same zone: a matching response means the name is absent.
Before recommending a registrar lock, confirm that registrar exposes the status and at what price. Delete and update protection is frequently unavailable or sold as a paid product, so present it as a cost against risk decision rather than a configuration step. Do not give a click path you have not verified for that registrar. Name the free compensating controls, account two-factor authentication first, since they close most of the same attack path at no cost, and record a declined control as accepted risk.
Before recording any record as unattributable, read the DNS provider's
per-record created_on and modified_on and correlate them against resource
creation events in the consuming platform. A token created minutes after a
custom domain or certificate binding is that binding's validation record.
Platforms stop returning a validation token once a domain is validated, so
consumer-side state being empty proves nothing.
For high-impact findings, get a second independent observation. Useful corroboration includes a second recursive resolver, DNSViz, Zonemaster, a second TLS implementation, or read-only provider state.
Do not let a third-party grade override protocol evidence. Record disagreements and identify which source controls the behavior.
Before reporting, map every claimed status, RCODE, record value, certificate property, and redirect to its exact captured result. A result applies only to the precise query or URL that produced it. Never reuse a root-path result for a deep path or one resolver's result for another.
If the claimed value cannot be found in captured evidence, mark the check Not verified. If sources conflict, report the conflict instead of selecting the expected value.
Matching responses prove matching bytes, not a shared origin. Identical ETag, length, digest, status, and headers are the expected result whenever content is copied, replicated, or migrated, so a shared-origin claim rests on the provider's hostname to resource binding and stays Not verified until that binding is read. Never label it Verified or Corroborated from response equality, and never call a hostname redundant on that basis.
Verification describes evidence, not health. A verified 4xx or 5xx response is still unhealthy unless the user supplied that status as the intended behavior. Do not write "healthy", "expected", "no impact", or "no fix required" for a deep-path 404 based only on the fact that the root path returned 200.
When a valid baseline exists, classify each comparable result as Added, Changed, Resolved, Unchanged, or Not reverified. For checks and findings, only use Unchanged when fresh current evidence matches the cached value. Remediation entries describe plan state and may be Unchanged when their sanitized content is identical. Build the sanitized current snapshot in the session workspace, then use the cache tool rather than classifying changes manually:
node <skill-directory>/scripts/cache.mjs compare --domain <a-label-domain> --input <snapshot.json>
Unless the user requested no-cache, write the sanitized current result using
cache and delta audits. Use deterministic
JSON through the shipped cache tool:
node <skill-directory>/scripts/cache.mjs save --domain <a-label-domain> --input <snapshot.json>
Report the returned cache path, timestamp, and created or updated status. A cache failure must not hide or invalidate audit results. Remove the temporary session snapshot after comparison and save.
Use documented enum strings exactly; never invent synonyms such as Unknown, OK, done, or Completed.
Evidence state and health are independent: a Verified check can be Unhealthy.
A completed fix uses finding status resolved and remediation state verified.
The executable delegates persistence and comparison to the cache store. Its boundary and lifecycle behavior is covered by the cache tests.
Use the canonical audit checklist and reporting. Report severity, verification state, evidence source, observed value, impact, exact remediation, owner, dependency order, rollback, propagation expectation, and post-change checks.
Every report must end with a Recommended next steps section ordered by impact and dependency. For each step, state:
On repeat audits, lead with Added, Changed, and Resolved results. Summarize freshly verified Unchanged items and list every Not reverified item.
Do not produce a numeric health score by default. A single score hides not-applicable checks and rewards unverifiable assumptions. If the user asks for a score, show the formula, score only applicable verified checks, and report evidence coverage separately.
After presenting and caching the report, ask one focused question with
ask_user when available:
Would you like me to work through the prioritized fixes one at a time, or stop with this report?
Offer Work through fixes one at a time (Recommended) and
Stop with report only. If the user chooses fixes, prepare the first exact
change plan. This choice authorizes planning only. Every live mutation still
requires its own exact approval.
When the user asks to fix or apply a finding, follow approved change management. Identify the controlling provider object, capture its current state, prepare the smallest exact mutation and rollback, then request explicit approval.
Before requesting approval, show the provider, account, zone, action, stable record ID, exact before state, exact after state, TTL, proxy or routing state, impact, propagation expectation, rollback payload, pre-execution drift check, and verification plan. End every approval request with this explicit commitment: immediately before execution, re-read the identified provider object; if any approved before-state field changed, make no mutation and request fresh approval.
After approval:
cloudflare SDK and client.dns.records.edit. Do not use the full
client.dns.records.update replacement unless every field was captured and
approved.Rollback is a separate mutation and requires its own explicit approval unless its exact payload and trigger were pre-approved.
For the requested scope:
Installation, usage, and evaluation instructions are in the public README.
LICENSE (opens in a new tab)README.md (opens in a new tab)evals/README.md (opens in a new tab)evals/dns-doctor/eval.yaml (opens in a new tab)package-lock.json (opens in a new tab)package.json (opens in a new tab)references/audit-checklist.md (opens in a new tab)references/cache-and-delta.md (opens in a new tab)references/change-management.md (opens in a new tab)references/command-recipes.md (opens in a new tab)references/evidence-and-records.md (opens in a new tab)references/mail-authentication.md (opens in a new tab)references/reporting.md (opens in a new tab)references/security-and-hygiene.md (opens in a new tab)references/web-routing-and-tls.md (opens in a new tab)scripts/cache-delta.mjs (opens in a new tab)scripts/cache-store.mjs (opens in a new tab)scripts/cache.mjs (opens in a new tab)scripts/public-address.mjs (opens in a new tab)scripts/stable-json.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dns-audit, domain-health, email-authentication, dnssec, remediation-plan
npx claudepluginhub jongio/skills --plugin jongio-skills28 skills in this plugin
/backlog-groom**WORKFLOW SKILL** - Groom GitHub backlogs across issue and source repositories, with or without Projects, using scoped evidence and approved changes. USE FOR: backlog-groom, groom backlog, triage GitHub issues, reconcile backlog, organize GitHub Project, audit delivery readiness. DO NOT USE FOR: implementing issues (use go), PR delivery (use pr), creating skills (use create-skill), dependency maintenance (use deps-doctor), Git cleanup (use git-tidy)./ci-doctor**WORKFLOW SKILL** - Diagnose, check, and optimize GitHub Actions workflows with stateless ETag-cached checkups, main failure root-cause repair in isolated worktrees, and workflow cost/security hardening. USE FOR: ci-doctor, ci health check, diagnose main CI failures, repair broken GitHub Actions builds, profile slow CI steps, harvest workflow flakes, harden and optimize GitHub Actions workflows. DO NOT USE FOR: single pull request delivery without workflow diagnosis (use pr), implementing a feature issue end to end (use go), standalone test suite audits without GitHub Actions checks (use test-doctor)./create-canvas-appBuild a GitHub Copilot App canvas extension the right way, fast. Use when the user wants to create, scaffold, or improve an interactive canvas (a side-panel UI the agent can open and drive) - dashboards, editors, trackers, boards, document/preview surfaces. Provides a no-build Preact + htm kit with live SSE state, durable per-user storage, Primer theming, and the official GitHub Lucide icon set, plus a generator that stamps a working canvas in one command. Do NOT use for non-canvas extensions (plain agent tools) or for shipping web apps unrelated to Copilot canvases./create-gh-pages-siteScaffold a working GitHub Pages website from a vetted template and wire it to deploy automatically. Use when the user wants to create, scaffold, or publish a site on GitHub Pages: a reviewable VitePress specification, a static page, an Astro or Eleventy site, a React (Vite) SPA, or a Jekyll site. Picks the right template, injects the correct base path for the target repo (the #1 thing people get wrong), adds the official GitHub Actions Pages deploy workflow, and sets it up in the user's current repo by default or a new one if asked. Does not stop at demo content: it digests the target repo (README, manifests, entry points, docs) and authors a site about that repo (CLI reference, API/usage page, feature tour, or catalog) with labeled image placeholders the user swaps in. Do NOT use for non-Pages hosting (Vercel/Netlify/Azure), deploying an existing app without a Pages target, or plain web pages unrelated to GitHub Pages./create-session-board-canvasOpen and maintain a live canvas for the current session's plan, kanban tasks, primary/subagent team, progress, blockers, owned PRs/issues, head-pinned CI, and delivery status, with opt-in cross-session project rollups and an operator attention inbox. USE FOR: create a canvas that shows session progress, session board canvas, session kanban, show session tasks and agents, show session PRs and CI in a canvas, go progress board, project status board, all sessions board, session attention inbox. DO NOT USE FOR: generic canvas apps (use create-canvas-app), footer pill management (use session-statusline), implementation workflow (use go)./create-skill**WORKFLOW SKILL** - Create and register a complete portable agent skill in a managed skills-repo.config.json repository or an existing skills repository. Produces focused instructions, documentation, deterministic tests, Vally evals, locked tooling, registration, and optional validated thumbnail art. USE FOR: create-skill, create a skill, add an agent skill, scaffold a portable skill, register a skill, add skill to managed repo, create skill in existing repo, generate an example skill from a fixture, add skill thumbnail art. DO NOT USE FOR: scaffolding a new marketplace collection from scratch (use create-skills-repo), editing one existing skill instruction without registration work (use skill-authoring), creating an agent persona.Other plugins' skills for the same job