Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS PTR → Create PTR

AI-generated

Overview

This node operation creates a PTR (Pointer) record for a specified Virtual Private Server (VPS) virtual machine. PTR records are used in DNS to map an IP address to a domain name, commonly used for reverse DNS lookups. This operation is beneficial for managing VPS DNS settings, especially for email servers or services requiring reverse DNS configuration.

Use Case Examples

  1. Creating a PTR record for a VPS to enable reverse DNS lookup for its IP address.
  2. Automating the setup of PTR records for multiple VPS instances in a hosting environment.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS virtual machine for which the PTR record will be created.

Output

JSON

  • response - The JSON response from the Hostinger API after creating the PTR record, containing details of the created PTR.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the Virtual Machine ID is correct and corresponds to an existing VPS instance.
  • Verify that the API credentials for Hostinger API are valid and have permissions to create PTR records.
  • Check network connectivity to the Hostinger API endpoint.
  • Common errors include invalid Virtual Machine ID, insufficient permissions, or malformed request body. Verify input parameters and API access rights.

Links

Discussion