get_dnssec
Retrieve DNSSEC settings for a domain to verify and manage domain name system security extensions.
Instructions
Get DNSSEC (Domain Name System Security Extensions) settings for a domain.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name to query DNSSEC for |
Implementation Reference
- src/tools/dns.ts:190-205 (handler)The MCP tool handler for get_dnssec, which calls the dynadot-client and returns the result as text.
async ({ domain }) => { try { const result = await client.getDnssec(domain); return { content: [ { type: "text" as const, text: JSON.stringify(result, null, 2) }, ], }; } catch (error) { const msg = error instanceof Error ? error.message : String(error); return { content: [ { type: "text" as const, text: `Failed to get DNSSEC: ${msg}` }, ], isError: true, }; - src/tools/dns.ts:184-189 (registration)The MCP tool registration for get_dnssec.
server.tool( "get_dnssec", "Get DNSSEC (Domain Name System Security Extensions) settings for a domain.", { domain: z.string().describe("Domain name to query DNSSEC for"), }, - The API client method that performs the actual network call to the Dynadot API.
async getDnssec(domain: string): Promise<DynadotResponse> { return this.call("get_dnssec", { domain }); }