> ## Documentation Index
> Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up a PTR record

A PTR record maps an IP address to a domain name, as opposed to an A record which points a domain name to an IP address.

## What is a PTR record used for?

PTR records are normally used for outbound email servers, since incoming mail servers may not accept a message from an IP address that doesn't identify itself with a PTR record. A PTR record that matches the domain name from which an email was sent is one of the signals that the email shouldn't be marked as spam.

## Set up a PTR record

1. Navigate to the **Virtual private servers** or **Dedicated servers** section in the left-side menu.
2. Select the checkbox next to the server you want to edit PTR records for, then click **IP addresses**.

<Frame>
  <img src="https://mintcdn.com/gcore/BKVWNkQwRcOg3yPa/images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image1.png?fit=max&auto=format&n=BKVWNkQwRcOg3yPa&q=85&s=f3f97b599fcaa27103dca60fe834b39e" alt="IP addresses tab" width="1584" height="418" data-path="images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image1.png" />
</Frame>

3. In the window that opens, select the checkbox next to the IP address you want to edit, then click **Edit**.

<Frame>
  <img src="https://mintcdn.com/gcore/BKVWNkQwRcOg3yPa/images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image2.png?fit=max&auto=format&n=BKVWNkQwRcOg3yPa&q=85&s=c97d7730dc4d38a670f555ad24d00d06" alt="Edit IP address window" width="1296" height="420" data-path="images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image2.png" />
</Frame>

4. Enter a domain name in the **Domain** field and click **OK**. The PTR record will be created automatically.

<Frame>
  <img src="https://mintcdn.com/gcore/BKVWNkQwRcOg3yPa/images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image3.png?fit=max&auto=format&n=BKVWNkQwRcOg3yPa&q=85&s=8ecd0fe98dea711fdbf8afbf9282d351" alt="Domain field in the IP address settings" width="802" height="491" data-path="images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image3.png" />
</Frame>
