Skip to main content
Glama

hostinger-api-mcp

Official

VPS_setNameserversV1

Configure custom DNS nameservers for a specified virtual machine on Hostinger's infrastructure to ensure proper domain name resolution.

Instructions

Set nameservers for a specified virtual machine.

Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names.

Use this endpoint to configure custom DNS resolvers for VPS instances.

Input Schema

NameRequiredDescriptionDefault
ns1Yesns1 parameter
ns2Nons2 parameter
ns3Nons3 parameter
virtualMachineIdYesVirtual Machine ID

Input Schema (JSON Schema)

{ "properties": { "ns1": { "description": "ns1 parameter", "type": "string" }, "ns2": { "description": "ns2 parameter", "type": "string" }, "ns3": { "description": "ns3 parameter", "type": "string" }, "virtualMachineId": { "description": "Virtual Machine ID", "type": "integer" } }, "required": [ "virtualMachineId", "ns1" ], "type": "object" }

Implementation Reference

  • Schema definition for the VPS_setNameserversV1 tool, specifying input parameters: virtualMachineId (number), ns1 (string), optional ns2 and ns3 (strings). Describes setting nameservers for a VPS.
    "VPS_setNameserversV1": { params: { /** * Virtual Machine ID */ virtualMachineId: number; /** * ns1 parameter */ ns1: string; /** * ns2 parameter */ ns2?: string; /** * ns3 parameter */ ns3?: string; }; response: any; // Response structure will depend on the API };

Other Tools

Related Tools

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/hostinger/api-mcp-server'

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