Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

DNS → DNS Zone Reset

AI-generated

Overview

This node operation interacts with the Hostinger API to reset a DNS zone for a specified domain. It sends a POST request to the Hostinger DNS API endpoint to reset the DNS zone to its default state. This operation is useful for users who want to clear custom DNS settings and restore the DNS zone to its original configuration, for example, when troubleshooting DNS issues or starting fresh with DNS configurations.

Use Case Examples

  1. Resetting the DNS zone of 'example.com' to default settings after misconfiguration.
  2. Automating DNS zone resets for multiple domains in bulk to maintain consistent DNS states.

Properties

Name Meaning
Domain The domain name for which the DNS zone will be reset.
Request Body Raw JSON body for POST requests, allowing custom data to be sent with the reset request if needed.

Output

JSON

  • response - The JSON response from the Hostinger API after resetting the DNS zone, containing details about the operation's success or failure.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the domain name is correctly specified and exists in the Hostinger account.
  • Check that the API authentication credentials are valid and have permissions to modify DNS zones.
  • If the API returns an error, verify the request body JSON format if custom data is provided.
  • Network connectivity issues may prevent the API request from completing successfully.

Links

Discussion