Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

DNS_updateDNSRecordsV1

Modify domain DNS configuration by updating or replacing existing records. Choose to overwrite records or append new ones, adjusting TTL values and adding entries as needed.

Instructions

Update DNS records for the selected domain.

Using overwrite = true will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.

Use this endpoint to modify domain DNS configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
overwriteNoIf `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created.
zoneYeszone parameter

Implementation Reference

  • TypeScript interface definition (schema) for the DNS_updateDNSRecordsV1 tool, specifying input parameters (domain: string, overwrite?: boolean, zone: array) and generic response.
    "DNS_updateDNSRecordsV1": { params: { /** * Domain name */ domain: string; /** * If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created. */ overwrite?: boolean; /** * zone parameter */ zone: array; }; response: any; // Response structure will depend on the API };
  • Full schema including JSDoc description for DNS_updateDNSRecordsV1 tool.
    /** * Update DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added. Use this endpoint to modify domain DNS configuration. */ "DNS_updateDNSRecordsV1": { params: { /** * Domain name */ domain: string; /** * If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created. */ overwrite?: boolean; /** * zone parameter */ zone: array; }; 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