Repoint a hostname
repoint_hostnameRepoint an existing hostname to a new IP or platform endpoint so the name keeps working when the machine moves. Prevents public-to-private repointing to block DNS rebinding.
Instructions
Point an existing hostname at a new address. This is what makes the name worth having: the machine moves, the name does not, and everything holding the URL keeps working.
Repointing within an address class is free, including between IPv4 and IPv6. Crossing between public and private is refused, because one name resolving public then private is how DNS rebinding works.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The hostname's id, from list_hostnames. | |
| ip | No | The new address. | |
| target | No | A platform endpoint to follow instead. |