{"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

Welcome to our tutorial on how to install and setup Bind DNS using Webmin on Debian 10. 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

Or, you can work with a Philadelphia it company<\/a> to take care of the setup process for you.<\/p>\n\n\n\n

Install Webmin on Debian 10<\/a><\/p>\n\n\n\n

Install and Configure Bind DNS Using Webmin on Debian 10<\/h3>\n\n\n\n

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

Login to Webmin as Administrative User<\/h3>\n\n\n\n

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

\n
\"webmin<\/a><\/figure><\/div>\n\n\n

Run System Update<\/h3>\n\n\n\n

Launch the terminal by pressing Alt+k<\/strong>. Next, run system package update command.<\/p>\n\n\n\n

apt update -y<\/code><\/pre>\n\n\n\n

Install Bind DNS Server Module<\/h3>\n\n\n\n

Next, you need to install Bind DNS server module. This can be done from the Webmin interface. Hence, on the dashboard, navigate to Un-used Modules <\/strong>> BIND DNS Server<\/strong> and click “Click here<\/strong>” to build Bind package and required dependencies for installation.<\/p>\n\n\n\n

\"Setup<\/a><\/figure>\n\n\n\n

Click Install Now<\/strong> to install the Bind packages and all required dependencies.<\/p>\n\n\n\n

\"install<\/a><\/figure>\n\n\n\n

Configuring BIND DNS Server Using Webmin<\/h3>\n\n\n\n

Once the installation is complete, click Return to BIND DNS Server<\/strong> below the screen to go back to BIND DNS Server configuration interface.<\/p>\n\n\n\n

Configure Access Control List<\/h3>\n\n\n\n

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

To create the ACL, Click Access Control Lists<\/strong> and set the name of the ACL and the IP addresses or the networks.<\/p>\n\n\n\n

\"Create<\/a><\/figure>\n\n\n\n

For example, we created an ACL called allowed<\/code> to define the networks (192.168.56.0\/24<\/code>) of the hosts allowed to query our DNS server. Save the changes and click Return to zone list.<\/strong><\/p>\n\n\n\n

Define global server configuration options<\/h3>\n\n\n\n

Next, you need to configure BIND global configuration options. The options<\/code> statement is used to set up global options to be used by BIND such as define the hosts are allowed to ask ordinary DNS questions, specify the location of the named<\/code> 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

These configurations can be mode on the \/etc\/bind\/named.conf.options<\/code> configuration file.<\/p>\n\n\n\n

From BIND DNS Server<\/strong> interface, click Edit Config File<\/strong>. By default, you will see the \/etc\/bind\/named.conf<\/code> configuration file selected.<\/p>\n\n\n\n

Hence, click on the drop down menu and select the \/etc\/bind\/named.conf.options<\/code> configuration file. Make the changes on the file as shown in screenshot below;<\/p>\n\n\n\n

\"BIND<\/a><\/figure>\n\n\n\n

Click save and close to return to zone list.<\/p>\n\n\n\n

Some of the configuration options used above are;<\/p>\n\n\n\n