{"id":1100,"date":"2021-01-18T15:50:09","date_gmt":"2021-01-18T15:50:09","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/01\/18\/4805528-how-to-setup-reverse-dns-on-vps\/"},"modified":"2026-10-29T14:54:51","modified_gmt":"2026-10-29T14:54:51","slug":"4805528-how-to-setup-reverse-dns-on-vps","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4805528-how-to-setup-reverse-dns-on-vps\/","title":{"rendered":"How to setup reverse DNS on VPS"},"content":{"rendered":"<p>Set up reverse DNS on your Hostinger VPS by creating a PTR record on your server that points your VPS&#8217;s IP address back to your domain name. This guide covers what a PTR record does, how to confirm your domain is correctly pointed to your VPS beforehand, and how to add, verify, or remove a PTR record from your VPS Settings page.<\/p>\n<h2 id=\"h_b733d1bfd4\">What is a PTR record?<\/h2>\n<p class=\"no-margin\">PTR (Pointer) records are a type of DNS record used to <b>map an IP address to a domain name<\/b> in a reverse fashion compared to A records. While A records link domain names to IP addresses, PTR records perform the opposite task by associating IP addresses with their corresponding domain names.<\/p>\n<p class=\"no-margin\">PTR records are mainly used for a specific internet function known as <b>reverse DNS lookup<\/b>. This process is commonly used for security purposes, email verification, and network diagnostics.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Learn more about it: <b><a data-click-id=\"hgr-post-content-link-how-to-reverse-ip-lookup-and-check-ptr-record\" class=\"intercom-content-link\" href=\"\/tutorials\/what-is-nslookup\/\" target=\"_blank\" rel=\"noopener\">How to Reverse IP Lookup and Check PTR Record<\/a><\/b><\/p>\n<\/div>\n<h2 id=\"h_00db0a605f\">How to add a PTR record<\/h2>\n<p class=\"no-margin\">To manage PTR records on your VPS, follow these steps:<\/p>\n<h3 id=\"h_07257f92f7\">Step 1 \u2013 Preparations<\/h3>\n<p class=\"no-margin\">First, make sure that <b>the domain<\/b> is pointing to your VPS by <b>A record<\/b>. You can find the IP address of your VPS at the top of the <b><a data-click-id=\"hgr-post-content-link-vps-information\" class=\"intercom-content-link\" href=\"\/support\/5139756-how-to-find-your-vps-ip-address-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">VPS information<\/a><\/b> tab. Go to your domain\u2019s DNS Zone, according to its nameservers to verify it:<\/p>\n<ul>\n<li>\n<p class=\"no-margin\">If your domain is using <b>Hostinger nameservers<\/b>, check this guide: <b><a data-click-id=\"hgr-post-content-link-how-to-manage-a-records-at-hostinger\" class=\"intercom-content-link\" href=\"\/support\/4468886-how-to-manage-a-records-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">How to Manage A Records at Hostinger<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">If your domain is pointed elsewhere, your <b>DNS zone<\/b> is <b><a data-click-id=\"hgr-post-content-link-managed-from-there\" class=\"intercom-content-link\" href=\"\/support\/4410887-how-to-change-dns-records-in-other-domain-registrars-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">managed from there<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n<p class=\"no-margin\">If you made any changes to the domain\u2019s records, wait up to 24 hours for the<b> <a data-click-id=\"hgr-post-content-link-propagation\" class=\"intercom-content-link\" href=\"\/support\/4146975-what-is-dns-propagation-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">propagation<\/a><\/b> to be completed, then proceed to the next step.<\/p>\n<h3 id=\"h_3c9bc8d9cb\">Step 2 \u2013 Set the PTR record<\/h3>\n<p class=\"no-margin\">Unlike <b>A records<\/b>, which are created on the domain\u2019s DNS Zone, PTR records should be <b>created on the server<\/b>. Open the <b><a data-click-id=\"hgr-post-content-link-vps\" class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/servers\/\" target=\"_blank\" rel=\"noopener\">VPS<\/a><\/b> section of your Hostinger dashboard, select your server, and open the <b>Settings<\/b> page:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"aligncenter wp-image-11917 size-large\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48.png\/w=1024,h=541,fit=scale-down\" alt=\"\" width=\"1024\" height=\"541\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48.png\/w=1378,fit=scale-down 1378w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<p class=\"no-margin\">Go to the <b>IP address tab<\/b>, and click on <b>Set PTR record<\/b> next to the IPv4 or IPv6 address of your server according to your requirements.<\/p>\n<p class=\"no-margin\">On the pop-up window that will appear, enter the <b>PTR record name<\/b>, that is, the name of your domain, and click on <b>Save<\/b>. Once <b><a data-click-id=\"hgr-post-content-link-propagation-2\" class=\"intercom-content-link\" href=\"\/support\/4146975-what-is-dns-propagation-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">propagation<\/a><\/b> is completed, your PTR record will be fully operational.<\/p>\n<p class=\"no-margin\">If you need to <b>remove <\/b>an existing PTR record, you can do so in the same section by clicking on <b>Delete<\/b>:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"aligncenter wp-image-12051 size-large\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_22-36-scaled.png\/w=1024,h=299,fit=scale-down\" alt=\"\" width=\"1024\" height=\"299\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_22-36-scaled.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_22-36-scaled.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_22-36-scaled.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_22-36-scaled.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_22-36-scaled.png\/w=2048,fit=scale-down 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<p class=\"no-margin\">Deleting a PTR record will allow you to set a new one, for example, if you change your domain name.<\/p>\n<p><strong>NOTES<\/strong><\/p>\n<ul>\n<li>See <a data-click-id=\"hgr-post-content-link-how-to-change-the-dns-resolvers-on-hostinger-vps\" href=\"\/support\/5726596-how-to-change-the-dns-resolvers-on-hostinger-vps\/\">How to change the DNS resolvers on Hostinger VPS<\/a> for other details about changing the DNS resolvers on your VPS.<\/li>\n<li>See<a data-click-id=\"hgr-post-content-link-understanding-dns-resolvers-on-hostinger-vps\" href=\"\/support\/9625845-understanding-dns-resolvers-on-hostinger-vps\/\"> Understanding DNS resolvers on Hostinger VPS<\/a> for other details about what DNS resolvers do.<\/li>\n<li>See <a data-click-id=\"hgr-post-content-link-how-to-use-the-vps-dashboard-in-hostinger\" href=\"\/support\/5726606-how-to-use-the-vps-dashboard-in-hostinger\/\">How to use the VPS dashboard in Hostinger<\/a> for other details about setting a PTR record in the VPS dashboard.<\/li>\n<\/ul>\n<p>Your VPS IP address now maps back to your domain name through the PTR record.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using PTR record to setup reverse DNS on VPS at Hostinger<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[199],"tags":[],"class_list":["post-1100","post","type-post","status-publish","format-standard","hentry","category-vps-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4805528-how-to-setup-reverse-dns-on-vps","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4805528-como-usar-ptr-en-vps-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4805528-comment-utiliser-le-ptr-chez-hostinger-vps","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4805528-bagaimana-cara-menggunakan-ptr-di-vps-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/4805528-como-usar-registros-ptr-en-vps-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1100"}],"version-history":[{"count":8,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1100\/revisions"}],"predecessor-version":[{"id":23057,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1100\/revisions\/23057"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}