Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Floating IP → Change DNS PTR

AI-generated

Summary

Sets or changes the reverse DNS (PTR) record for one IP address of a Hetzner Cloud Floating IP by calling the change_dns_ptr action endpoint, and returns the resulting action object.

Inputs

  • Floating IP (required) — The Floating IP to operate on. Pick it from a searchable list (labelled by name, falling back to IP, then ID) or enter its numeric ID. It is used in the request path: POST /v1/floating_ips/{id}/actions/change_dns_ptr.
  • IP (required) — The specific IP address to set the reverse DNS entry for, e.g. 1.2.3.4. Sent as ip in the request body.
  • DNS Pointer (required) — The hostname to use as the PTR record, e.g. server.example.com. Sent as dns_ptr in the request body.
  • Request Options — Optional node settings: batching (items per batch, default 50, and interval, default 1000 ms), ignore SSL issues, an HTTP proxy, and a timeout (default 10000 ms).

Output shape

One item per input item, containing the Hetzner Cloud action object from the API response (the response's action root property is unwrapped). It describes the asynchronous action, such as its id, command, status and progress.

The PTR change runs as an asynchronous Hetzner action, so the returned status may still be running. Use the Action resource's Get operation to check its completion. The operation does not return the updated Floating IP object.

Examples

Example 1: Point a Floating IP's reverse DNS at a mail server hostname

Floating IP: From List → select the IP; IP: 203.0.113.10; DNS Pointer: mail.example.com

Example 2: Set the PTR for a Floating IP ID coming from an earlier node

Floating IP: By ID with expression {{ $json.id }}; IP: {{ $json.ip }}; DNS Pointer: {{ $json.hostname }}

Links

Discussion