{"id":4155,"date":"2019-09-24T23:26:08","date_gmt":"2019-09-24T20:26:08","guid":{"rendered":"https:\/\/kifarunix.com\/?p=4155"},"modified":"2024-03-12T21:51:07","modified_gmt":"2024-03-12T18:51:07","slug":"setup-bind-dns-using-webmin-on-debian-10","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/setup-bind-dns-using-webmin-on-debian-10\/","title":{"rendered":"Setup Bind DNS Using Webmin on Debian 10"},"content":{"rendered":"\n<p>Welcome to our tutorial on how to install and setup Bind DNS using Webmin on Debian 10. <a aria-label=\"Webmin (opens in a new tab)\" href=\"http:\/\/www.webmin.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Webmin<\/a> is a web-based control panel that allows system administrators to administer system administration tasks from web user interface. This guide assumes that you have already installed Webmin on your Debian 10 server. If not, you can follow the link below.<\/p>\n\n\n\n<p>Or, you can work with a <a href=\"https:\/\/www.designrush.com\/agency\/it-services\/pennsylvania\/philadelphia\" target=\"_blank\" rel=\"noopener\">Philadelphia it company<\/a> to take care of the setup process for you.<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-webmin-on-debian-10\/\" target=\"_blank\">Install Webmin on Debian 10<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install and Configure Bind DNS Using Webmin on Debian 10<\/h3>\n\n\n\n<p>Once you have installed and configured Webmin on your Debian 10 Buster, proceed to install and setup Bind DNS using Webmin on your Debian 10 server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Login to Webmin as Administrative User<\/h3>\n\n\n\n<p>Since we are going to run system update as well as other system administrative tasks such as package installation via Webmin, login as a root user or a user with sudo rights.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/webmin-login-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"482\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/webmin-login-1.png\" alt=\"webmin login on Debian 10\" class=\"wp-image-4250\" title=\"\"><\/a><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Run System Update<\/h3>\n\n\n\n<p>Launch the terminal by pressing <strong>Alt+k<\/strong>. Next, run system package update command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt update -y<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install Bind DNS Server Module<\/h3>\n\n\n\n<p>Next, you need to install Bind DNS server module. This can be done from the Webmin interface. Hence, on the dashboard, navigate to <strong>Un-used Modules <\/strong>&gt; <strong>BIND DNS Server<\/strong> and click &#8220;<strong>Click here<\/strong>&#8221; to build Bind package and required dependencies for installation.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1350\" height=\"401\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages.png\" alt=\"Setup Bind DNS Using Webmin on Debian 10\" class=\"wp-image-4261\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages.png?v=1569355702 1350w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages-768x228.png?v=1569355702 768w\" sizes=\"(max-width: 1350px) 100vw, 1350px\" \/><\/a><\/figure>\n\n\n\n<p>Click <strong>Install Now<\/strong> to install the Bind packages and all required dependencies.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"517\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages-1.png\" alt=\"install Bind on webmin\" class=\"wp-image-4262\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages-1.png?v=1569355746 1348w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/install-bind-packages-1-768x295.png?v=1569355746 768w\" sizes=\"(max-width: 1348px) 100vw, 1348px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring BIND DNS Server Using Webmin<\/h3>\n\n\n\n<p>Once the installation is complete, click <strong>Return to BIND DNS Server<\/strong> below the screen to go back to BIND DNS Server configuration interface.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configure Access Control List<\/h3>\n\n\n\n<p>To begin with, create an access control list for your DNS server to specify the IP addresses or networks to deny or allow to query the DNS server.<\/p>\n\n\n\n<p>To create the ACL, Click <strong>Access Control Lists<\/strong> and set the name of the ACL and the IP addresses or the networks.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/acl.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1365\" height=\"436\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/acl.png\" alt=\"Create BIND ACL on Webmin\" class=\"wp-image-4263\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/acl.png?v=1569355891 1365w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/acl-768x245.png?v=1569355891 768w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/a><\/figure>\n\n\n\n<p>For example, we created an ACL called <code>allowed<\/code> to define the networks  (<code>192.168.56.0\/24<\/code>) of the hosts allowed to query our DNS server. Save the changes and click <strong>Return to zone list.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Define global server configuration options<\/h3>\n\n\n\n<p>Next, you need to configure BIND global configuration options. The&nbsp;<code>options<\/code>&nbsp;statement is used to set up global options to be used by&nbsp;BIND such as define the hosts are allowed to ask ordinary DNS questions, specify the location of the&nbsp;<code>named<\/code>&nbsp;working directory, the types of queries allowed, specify which hosts are allowed to make recursive queries through the DNS server<\/p>\n\n\n\n<p>These configurations can be mode on the <code>\/etc\/bind\/named.conf.options<\/code> configuration file.<\/p>\n\n\n\n<p>From <strong>BIND DNS Server<\/strong> interface, click <strong>Edit Config File<\/strong>. By default, you will see the <code>\/etc\/bind\/named.conf<\/code> configuration file selected.<\/p>\n\n\n\n<p>Hence, click on the drop down menu and select the <code>\/etc\/bind\/named.conf.options<\/code> configuration file. Make the changes on the file as shown in screenshot below;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/bind-options.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1342\" height=\"533\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/bind-options.png\" alt=\"BIND options\" class=\"wp-image-4264\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/bind-options.png?v=1569355977 1342w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/bind-options-768x305.png?v=1569355977 768w\" sizes=\"(max-width: 1342px) 100vw, 1342px\" \/><\/a><\/figure>\n\n\n\n<p>Click save and close to return to zone list.<\/p>\n\n\n\n<p>Some of the configuration options used above are;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>recursion<\/strong>&nbsp;\u2013 Specifies whether to act as a recursive server.<\/li>\n\n\n\n<li><strong>allow-recursion<\/strong>&nbsp;\u2013 Defines hosts to allow recursive queries from.<\/li>\n\n\n\n<li><strong>listen-on<\/strong>&nbsp;\u2013 Specifies the&nbsp;<code>IPv4<\/code>&nbsp;network interface on which to listen for queries.<\/li>\n\n\n\n<li><strong>allow-query<\/strong>&nbsp;\u2013 Specifies which hosts are allowed to query the nameserver for authoritative resource records.<\/li>\n\n\n\n<li><strong>allow-transfer<\/strong>&nbsp;\u2013 Specifies which secondary servers are allowed to request a transfer of the zone\u2019s information.&nbsp;<\/li>\n\n\n\n<li><strong>forwarders<\/strong>&nbsp;\u2013 Defines one or more IP addresses of name servers to query.<\/li>\n\n\n\n<li><strong>dnssec-validation<\/strong>&nbsp;\u2013 Specifies whether to prove that resource records are authentic through DNSSEC. The default option is&nbsp;<code>yes<\/code>.<\/li>\n\n\n\n<li><strong>auth-nxdomain<\/strong>&nbsp;\u2013 defines whether the server should answer authoritatively.<\/li>\n\n\n\n<li><strong>listen-on-v6<\/strong>&nbsp;\u2013 Specifies the&nbsp;<code>IPv6<\/code>&nbsp;network interface on which to listen for queries.<\/li>\n<\/ul>\n\n\n\n<p>Next, test the options configuration file we edited above by clicking on <strong>Check BIND Config<\/strong> under the Bind DNS server global server options.<\/p>\n\n\n\n<p>If there is no syntax error with the configuration file, you will see such an output.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/check-config.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1365\" height=\"433\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/check-config.png\" alt=\"Check BIND configuration for syntax errors\" class=\"wp-image-4265\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/check-config.png?v=1569356047 1365w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/check-config-768x244.png?v=1569356047 768w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Create BIND DNS Server Master Zone Statements<\/h4>\n\n\n\n<p>Next, you need to create the master forward and reverse zone statements. Click <strong>Create master zone<\/strong> on the BIND DNS server interface. This will open up a wizard where you can define the zone statement details.<\/p>\n\n\n\n<p>To begin with, create the forward zone statement <strong>(Forward: Names to Addresses)<\/strong> as shown in the screenshot below. Note, the @ in the email address will be converted to  dot (.) in SOA records.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/forward-zone-statement.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1116\" height=\"423\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/forward-zone-statement.png\" alt=\"BIND forward zone statement\" class=\"wp-image-4266\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/forward-zone-statement.png?v=1569356105 1116w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/forward-zone-statement-768x291.png?v=1569356105 768w\" sizes=\"(max-width: 1116px) 100vw, 1116px\" \/><\/a><\/figure>\n\n\n\n<p>Click <strong>Create<\/strong> to create the master forward zone statement.<\/p>\n\n\n\n<p>Next, create reverse zone statement by clicking <strong>Return to zone list<\/strong> &gt; <strong>Create master zone<\/strong>. This time round, select  <strong>Reverse: Addresses to Names<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reverse-zone-statement.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1115\" height=\"417\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reverse-zone-statement.png\" alt=\"Bind Reverse Zone statement\" class=\"wp-image-4267\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reverse-zone-statement.png?v=1569356135 1115w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/reverse-zone-statement-768x287.png?v=1569356135 768w\" sizes=\"(max-width: 1115px) 100vw, 1115px\" \/><\/a><\/figure>\n\n\n\n<p>Click <strong>Create<\/strong> to create the master reverse zone statement.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Set the A Records<\/h3>\n\n\n\n<p>On the master zone configuration page, click <strong>Addresses<\/strong>. To begin with, set the A record for your DNS server.<\/p>\n\n\n\n<p>Click <strong>Create<\/strong> to set the DNS server address A record. Next, you can add more addresses for other hosts.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/A-records.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1108\" height=\"482\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/A-records.png\" alt=\"BIND A records on Webmin\" class=\"wp-image-4268\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/A-records.png?v=1569356203 1108w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/A-records-768x334.png?v=1569356203 768w\" sizes=\"(max-width: 1108px) 100vw, 1108px\" \/><\/a><\/figure>\n\n\n\n<p>Once done, click <strong>Return to records type<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Name Server (NS) Records<\/h3>\n\n\n\n<p>Click <strong>Name Server<\/strong> on Master zone configuration page. If the name server record is not already set, for the <strong>zone name<\/strong>, enter the your domain for example, <strong>kifarunix-demo.com<\/strong> and for Name Server enter the FQDN of the DNS server, e.g <strong>ns1.kifarunix-demo.com<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/ns-records.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1115\" height=\"436\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/ns-records.png\" alt=\"Bind Name Server Records\" class=\"wp-image-4269\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/ns-records.png?v=1569356258 1115w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/ns-records-768x300.png?v=1569356258 768w\" sizes=\"(max-width: 1115px) 100vw, 1115px\" \/><\/a><\/figure>\n\n\n\n<p>Click <strong>Create<\/strong> to add the name server records. Once done, click <strong>Return to zone list<\/strong><\/p>\n\n\n\n<p>You should now have two master zones set (forward and reverse zones) with each having defined A records and PTR records respectively.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/master-zones.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1090\" height=\"617\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/master-zones.png\" alt=\"BIND Master Zone FIles Webmin\" class=\"wp-image-4270\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/master-zones.png?v=1569356542 1090w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/09\/master-zones-768x435.png?v=1569356542 768w\" sizes=\"(max-width: 1090px) 100vw, 1090px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Verify Zone Configuration Syntax<\/h3>\n\n\n\n<p>To check the validity of the zone configuration, click on <strong>Check BIND config<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"restarting-bind\">Running BIND<\/h4>\n\n\n\n<p>To restart BIND on the web interface, stop and start it by clicking the stop and play buttons on the top right corner of the interface. See the highlighted section in the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1131\" height=\"331\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/restart-bind.png\" alt=\"Restart BIND on Webmin Debian 10\" class=\"wp-image-5102\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/restart-bind.png?v=1583262131 1131w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/restart-bind-768x225.png?v=1583262131 768w\" sizes=\"(max-width: 1131px) 100vw, 1131px\" \/><\/figure>\n\n\n\n<p>If UFW is running, simply open the terminal (<strong>Alt+k)<\/strong> and run the command below to allow BIND.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ufw allow Bind9<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Verify if BIND is Working<\/h3>\n\n\n\n<p>To check if our DNS is working, we are going to use Fedora 30. Hence, login and create the interfaces IP addresses and DNS server details as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>nmcli con add type ethernet ifname enp0s8 con-name enp0s8 ipv4.addresses 192.168.56.114\/24 connection.autoconnect yes<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>nmcli con mod enp0s8 ipv4.method manual<\/code><\/pre>\n\n\n\n<p>Set the DNS Server<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>nmcli con mod enp0s8 ipv4.dns 192.168.56.105<\/code><\/pre>\n\n\n\n<p>Set the DNS search domain.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>nmcli con mod enp0s8 ipv4.dns-search kifarunix-demo.com<\/code><\/pre>\n\n\n\n<p>Bring up the interface.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>nmcli con up enp0s8<\/code><\/pre>\n\n\n\n<p>Check the DNS Server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>nmcli dev show enp0s8 | grep -i dns\nIP4.DNS[1]:                             192.168.56.105<\/code><\/pre>\n\n\n\n<p>Next, try to ping our host server (<strong>u18srv<\/strong>) that we added to the DNS server while setting the A records.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ping u18srv -c 4<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>PING u18srv.kifarunix-demo.com (192.168.56.108) 56(84) bytes of data.\n64 bytes from 192.168.56.108 (192.168.56.108): icmp_seq=1 ttl=64 time=0.871 ms\n64 bytes from 192.168.56.108 (192.168.56.108): icmp_seq=2 ttl=64 time=0.377 ms\n64 bytes from 192.168.56.108 (192.168.56.108): icmp_seq=3 ttl=64 time=0.792 ms\n64 bytes from 192.168.56.108 (192.168.56.108): icmp_seq=4 ttl=64 time=0.818 ms\n\n--- u18srv.kifarunix-demo.com ping statistics ---\n4 packets transmitted, 4 received, 0% packet loss, time 109ms\nrtt min\/avg\/max\/mdev = 0.377\/0.714\/0.871\/0.198 ms<\/code><\/pre>\n\n\n\n<p>Try to resolve the DNS server hostnames using dig command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dig ns1.kifarunix-demo.com<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>; &lt;&lt;&gt;&gt; DiG 9.11.9-RedHat-9.11.9-1.fc30 &lt;&lt;&gt;&gt; ns1.kifarunix-demo.com\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 30425\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n; COOKIE: 3f9abdac800a3185f47f59b45d8a6bdb9febaa9aa9179802 (good)\n;; QUESTION SECTION:\n;ns1.kifarunix-demo.com.\t\tIN\tA\n\n;; ANSWER SECTION:\nns1.kifarunix-demo.com.\t38400\tIN\tA\t192.168.56.105\n\n;; AUTHORITY SECTION:\nkifarunix-demo.com.\t38400\tIN\tNS\tns1.kifarunix-demo.com.\n\n;; Query time: 2 msec\n;; SERVER: 192.168.56.105#53(192.168.56.105)\n;; WHEN: Tue Sep 24 22:17:50 EAT 2019\n;; MSG SIZE  rcvd: 109<\/code><\/pre>\n\n\n\n<p>Resolve Ubuntu 18 hostname;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dig u18srv.kifarunix-demo.com<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>; &lt;&lt;&gt;&gt; DiG 9.11.9-RedHat-9.11.9-1.fc30 &lt;&lt;&gt;&gt; u18srv.kifarunix-demo.com\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 445\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n; COOKIE: b0214a69bddd5d265abd78305d8a6c17ee60809d19c6e347 (good)\n;; QUESTION SECTION:\n;u18srv.kifarunix-demo.com. IN A\n\n<strong>;; ANSWER SECTION:\nu18srv.kifarunix-demo.com. 38400 IN A 192.168.56.108<\/strong>\n\n;; AUTHORITY SECTION:\nkifarunix-demo.com. 38400 IN NS ns1.kifarunix-demo.com.\n\n;; ADDITIONAL SECTION:\nns1.kifarunix-demo.com. 38400 IN A 192.168.56.105\n\n;; Query time: 2 msec\n;; SERVER: 192.168.56.105#53(192.168.56.105)\n;; WHEN: Tue Sep 24 22:18:50 EAT 2019\n;; MSG SIZE  rcvd: 132<\/code><\/pre>\n\n\n\n<p>Perform Reverse Lookup (PTR Records)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dig -x 192.168.56.104<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>; &lt;&lt;&gt;&gt; DiG 9.11.9-RedHat-9.11.9-1.fc30 &lt;&lt;&gt;&gt; -x 192.168.56.104\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 9727\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n; COOKIE: c6bc69eca7e20dca47e4e3b95d8a757a39ffb62e91345fa4 (good)\n;; QUESTION SECTION:\n;104.56.168.192.in-addr.arpa. IN PTR\n\n<strong>;; ANSWER SECTION:\n104.56.168.192.in-addr.arpa. 38400 IN PTR cent7.kifarunix-demo.com.\n<\/strong>\n;; AUTHORITY SECTION:\n56.168.192.in-addr.arpa. 38400 IN NS ns1.kifarunix-demo.com.\n\n;; ADDITIONAL SECTION:\nns1.kifarunix-demo.com. 38400 IN A 192.168.56.105\n\n;; Query time: 1 msec\n;; SERVER: 192.168.56.105#53(192.168.56.105)\n;; WHEN: Tue Sep 24 22:58:53 EAT 2019\n;; MSG SIZE  rcvd: 156<\/code><\/pre>\n\n\n\n<p>Using host command;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>host u18srv.kifarunix-demo.com<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>u18srv.kifarunix-demo.com has address 192.168.56.108<\/code><\/pre>\n\n\n\n<p>Reverse Lookup of DNS Server hostname.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>host 192.168.56.105<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>105.56.168.192.in-addr.arpa domain name pointer ns1.kifarunix-demo.com.<\/code><\/pre>\n\n\n\n<p>Well, there you go.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related Tutorials<\/h3>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/configure-bind-as-slave-dns-server-on-ubuntu-18-04\/\" target=\"_blank\">Configure BIND as Slave DNS Server on Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/configure-bind-as-dns-server-on-ubuntu-18-04\/\" target=\"_blank\">Configure BIND as DNS Server on Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-powerdns-with-mariadb-backend-on-fedora-30-29-centos-7\/\" target=\"_blank\">Install PowerDNS with MariaDB Backend on Fedora 30\/29\/CentOS 7<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/how-to-setup-master-slave-dns-server-using-bind-on-centos-7\/\">How to Setup Master-Slave DNS Server using BIND on CentOS 7<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to our tutorial on how to install and setup Bind DNS using Webmin on Debian 10. Webmin is a web-based control panel that allows<\/p>\n","protected":false},"author":1,"featured_media":9998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,979,971,941],"tags":[109,980,997,110,973,1138,3485,4310,4311,268],"class_list":["post-4155","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-bind","category-dns","category-webmin","tag-bind","tag-bind-9","tag-debian-10","tag-dig","tag-dns","tag-host","tag-install-webmin-on-debian-10","tag-setup-bind-dns-using-webmin-on-debian-10","tag-use-webmin-dns-on-debian-10","tag-webmin","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4155"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=4155"}],"version-history":[{"count":12,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4155\/revisions"}],"predecessor-version":[{"id":21192,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4155\/revisions\/21192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/9998"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=4155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=4155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=4155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}