change_dns_ptr
Set or reset reverse DNS (PTR) records for a Hetzner Cloud server, Primary IP, Floating IP, or load balancer by providing a hostname or null.
Instructions
Set or reset reverse DNS (PTR) for a public IP of a server, Primary IP, Floating IP, or load balancer. dns_ptr is always required: pass a hostname to set it, or null to reset it to the Hetzner default. Returns an Action
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource": "<resource>",
"id": "<id>",
"ip": "<ip>",
"dns_ptr": "<dns_ptr>"
},
"name": "change_dns_ptr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the server / Primary IP / Floating IP / load balancer | |
| ip | Yes | The public IP to set the PTR for (IPv4, or a single IPv6 address within the resource's /64) | |
| dns_ptr | Yes | Hostname, e.g. mail.example.com; null resets to default | |
| resource | Yes |