{"id":1267,"date":"2019-04-19T18:07:18","date_gmt":"2019-04-19T23:07:18","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=1267"},"modified":"2022-06-03T03:34:12","modified_gmt":"2022-06-03T08:34:12","slug":"how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/","title":{"rendered":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-30493\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg\" alt=\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In the following tutorial, we&#8217;re going to go through the process of installing and configuring a simple DNS (BIND) server on your <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian 9 VPS<\/a>. This will allow you to host\/manage the DNS records for your domain\/s.<\/p>\n<p>Before we proceed with the setup process, let&#8217;s first talk about what the Domain Name System (DNS) is, as well as what a DNS server is.<img decoding=\"async\" class=\"alignright wp-image-29974\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-9.jpg\" alt=\"Installing and Configuring a Simple DNS BIND Server in Debian 9\" width=\"207\" height=\"164\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-9.jpg 379w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-9-150x119.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-9-300x238.jpg 300w\" sizes=\"(max-width: 207px) 100vw, 207px\" \/><\/p>\n<p>The\u00a0Domain Name System (DNS)\u00a0is technology that resolves the domain names\/hostnames to IP addresses so that we can easily access the services using domain names instead of using IP addresses. For example, if you wanted to visit a website through its IP address, you\u2019d have to enter a specific IP in the web browser&#8217;s address bar. But with the DNS, you can simply type &#8220;your_domain.com&#8221; to get there much more quickly. It\u2019s easier to remember, and it\u2019s more user-friendly. That\u2019s why people consider the DNS as \u201cthe phonebook of the Internet\u201d. Nobody wants to remember an IP, but everyone can and does remember a domain name. A Domain Name System uses DNS servers for its functionality, so a DNS server is any authoritative DNS host registered to join the Domain Name System (DNS).<br \/>\n<!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69db9ed40a1c8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69db9ed40a1c8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#Step-1-Log-in-via-SSH-and-Update-Your-System\" >Step 1: Log in via SSH and Update Your System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#Step-2-Install-and-Configure-the-Name-Server\" >Step 2: Install and Configure the Name Server<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>A <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Server running Debian 9<\/a><\/li>\n<li>SSH access with root privileges, or access to the root user itself<\/li>\n<li>Domain name<\/li>\n<li>Registered name servers<\/li>\n<\/ul>\n<p>Before we begin, in this tutorial we are going to use the domains ns1.<span style=\"color: #ff0000;\">your_domain.net<\/span> and ns2.<span style=\"color: #ff0000;\">your_domain.net<\/span> as example domains. To follow this tutorial, you&#8217;ll need to go to your domain registrar (the company that you bought your domain from) and register a domain name like <span style=\"color: #ff0000;\"><span style=\"caret-color: #ff0000;\">your_domain.net<\/span><\/span>. Remember to follow along with the name change throughout the rest of this guide. Also make sure you point them to your server IP address &#8211; in this tutorial we will be using 12.34.56.78 for explanatory purposes.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Log-in-via-SSH-and-Update-Your-System\"><\/span>Step 1: Log in via SSH and Update Your System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to your Debian 9 VPS with SSH as the root user, or as a user with sudo privileges:<\/p>\n<pre>ssh root@IP_Address -p Port_Number<\/pre>\n<p>Remember to replace &#8220;IP_Address&#8221; and &#8220;Port_Number&#8221; with your server&#8217;s respective IP address and SSH port.<\/p>\n<p>You can check whether you have the proper Debian 9 version installed on your server with the following command:<\/p>\n<pre># lsb_release -a<\/pre>\n<p>You should get this output (or something similar to this):<\/p>\n<pre>Distributor ID: Debian\r\nDescription: Debian GNU\/Linux 9.7 (stretch)\r\nRelease: 9.7\r\nCodename: stretch<\/pre>\n<p>Then, run the following command to make sure that all installed packages on the server are updated to the latest available version:<\/p>\n<pre># apt update &amp;&amp; apt upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Install-and-Configure-the-Name-Server\"><\/span>Step 2: Install and Configure the Name Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In this tutorial, we will install <code>bind9<\/code> and <code>dnsutils<\/code>.<\/p>\n<pre># apt install bind9 dnsutils -y<\/pre>\n<p>Once the installation is complete, edit the <code>\/etc\/bind\/named.conf.local<\/code> configuration file and add something like this: (make sure you change <span style=\"color: #ff0000;\">your_domain.net<\/span> and 12.34.56.78 to your actual domain name and IP address)<\/p>\n<pre># nano \/etc\/bind\/named.conf.local<\/pre>\n<pre>zone \"<span style=\"color: #ff0000;\">your_domain.net<\/span>\" {\r\ntype master;\r\nfile \"\/etc\/bind\/zones\/<span style=\"color: #ff0000;\">your_domain.net<\/span>.db\";\r\n};<\/pre>\n<p>The next thing we&#8217;re going to do is to create a zone file for the <span style=\"color: #ff0000;\">your_domain.net<\/span> domain. Do it by entering the following command:<\/p>\n<pre># mkdir -p \/etc\/bind\/zones &amp;&amp; nano \/etc\/bind\/zones\/<span style=\"color: #ff0000;\">your_domain.net<\/span>.db<\/pre>\n<pre>; Zone file for <code>your_domain.net<\/code> @ 14400 IN SOA <code>ns1.your_domain.net<\/code>. <code>root.your_domain.net<\/code>. ( 2012110501 ; serial, todays date+todays 28800 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds <span style=\"color: #ff0000;\">your_domain.net<\/span>. 14400 IN NS ns1.<span style=\"color: #ff0000;\">your_domain.net<\/span>. <span style=\"color: #ff0000;\">your_domain.net<\/span>. 14400 IN NS ns2.<span style=\"color: #ff0000;\">your_domain.net<\/span>. ns1 14400 IN A 12.34.56.78 ns2 14400 IN A 12.34.56.78 mail 14400 IN CNAME <span style=\"color: #ff0000;\">your_domain.net<\/span>. www 14400 IN CNAME <span style=\"color: #ff0000;\">your_domain.net<\/span>. ftp 14400 IN CNAME <span style=\"color: #ff0000;\">your_domain.net<\/span>. <span style=\"color: #ff0000;\">your_domain.net<\/span>. 14400 IN A 12.34.56.78 <span style=\"color: #ff0000;\">your_domain.net<\/span>. 14400 IN MX 0 <span style=\"color: #ff0000;\">your_domain.net<\/span>.<\/pre>\n<p>With all of these configuration files in place, we should now have a working DNS server. The last thing you need to is to restart your DNS server and add it to your system startup services using:<\/p>\n<pre># systemctl restart bind9\r\n# systemctl enable bind9<\/pre>\n<p>Now, you can go to your domain registrar again, change the existing authoritative name servers to <code>ns1.<span style=\"color: #ff0000;\">your_domain.net<\/span><\/code> and <code>ns2.<span style=\"color: #ff0000;\">your_domain.net<\/span><\/code>. You can verify the changes and the DNS propagation at https:\/\/www.whatsmydns.net\/#NS\/<span style=\"color: #ff0000;\">your_domain.net<\/span>.<\/p>\n<p>If you want to use the name servers for your <code>anotherdomain.com<\/code>, you can simply copy \/etc\/bind\/zones\/<span style=\"color: #ff0000;\">your_domain.net<\/span>.db and make several changes.<\/p>\n<pre># cp \/etc\/bind\/zones\/<span style=\"color: #ff0000;\">your_domain.net<\/span>.db \/etc\/bind\/zones\/anotherdomain.com.db<\/pre>\n<pre># nano \/etc\/bind\/zones\/anotherdomain.com.db<\/pre>\n<pre>; Zone file for anotherdomain.com\r\n@ 14400 IN SOA <code>ns1.<span style=\"color: #ff0000;\">your_domain.net<\/span><\/code>. <code>root.<span style=\"color: #ff0000;\">your_domain.net<\/span><\/code>. ( 2012110501 ; serial, todays date+todays 28800 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds anotherdomain.com. 14400 IN NS ns1.<span style=\"color: #ff0000;\">your_domain.net<\/span>. anotherdomain.com. 14400 IN NS ns2.<span style=\"color: #ff0000;\">your_domain.net<\/span>. mail 14400 IN CNAME anotherdomain.com. www 14400 IN CNAME anotherdomain.com. ftp 14400 IN CNAME anotherdomain.com. anotherdomain.com. 14400 IN A 12.34.56.78 anotherdomain.com. 14400 IN MX 0 anotherdomain.com.<\/pre>\n<p>Save the changes and exit from nano.<\/p>\n<p>The DNS records for <code>anotherdomain.com<\/code> have been added, now it is time to include the <code>anotherdomain.com<\/code> in named.conf.local file.<\/p>\n<pre># nano \/etc\/bind\/named.conf.local<\/pre>\n<p>Edit your existing configuration and make it like the following.<\/p>\n<pre>zone \"<span style=\"color: #ff0000;\">your_domain.net<\/span>\" {\r\ntype master;\r\nfile \"\/etc\/bind\/zones\/<span style=\"color: #ff0000;\">your_domain.net<\/span>.db\";\r\n};\r\n\r\nzone \"anotherdomain.com\" {\r\ntype master;\r\nfile \"\/etc\/bind\/zones\/anotherdomain.com.db\";\r\n\r\n};<\/pre>\n<p>Save the changes and exit.<\/p>\n<p>Then, we need to restart BIND9 after every change we make, like adding a new domain or after editing the DNS records.<\/p>\n<pre># systemctl restart bind9<\/pre>\n<p>Congratulations! At this point BIND9 has been successfully installed on your VPS, and you can use your name servers for all your domains.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft wp-image-30495\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-and-configure-simple-dns-bind-server-on-debian9.jpg\" alt=\"Install and Configure a Simple DNS BIND Server on Debian 9\" width=\"116\" height=\"137\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-and-configure-simple-dns-bind-server-on-debian9.jpg 247w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/install-and-configure-simple-dns-bind-server-on-debian9-127x150.jpg 127w\" sizes=\"(max-width: 116px) 100vw, 116px\" \/>Of course, you don\u2019t have to know how to install and configure a DNS server using BIND9 on Debian 9 if you use our\u00a0<a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Managed Debian 9 VPS Hosting<\/a> service. You can simply ask our support team to configure your DNS server on Debian 9 for you. They are available 24\/7, and will be able to help you with the installation of BIND9 on Debian 9.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you enjoy reading this blog post on <strong>how to configure your DNS server using BIND on Debian 9<\/strong>, feel free to share it on social networks using the shortcuts below, or simply leave a comment. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the following tutorial, we&#8217;re going to go through the process of installing and configuring a simple DNS (BIND) server &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#more-1267\" aria-label=\"Read more about How to Install and Configure a Simple DNS (BIND) Server on Debian 9\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":30493,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,13],"tags":[181,48,183,182,1152,18],"class_list":["post-1267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","tag-bind","tag-debian","tag-dns","tag-named","tag-rosehosting","tag-vps","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting\" \/>\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.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9\" \/>\n<meta property=\"og:description\" content=\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-19T23:07:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:34:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9\",\"datePublished\":\"2019-04-19T23:07:18+00:00\",\"dateModified\":\"2022-06-03T08:34:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/\"},\"wordCount\":783,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg\",\"keywords\":[\"bind\",\"debian\",\"dns\",\"named\",\"rosehosting\",\"vps\"],\"articleSection\":[\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/\",\"name\":\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg\",\"datePublished\":\"2019-04-19T23:07:18+00:00\",\"dateModified\":\"2022-06-03T08:34:12+00:00\",\"description\":\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Configure a Simple DNS (BIND) Server on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting","description":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting","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.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9","og_description":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-04-19T23:07:18+00:00","article_modified_time":"2022-06-03T08:34:12+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9","datePublished":"2019-04-19T23:07:18+00:00","dateModified":"2022-06-03T08:34:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/"},"wordCount":783,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg","keywords":["bind","debian","dns","named","rosehosting","vps"],"articleSection":["Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/","name":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg","datePublished":"2019-04-19T23:07:18+00:00","dateModified":"2022-06-03T08:34:12+00:00","description":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/03\/how-to-install-and-configure-simple-dns-bind-server-on-debian-9.jpg","width":742,"height":372,"caption":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-a-simple-dns-bind-server-in-debian-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install and Configure a Simple DNS (BIND) Server on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=1267"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1267\/revisions"}],"predecessor-version":[{"id":41734,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/1267\/revisions\/41734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/30493"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=1267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=1267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=1267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}