{"id":4351,"date":"2019-09-18T23:51:47","date_gmt":"2019-09-18T20:51:47","guid":{"rendered":"https:\/\/www.veriteknik.net.tr\/?p=4351"},"modified":"2019-09-18T23:51:48","modified_gmt":"2019-09-18T20:51:48","slug":"how-to-add-reverse-dns-delegation-for-ripe","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/how-to-add-reverse-dns-delegation-for-ripe\/","title":{"rendered":"How to add reverse DNS delegation for RIPE"},"content":{"rendered":"<p>Let&#8217;s say we want to add reverse DNS delegation for the IP block 123.234.12.0\/24<\/p>\n<p>The first step of the configuration is on the nameserver, BIND on our case.<\/p>\n<p>Create the relevant reverse DNS file on \/var\/named\/rev and then edit the file:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">cd \/var\/named\/rev\ntouch 123.234.12\nvim 123.234.12<\/pre>\n<p>The file contents should be like the following:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">$TTL 3D\n@       IN      SOA     ns1.rackdc.com. postmaster.rackdc.com. (\n                        2018112201   ; Serial, todays date + todays serial\n                        8H      ; Refresh\n                        2H      ; Retry\n                        4W      ; Expire\n                        1D)     ; Minimum TTL\n                                ; Created on http:\/\/root0.net 2005-10-27\n                 NS             ns1.rackdc.com.\n                 NS\t\tns2.rackdc.com.\n                 \n$ORIGIN 12.234.123.in-addr.arpa.\n\n\n12\t\tPTR\t\trackdc.com.\n<\/pre>\n<p>After configuring this file with correct details, edit the file \/etc\/named.conf to include the file you&#8217;ve just created.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">vim \/etc\/named.conf<\/pre>\n<p>Add the following line in the file:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">zone \"12.234.123.in-addr.arpa\" { notify yes; type master; file \"\/var\/named\/rev\/123.234.12\";allow-query { any; };};<\/pre>\n<p>Finally, restart the DNS service.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">service named restart<\/pre>\n<p>It is important to complete this step before creating an object in RIPE.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s say we want to add reverse DNS delegation for the IP block 123.234.12.0\/24 The first step of the configuration is on the nameserver, BIND on our case. Create the relevant reverse DNS file on \/var\/named\/rev and then edit the file: cd \/var\/named\/rev touch 123.234.12 vim 123.234.12 The file contents should be like the following: [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[386],"tags":[403,805,563],"yst_prominent_words":[812,813,814,605,811,810,815],"class_list":["post-4351","post","type-post","status-publish","format-standard","hentry","category-network","tag-dns","tag-rdns","tag-ripe"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Tunc Y\u0131ld\u0131r\u0131m","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/tuncenator\/"},"uagb_comment_info":0,"uagb_excerpt":"Let&#8217;s say we want to add reverse DNS delegation for the IP block 123.234.12.0\/24 The first step of the configuration is on the nameserver, BIND on our case. Create the relevant reverse DNS file on \/var\/named\/rev and then edit the file: cd \/var\/named\/rev touch 123.234.12 vim 123.234.12 The file contents should be like the following:&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/4351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=4351"}],"version-history":[{"count":3,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/4351\/revisions"}],"predecessor-version":[{"id":4355,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/4351\/revisions\/4355"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=4351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=4351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=4351"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=4351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}