Skip to main content
Glama

hostinger-api-mcp

Official

DNS_validateDNSRecordsV1

Verify DNS record validity for a domain before applying updates. Ensures correct configurations with 200 Success or identifies errors with 422 Validation error to prevent misconfigurations.

Instructions

Validate DNS records prior to update for the selected domain.

If the validation is successful, the response will contain 200 Success code. If there is validation error, the response will fail with 422 Validation error code.

Use this endpoint to verify DNS record validity before applying changes.

Input 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

Input Schema (JSON Schema)

{ "properties": { "domain": { "description": "Domain name", "type": "string" }, "overwrite": { "description": "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.", "type": "boolean" }, "zone": { "description": "zone parameter", "items": { "description": "zone parameter", "properties": { "name": { "description": "Name of the record (use `@` for wildcard name)", "type": "string" }, "records": { "description": "Records assigned to the name", "items": { "description": "records parameter", "properties": { "content": { "description": "Content of the name record", "type": "string" } }, "required": [ "content" ], "type": "object" }, "type": "array" }, "ttl": { "description": "TTL (Time-To-Live) of the record", "type": "integer" }, "type": { "description": "Type of the record", "enum": [ "A", "AAAA", "CNAME", "ALIAS", "MX", "TXT", "NS", "SOA", "SRV", "CAA" ], "type": "string" } }, "required": [ "name", "records", "type" ], "type": "object" }, "type": "array" } }, "required": [ "domain", "zone" ], "type": "object" }

Other Tools from hostinger-api-mcp

Related Tools

    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