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
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name to clear settings for | |
| service | Yes | Service to clear |
Implementation Reference
- src/tools/settings.ts:365-393 (handler)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 }); }