Actions100
- Billing Actions
- DNS Actions
- Domain Actions
- Domain Forwarding Actions
- Domain WHOIS Actions
- Reach Actions
- VPS Actions
- VPS Actions Actions
- VPS Backups Actions
- VPS Data Centers Actions
- VPS Docker Manager Actions
- VPS Firewall Actions
- VPS Malware Scanner Actions
- VPS Post Install Scripts Actions
- VPS PTR Actions
- VPS Public Keys Actions
- VPS Snapshots Actions
- VPS Templates Actions
DNS → DNS Snapshot Restore
AI-generatedOverview
This node operation allows users to restore a DNS snapshot for a specified domain using the Hostinger API. It is useful for scenarios where a user needs to revert DNS settings to a previous state captured in a snapshot, such as recovering from misconfigurations or accidental changes. For example, if a DNS zone was incorrectly updated, restoring a snapshot can quickly revert the DNS records to a known good configuration.
Use Case Examples
- Restore a DNS snapshot for the domain 'example.com' using a specific snapshot ID to revert DNS settings to a previous state.
- Automate DNS recovery processes by restoring snapshots after DNS zone validation failures.
Properties
| Name | Meaning |
|---|---|
| Snapshot ID | The identifier of the DNS snapshot to restore. Required to specify which snapshot to revert to. |
| Domain | The domain name for which the DNS snapshot will be restored. This specifies the DNS zone affected by the restore operation. |
| Request Body | Optional raw JSON body for the POST request, allowing advanced users to specify additional parameters if needed. |
Output
JSON
response- The JSON response from the Hostinger API after attempting to restore the DNS snapshot, containing details about the operation's success or failure.
Dependencies
- Hostinger API authentication credential
Troubleshooting
- Ensure the Snapshot ID and Domain are correctly specified; incorrect values will cause the API call to fail.
- Check that the Hostinger API credentials are valid and have sufficient permissions to perform DNS snapshot restore operations.
- If the API returns an error, review the error message included in the node output to identify issues such as invalid snapshot ID, domain not found, or network problems.
Links
- Hostinger API DNS Snapshot Restore - Official API documentation for restoring DNS snapshots using the Hostinger API.