Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

DNS → DNS Snapshot Get

AI-generated

Overview

This node interacts with the Hostinger API to retrieve a DNS snapshot for a specified domain and snapshot ID. It is useful for scenarios where users need to access historical DNS configurations or backup states for a domain managed through Hostinger. For example, a user can fetch a DNS snapshot to review or audit past DNS settings before making changes.

Use Case Examples

  1. Retrieve a DNS snapshot by providing the domain and snapshot ID to view the DNS records at a specific point in time.
  2. Use the node to automate backup verification by fetching DNS snapshots regularly.

Properties

Name Meaning
Snapshot ID The identifier of the DNS snapshot to retrieve.
Domain The domain name for which the DNS snapshot is requested.

Output

JSON

  • response - The JSON response containing the DNS snapshot details from the Hostinger API.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the Snapshot ID and Domain are correctly specified; incorrect values will result in API errors.
  • Verify that the Hostinger API credentials are valid and have the necessary permissions to access DNS snapshots.
  • Common error messages include 'Unsupported operation' if the operation name is incorrect, or HTTP errors if the API endpoint is unreachable or credentials are invalid.

Links

Discussion