{"id":2295,"date":"2015-12-06T16:59:28","date_gmt":"2015-12-06T16:59:28","guid":{"rendered":"https:\/\/www.milesweb.com\/hosting-faqs\/?p=2295"},"modified":"2026-03-21T18:54:35","modified_gmt":"2026-03-21T13:24:35","slug":"what-is-a-ptr-record-how-to-add-ptr-record","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/","title":{"rendered":"What Is A PTR Record &amp; How To Add PTR Record?"},"content":{"rendered":"<p><strong>PTR record<\/strong>\u00a0essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface\u00a0contrary\u00a0to what <strong>A<\/strong> <strong>record <\/strong>does.\u00a0PTR records\u00a0are\u00a0also called Reverse DNS records.<\/p>\n<p>They are deployed for rDNS (Reverse Domain Name System) lookup. It helps in obtaining hostname or domain of the IP.\u00a0The owner of the IPs is usually the ISP, the <a href=\"https:\/\/www.milesweb.in\">web hosting provider<\/a>, or owned group directly assigned\u00a0by\u00a0ARIN.<\/p>\n<p>Nowadays\u00a0almost all external mail exchange servers perform\u00a0reverse DNS (rDNS) lookups prior to\u00a0accepting messages originating from sending mail servers. \u00a0Hence, it is recommended to set rDNS for a mail server.<\/p>\n<p>By using the following commands in Linux we can check if there is\u00a0the PTR record set or not for any IP.<\/p>\n<p><strong><em># host IP<\/em><\/strong><\/p>\n<p>or<\/p>\n<p><strong># <em>dig -x IP \u00a0 \u00a0 (Replace IP with the actual IP)<\/em><\/strong><\/p>\n<p>; &lt;&lt;&gt;&gt; DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.3 &lt;&lt;&gt;&gt; -x 20.xx.x.xx<br \/>\n;; global options: +cmd<br \/>\n;; Got answer:<br \/>\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 4311<br \/>\n;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0<\/p>\n<p>;; QUESTION SECTION:<br \/>\n;xx.x.xx.20.in-addr.arpa. IN PTR<\/p>\n<p>;; ANSWER SECTION:<br \/>\nxx.x.xx.20.in-addr.arpa. 14399 IN PTR rdns-20.xx.x.exampledomain.com.<\/p>\n<p>;; Query time: 334 msec<br \/>\n;; SERVER: 8.8.8.8#53(8.8.8.8)<br \/>\n;; WHEN: Sun Dec 6 20:36:54 2015<br \/>\n;; MSG SIZE rcvd: 92<\/p>\n<p>OR<\/p>\n<p>#\u00a0host\u00a0IP\u00a0<em> (Replace IP with the actual IP)<\/em><\/p>\n<p>xx.x.xx.20.in-addr.arpa\u00a0domain name pointer rdns-20.xx.x.exampledomain.com.<\/p>\n<p>For Windows you can open cmd or PowerShell and run the following command to obtain the output.<\/p>\n<p><strong><em>nslookup IP<\/em><\/strong><\/p>\n<p>Firstly, the\u00a0reverse DNS zone need to be created on the authoritative DNS nameserver for the required IP.<\/p>\n<p>Say you are in control &amp;\u00a0able to access \u00a0the authoritative nameserver, then the first step would be to\u00a0create a rDNS zone. It has be be in a specific format. It begins\u00a0with a portion of \u00a0IP address written backward followed by <em>.in-addr.arpa.<\/em><\/p>\n<p>For instance\u00a0your IP addr \u00a0is 20.xx<em>.x.xx<\/em>, you begin\u00a0by dropping the final octet (last set of numbers) to give you\u00a020.xx.x<em>.<\/em><\/p>\n<p>Next, you need to reverse that fragment of the IP address giving you: x.xx<em>.20.\u00a0Now, append <em>.in-addr.arpa.<\/em>\u00a0to set the\u00a0reverse zone domain of:\u00a020.xx.x<em>.<\/em><em>in-addr.arpa.<\/em><\/em><\/p>\n<p><em><strong>&#8211; Creating PTR Record.<\/strong><\/em><\/p>\n<p>Once done with the creation of\u00a0zone file we can move ahead to create\u00a0the PTR record.<\/p>\n<p>Edit <em>in-addr.arpa of the zone and f<\/em>or the Canonical Hostname, set\u00a0the domain name of your choice you would\u00a0want\u00a0the IP address to resolve to, for\u00a0example, myhostptr.domain.com<\/p>\n<p>Save the DNS zone file after you&#8217;ve set the PTR or rDNS. NOTE: it will take sometime for the propagation.<\/p>\n<p>For clients with MilesWeb, PTR record are set after receiving proper justification at support@milesweb.com. Only one single PTR record will be set instead of multiple.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PTR record\u00a0essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface\u00a0contrary\u00a0to what A record does.\u00a0PTR records\u00a0are\u00a0also called Reverse DNS records. They are deployed for rDNS (Reverse Domain Name System) lookup. It helps in obtaining hostname or domain of the IP.\u00a0The owner of the IPs is usually the ISP, [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3089],"tags":[],"class_list":["post-2295","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-general-information-domain"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Is A PTR Record &amp; How To Add PTR Record?<\/title>\n<meta name=\"description\" content=\"PTR record essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface contrary to what A record does.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is A PTR Record &amp; How To Add PTR Record?\" \/>\n<meta property=\"og:description\" content=\"PTR record essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface contrary to what A record does.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-06T16:59:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-21T13:24:35+00:00\" \/>\n<meta name=\"author\" content=\"Amol Naik\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amol Naik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/\"},\"author\":{\"name\":\"Amol Naik\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3\"},\"headline\":\"What Is A PTR Record &amp; How To Add PTR Record?\",\"datePublished\":\"2015-12-06T16:59:28+00:00\",\"dateModified\":\"2026-03-21T13:24:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/\"},\"wordCount\":487,\"commentCount\":0,\"articleSection\":[\"General Information\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/\",\"name\":\"What Is A PTR Record & How To Add PTR Record?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2015-12-06T16:59:28+00:00\",\"dateModified\":\"2026-03-21T13:24:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3\"},\"description\":\"PTR record essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface contrary to what A record does.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is A PTR Record &amp; How To Add PTR Record?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3\",\"name\":\"Amol Naik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g\",\"caption\":\"Amol Naik\"},\"sameAs\":[\"https:\/\/www.milesweb.com\/\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/amol\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is A PTR Record & How To Add PTR Record?","description":"PTR record essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface contrary to what A record does.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/","og_locale":"en_US","og_type":"article","og_title":"What Is A PTR Record & How To Add PTR Record?","og_description":"PTR record essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface contrary to what A record does.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2015-12-06T16:59:28+00:00","article_modified_time":"2026-03-21T13:24:35+00:00","author":"Amol Naik","twitter_misc":{"Written by":"Amol Naik","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/"},"author":{"name":"Amol Naik","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3"},"headline":"What Is A PTR Record &amp; How To Add PTR Record?","datePublished":"2015-12-06T16:59:28+00:00","dateModified":"2026-03-21T13:24:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/"},"wordCount":487,"commentCount":0,"articleSection":["General Information"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/","name":"What Is A PTR Record & How To Add PTR Record?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2015-12-06T16:59:28+00:00","dateModified":"2026-03-21T13:24:35+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3"},"description":"PTR record essentially resolves an IP address to a fully qualified domain name (FQDN) or map a network interface contrary to what A record does.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/what-is-a-ptr-record-how-to-add-ptr-record\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"What Is A PTR Record &amp; How To Add PTR Record?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3","name":"Amol Naik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g","caption":"Amol Naik"},"sameAs":["https:\/\/www.milesweb.com\/"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/amol\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=2295"}],"version-history":[{"count":9,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2295\/revisions"}],"predecessor-version":[{"id":5190,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2295\/revisions\/5190"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=2295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=2295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=2295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}