Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

Domain → Update Nameservers

AI-generated

Overview

This node operation updates the nameservers for a specified domain using the Hostinger API. It allows users to set primary, secondary, tertiary, and quaternary nameserver IP addresses for the domain. This is useful for managing DNS settings and ensuring that the domain points to the correct nameservers for web hosting or other services.

Use Case Examples

  1. Updating the primary and secondary nameservers of a domain to new IP addresses.
  2. Adding tertiary and quaternary nameservers to improve DNS redundancy for a domain.

Properties

Name Meaning
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)
Domain Full domain name including TLD (required)

Output

JSON

  • response - API response containing the result of the nameserver update operation

Dependencies

  • Hostinger API with an API key credential

Troubleshooting

  • Ensure the domain name is correctly formatted and includes the TLD.
  • Verify that the primary nameserver IP address is provided as it is required.
  • Check API authentication credentials if requests fail due to authorization errors.
  • Handle optional nameserver fields carefully; missing optional nameservers are allowed but must be valid if provided.

Links

Discussion