{"id":10857,"date":"2021-11-07T10:40:55","date_gmt":"2021-11-07T07:40:55","guid":{"rendered":"https:\/\/kifarunix.com\/?p=10857"},"modified":"2024-03-18T08:14:31","modified_gmt":"2024-03-18T05:14:31","slug":"configure-bind-dns-server-using-webmin-on-debian-11","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/configure-bind-dns-server-using-webmin-on-debian-11\/","title":{"rendered":"Configure BIND DNS Server using Webmin on Debian 11"},"content":{"rendered":"\n

Welcome to out tutorial on how to configure Bind DNS server using Webmin on Debian 11. Webmin<\/a> is a web-based control panel that allows system administrators to administer system administration tasks from web user interface.<\/p>\n\n\n\n

You can follow the link below to install Webmin on Debian 11.<\/p>\n\n\n\n

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

Configuring BIND DNS Server using Webmin on Debian<\/h2>\n\n\n\n

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

All the installations and configurations will be run as root in this guide. Therefore, login as a root user or a user with sudo rights.<\/p>\n\n\n\n

\"\"<\/figure>\n\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

Close the terminal once the update is done.<\/p>\n\n\n\n

Install Bind DNS Server Module on Debian 11<\/h3>\n\n\n\n

Install Bind DNS server module by navigating to Dashboard > Un-used Modules <\/strong>> BIND DNS Server > Install Now<\/strong>. This will start to build Bind package and required dependencies for installation.<\/p>\n\n\n\n

Once successfully build, click Install Now<\/strong> to install the Bind packages and all required dependencies.<\/p>\n\n\n\n

\"\"<\/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

\"\"<\/figure>\n\n\n\n

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

To begin with, create an access control list for your DNS server.<\/p>\n\n\n\n

ACLs allows you 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:<\/p>\n\n\n\n

    \n
  • Click Access Control Lists<\/strong>, as higlighted in the screenshot above.<\/li>\n\n\n\n
  • Set the name of the ACL<\/li>\n\n\n\n
  • Add the IP addresses or the networks to allow to query your DNS server.<\/li>\n<\/ul>\n\n\n\n
    \"\"<\/figure>\n\n\n\n

    For example, we created an ACL called allowed<\/code> to define the networks (192.168.[57-60].0\/24<\/code>) of the hosts allowed to query our DNS server. <\/p>\n\n\n\n

    Click Save<\/strong> and Return to zone list.<\/strong><\/p>\n\n\n\n

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

    Next, you need to configure BIND global configuration options.<\/p>\n\n\n\n

    The options<\/code> statement is used to set up global options to be used by BIND such as:<\/p>\n\n\n\n