> ## Documentation Index
> Fetch the complete documentation index at: https://gcore-doc-1256a.mintlify.site/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-doc-1256a/zU-Vpxi_ehZUP3s9/images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image1.png?fit=max&auto=format&n=zU-Vpxi_ehZUP3s9&q=85&s=58e834e1d525eea3fad508c4007ec7ee" 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-doc-1256a/zU-Vpxi_ehZUP3s9/images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image2.png?fit=max&auto=format&n=zU-Vpxi_ehZUP3s9&q=85&s=e38b2c6d8f6a75caaebc5561a73f13a6" 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-doc-1256a/zU-Vpxi_ehZUP3s9/images/docs/hosting/virtual-servers/manage/set-up-a-ptr-record/set-up-a-ptr-record-image3.png?fit=max&auto=format&n=zU-Vpxi_ehZUP3s9&q=85&s=65dbff5773b4bc5ccb5b69ae4f2c3bd4" 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>
