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
VPS → Update Nameservers
AI-generatedOverview
This node operation updates the nameservers for a specified VPS (Virtual Private Server) using the Hostinger API. It allows users to set primary, secondary, tertiary, and quaternary nameserver IP addresses for the VPS. This operation is useful for managing DNS settings of a VPS to control domain name resolution.
Use Case Examples
- Updating the primary and secondary nameservers of a VPS to new IP addresses to improve DNS resolution or switch DNS providers.
- Setting all four nameserver IP addresses for a VPS to ensure redundancy and reliability in DNS resolution.
Properties
| Name | Meaning |
|---|---|
| Virtual Machine ID | The unique identifier of the VPS for which the nameservers will be updated. |
| Nameserver 1 | Primary nameserver IP address (required). |
| Nameserver 2 | Secondary nameserver IP address (optional). |
| Nameserver 3 | Tertiary nameserver IP address (optional). |
| Nameserver 4 | Quaternary nameserver IP address (optional). |
Output
JSON
response- The JSON response from the Hostinger API after updating the VPS nameservers, containing details of the update operation.
Dependencies
- Hostinger API with authentication credentials
Troubleshooting
- Ensure the Virtual Machine ID is correct and corresponds to an existing VPS.
- Verify that the primary nameserver IP address (ns1) is provided and valid, as it is required.
- Check network connectivity and API authentication credentials if the request fails.
- Common error messages may include invalid VM ID, unauthorized access, or invalid IP address format for nameservers.
Links
- Hostinger API VPS Update Nameservers - Official API documentation for updating VPS nameservers using the Hostinger API.