---
title: "Set PTR for a specific IP"
method: PUT
path: "/dedicated/{serviceId}/ips/{ip}/rdns"
tags: ["Dedicated Servers"]
---

# Set PTR for a specific IP

`PUT /dedicated/{serviceId}/ips/{ip}/rdns`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/dedicated/{serviceId}/ips/{ip}/rdns`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Applied synchronously on most services. On services where the PTR
cannot be updated through an automated path, the response is
`{status: "queued", message: "..."}` and our team applies the
change manually within a few hours.

## Path parameters

- `serviceId` integer, required
- `ip` string, ipv4, required

## Request body

- object
  - `hostname` string, required

## Response `200`

rDNS updated (sync or queued)

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
