> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/ip-addresses/how-tos/change-ptr-records.md).

# Change PTR records

***

## Change a PTR record using the control panel

PTR records are used for reverse DNS lookups. Instead of resolving a name to an IP address, a PTR record resolves an IP address to a name.

These PTR records can be modified under **IP addresses** in the control panel. On the **Overview** tab, you can see all your IP addresses, both reserved and those in use on a server.

To change the PTR record, click the pencil icon to the right of the IP address.

<figure><img src="/files/8Btfx5Iu57lIjLuMRds9" alt=""><figcaption></figcaption></figure>

A dialog box will open where you can enter the new FQDN (fully qualified domain name) for the IP address. Note that the name must end with a period. The period indicates the top of the DNS hierarchy.

Once you have entered the new name, click **Update**.

<div align="left"><figure><img src="/files/gy3obKmFf0vjfhu53WoW" alt=""><figcaption></figcaption></figure></div>

You can now test whether the IP address points to the correct name using the `host` command:

{% code title="Command" %}

```
host 203.0.113.49
```

{% endcode %}

{% code title="Output" %}

```
49.113.0.203.in-addr.arpa domain name pointer labserver1.glesys.com.
```

{% endcode %}

## Change a PTR record using the API

1. To check the current PTR record for an IP address using the [API](/platform/control-panel/api.md), use the [ip/details](https://github.com/GleSYS/API-docs/wiki/API-Documentation#ipdetails) endpoint.
2. To change the PTR record for an IP address, use the [ip/setptr](https://github.com/GleSYS/API-docs/wiki/API-Documentation#ipsetptr) endpoint.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.glesys.com/products/connectivity/ip-addresses/how-tos/change-ptr-records.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
