Set reverse DNS
PUT/instances/:uuid/rdns
Sets reverse DNS for the instance's primary address in one address
family. That family must have a primary IP. Characters outside ASCII
letters, digits, periods, underscores, and hyphens are removed from
answer before it is applied.
Omitting answer, sending an empty string, or sending text that becomes
empty after normalization resets reverse DNS: IPv4 reverts to its default
hostname, and IPv6 has its PTR record removed. The response echoes the
normalized input, including an empty string for a reset. Use
GET /instances/{uuid}/rdns to read the resulting record.
Required scope: instance:write.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The address family and normalized input used for the update.
The body is not a JSON object, family is missing or invalid, or answer is not a string.
The API key is missing, invalid, expired, or revoked, or the account is disabled.
The API key lacks the required scope (insufficient_scope).
The requested resource is unavailable in your account.
The request could not be completed because of a service error.