Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Create DNSSEC Record

create_dnssec_record
DestructiveIdempotent

Publishes a DNSSEC DS record at the parent zone to build the chain of trust for a domain whose DNS you sign yourself. Provide key tag, algorithm, digest type and digest.

Instructions

Submit a DNSSEC DS record to the registry for a domain -- the chain of trust for THIS domain, published at its parent zone. (To delegate a signed subdomain to someone else's nameservers, that DS belongs in the zone itself: use create_dns_record with type DS.) Use when you sign DNS yourself (custom nameservers running BIND/Knot/PowerDNS/etc.) and need to publish the chain-of-trust at the parent zone. Required: keyTag, algorithm, digestType, digest. Optional key-data fields for registries that require full DNSKEY (rare). Algorithms and digest types are validated per registry, not globally: registries are retiring the values deprecated by RFC 9904/9905/9906 on their own schedules, so a value one registry has already dropped may still be accepted by another. A refused value returns DNSSEC_ALGORITHM_DEPRECATED naming a replacement, and retrying the same values will not help. Use alg 8 (RSA/SHA-256) or 13 (ECDSA/SHA-256) with digestType 2 (SHA-256) to be accepted everywhere. A SUCCESS response may carry a warnings array when a value still works but is being retired: the record WAS created. Deprecation never affects list_dnssec_records or delete_dnssec_record.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>",
      "keyTag": "<keyTag>",
      "alg": "<alg>",
      "digestType": "<digestType>",
      "digest": "<digest>"
    },
    "name": "create_dnssec_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
algYesAlgorithm number, e.g. `13` for ECDSA P-256 SHA-256, `8` for RSA SHA-256. Algorithms 1, 3, 5, 6, 7 and 12 are deprecated (RFC 9904/9905/9906) and are already refused by some registries.
digestYesHex-encoded DS digest value.
domainYesDomain to add the DS record to.
keyTagYesDNSSEC key tag (16-bit identifier of the key).
digestTypeYesDigest type, e.g. `2` for SHA-256, `4` for SHA-384. Digest types 1 (SHA-1) and 3 (GOST R 34.11-94) are deprecated and are being refused registry by registry; 2 is accepted everywhere.
maxSigLifeNoMaximum signature lifetime in seconds (registry-specific, optional).
keyDataAlgoNoDNSKEY algorithm (optional).
keyDataFlagsNoDNSKEY flags (optional — typically 256 or 257).
keyDataPubKeyNoBase64-encoded public key (optional).
keyDataProtocolNoDNSKEY protocol (optional — almost always 3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.39.4
    • changedInput schema / properties / alg / description
      Previous value: -"Algorithm number, e.g. `13` for ECDSA P-256 SHA-256, `8` for RSA SHA-256."New value: +"Algorithm number, e.g. `13` for ECDSA P-256 SHA-256, `8` for RSA SHA-256. Algorithms 1, 3, 5, 6, 7 and 12 are deprecated (RFC 9904/9905/9906) and are already refused by some registries."
    • changedInput schema / properties / digestType / description
      Previous value: -"Digest type, e.g. `2` for SHA-256, `4` for SHA-384."New value: +"Digest type, e.g. `2` for SHA-256, `4` for SHA-384. Digest types 1 (SHA-1) and 3 (GOST R 34.11-94) are deprecated and are being refused registry by registry; 2 is accepted everywhere."
  2. First observedv0.4.1

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered; the description still adds real behavior the annotations cannot: a DNSSEC_ALGORITHM_DEPRECATED failure mode, the fact that registry algorithms vary by schedule, and that a SUCCESS response may include a warnings array while the record WAS still created. It loses a point because it never mentions idempotency or what exactly a failed submission leaves behind, despite destructiveHint=true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and the sibling disambiguation, then requirements, then the deprecation caveat, which is a sensible order. It is somewhat longer than needed: the 'registries are retiring values on their own schedules' point is restated three times (RFC list, refused value behavior, warnings array), and the schema already carries the RFC numbers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 10-parameter mutation tool with no output schema needs the description to explain responses, and it does: SUCCESS-with-warnings is described, the deprecation error is named, and the agent is told deprecation does not affect list_dnssec_records or delete_dnssec_record. Nothing required to call it correctly or interpret a result is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by telling the agent which values are universally accepted (alg 8/13, digestType 2) and by characterizing the optional key-data fields as registry-specific and rare, which the schema only hints at. The 16-bit keyTag format and digest encoding are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Submit a DNSSEC DS record to the registry') and immediately disambiguates scope: the chain of trust for THIS domain at its parent zone, versus a DS record inside the zone itself, which it routes to create_dns_record. An agent can pick the right tool without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use condition ('you sign DNS yourself ... and need to publish the chain-of-trust at the parent zone') plus a when-not with the named alternative. It even supplies a safe default combination (alg 8 or 13 with digestType 2) and tells the agent that retrying refused values will not help.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools