{"id":19031,"date":"2020-11-20T10:41:22","date_gmt":"2020-11-20T02:41:22","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=19031"},"modified":"2022-09-07T21:40:15","modified_gmt":"2022-09-07T13:40:15","slug":"what-is-reverse-dns-or-ptr-record","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/what-is-reverse-dns-or-ptr-record","title":{"rendered":"What is Reverse DNS or PTR Record ?"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"19031\" class=\"elementor elementor-19031\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d9c5799 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d9c5799\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5caba12\" data-id=\"5caba12\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7ed0218 elementor-widget elementor-widget-heading\" data-id=\"7ed0218\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What is reverse DNS?\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-61b1895 elementor-widget elementor-widget-text-editor\" data-id=\"61b1895\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>We often use reverse DNS lookup as a DNS query for the <a href=\"https:\/\/www.casbay.com\/domain\">domain name<\/a> associated with a given IP address. This accomplishes the opposite- forward DNS lookup, in which the DNS system is queried to return an IP address.<\/p><p>Standards from the Internet Engineering Task Force (IETF) suggest that every domain should be capable of reverse DNS lookup. However, as reverse lookups are not critical to the normal function of the Internet, they are not hard requirements. Thus, reverse DNS lookups are not universally adopted.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d18cfc0 elementor-widget elementor-widget-heading\" data-id=\"d18cfc0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How does it work?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-665a981 elementor-widget elementor-widget-text-editor\" data-id=\"665a981\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Reverse DNS lookups query DNS servers for a PTR (pointer) record. The server cannot resolve a reverse lookup if it does not have a PTR record. PTR records store segment-reversed IP addresses, and they append \u2018.in-addr.arpa\u2019 to that. For example, if a domain has an IP address of 193.1.1.1, the PTR record will store the domain&#8217;s information under 1.1.1.193.in-addr.arpa.<\/p><p>In IPv6 (latest version of the Internet Protocol), PTR records are stored within the &#8216;.ip6.arpa&#8217; domain instead of &#8216;.in-addr.arpa.&#8217;<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8cb3cbc elementor-widget elementor-widget-heading\" data-id=\"8cb3cbc\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What are reverse DNS lookups used for?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b9cf22 elementor-widget elementor-widget-text-editor\" data-id=\"4b9cf22\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Reverse lookups are commonly used by email servers to check if an email message came from a valid server before bringing it onto their network. Many email servers will reject messages from any server that does not support reverse lookups or from a server that is not legitimate. Spammers often use IP addresses from hijacked machines. This means that there will be no PTR record. Besides, they may use dynamically assigned IP addresses that lead to server domains with highly generic names.<\/p><p>Also, logging software employs reverse lookups. They provide users with human-readable domains in their log data, as opposed to a bunch of numeric IP addresses.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e448ee elementor-widget elementor-widget-heading\" data-id=\"7e448ee\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How can you utilize it?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3ceba8e elementor-widget elementor-widget-text-editor\" data-id=\"3ceba8e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>We recommend you to utilize online reverse lookup tools, such as <a href=\"https:\/\/mxtoolbox.com\/ReverseLookup.aspx\" rel=\"noopener\">MxToolBox<\/a>. The tool allows you to find out the hostname of the IP address. What you need to do is just enter the IP address in the field and press the Reverse Lookup button.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6a34cc3 elementor-widget elementor-widget-image\" data-id=\"6a34cc3\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/mx-tool-box-to-check-ptr-record.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-08de709 elementor-widget elementor-widget-heading\" data-id=\"08de709\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What is PTR Record?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-306a6a9 elementor-widget elementor-widget-text-editor\" data-id=\"306a6a9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>We use PTR records for the Reverse DNS (Domain Name System) lookup. You can get the associated domain\/hostname when using the IP address. For every PTR record, there is an A record. Reverse DNS setup for a mail server is a good solution.<\/p><p>In the domain DNS zone, the hostname is pointed to an IP address.<br \/>In the reverse zone, it allows an IP address to be pointed to a hostname.<br \/>You need to use a PTR record in the reverse DNS zone. The PTR record can resolve the IP address to a domain\/hostname.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b8228c6 elementor-widget elementor-widget-heading\" data-id=\"b8228c6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Why do you need it?\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-af58e9c elementor-widget elementor-widget-text-editor\" data-id=\"af58e9c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>PTR records provide trust that the given hostname or a domain is connected to the IP address. The PTR records are must-have for outgoing mail servers, because most of the mail providers reject or mark as spam messages received by mail servers without valid reverse DNS configuration (missing PTR or mismatch A record for the hostname).<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8bf7924 elementor-widget elementor-widget-heading\" data-id=\"8bf7924\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to create a PTR record?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c3e5014 elementor-widget elementor-widget-text-editor\" data-id=\"c3e5014\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>In order to create a PTR record, we would first need to be created a Reverse DNS zone. The reverse DNS zone depends on the size of the IP network. For example, we use an IPv4 \/24 network. In the \/24 network, there will be 255 unique IP addresses. For example, if the network is 192.168.0.0\/24, then the available IPs in this network are from 192.168.0.1 to 192.168.0.255. The reverse zone has the following format: 0.168.192.in-addr.arpa<\/p><p>To create a reverse DNS zone, go to the Control Panel. After that, click on the Add new zone button and choose Master Reverse DNS zone. Next, fill in the reverse zone name of your IP network.\u00a0<\/p><p>Now in the reverse zone, we can add PTR records for each IP from the network. Moreover, we can add a new PTR record by clicking the button &#8220;Add new record&#8221;. These are some examples for the first two IP address:<\/p><p><span style=\"text-decoration: underline;\">For 192.168.0.1<br \/><\/span>Type: PTR<br \/>Host: 1<br \/>Points to: <em>hostname1.example.com<\/em><\/p><p><span style=\"text-decoration: underline;\">For 192.168.0.2:<\/span><br \/>Type: PTR<br \/>Host: 2<br \/>Points to: <em>hostname2.example.com<\/em><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>What is reverse DNS? We often use reverse DNS lookup as a DNS query for the domain name associated with a given IP address. This accomplishes the opposite- forward DNS lookup, in which the DNS system is queried to return an IP address. Standards from the Internet Engineering Task Force (IETF) suggest that every domain [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[118],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/19031"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=19031"}],"version-history":[{"count":14,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/19031\/revisions"}],"predecessor-version":[{"id":36902,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/19031\/revisions\/36902"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=19031"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=19031"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=19031"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=19031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}