Skip to main content
Glama

clear_domain_setting

Remove specific service configurations like forwarding, parking, or DNS from a domain registered through Dynadot.

Instructions

Clear a specific service setting from a domain (e.g., forwarding, parking, hosting, DNS, email forwarding).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to clear settings for
serviceYesService to clear

Implementation Reference

  • Tool handler for clear_domain_setting in settings.ts.
    server.tool(
      "clear_domain_setting",
      "Clear a specific service setting from a domain (e.g., forwarding, parking, " +
        "hosting, DNS, email forwarding).",
      {
        domain: z.string().describe("Domain name to clear settings for"),
        service: z
          .enum(["forwarding", "stealth", "parking", "hosting", "dns", "email_forward"])
          .describe("Service to clear"),
      },
      async ({ domain, service }) => {
        try {
          const result = await client.clearDomainSetting(domain, service);
          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 clear setting: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );
  • API client method for clear_domain_setting.
    async clearDomainSetting(domain: string, service: string): Promise<DynadotResponse> {
      return this.call("set_clear_domain_setting", { domain, service });
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/dynadot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server