Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

DNS → DNS Zone Update

AI-generated

Overview

This node operation updates a DNS zone for a specified domain using the Hostinger API. It allows users to send a raw JSON request body to modify DNS zone settings, which is useful for managing DNS records programmatically. Typical use cases include updating DNS records for domain management, automating DNS configuration changes, or integrating DNS updates into workflows.

Use Case Examples

  1. Updating DNS zone records for a domain to add or modify A, CNAME, or TXT records.
  2. Automating DNS zone configuration changes as part of domain provisioning or deployment processes.

Properties

Name Meaning
Domain The domain name for which the DNS zone will be updated.
Request Body Raw JSON body containing the DNS zone update data to be sent in the PUT request.

Output

JSON

  • response - The JSON response from the Hostinger API after updating the DNS zone.

Dependencies

  • Hostinger API key credential for authentication

Troubleshooting

  • Ensure the domain name is correctly specified and exists in the Hostinger account.
  • Verify the JSON structure in the Request Body is valid and conforms to the API requirements for DNS zone updates.
  • Check API authentication credentials are correctly configured and have necessary permissions.
  • Common errors include invalid domain, malformed JSON body, or insufficient permissions, which can be resolved by correcting input parameters and verifying credentials.

Links

Discussion