DNS Server linuxLinux serverNETWORK ADMINISTRATIONS

How to setup DNS at home with Bind and Webmin on Ubuntu 20.04

Install Ubuntu 20.04 as a VM with 4GB ram, 20GB disk, and use a static IP.
Enable SSH during install.
Once completed log in via SSH using Putty or some other tool that lets you cut and paste.
1 – Log in and update your server.

sudo apt update -y && sudo apt upgrade -y

2 – Install dependency

sudo apt install software-properties-common apt-transport-https

3 – Add webmin repository

sudo wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add –

sudo add-apt-repository “deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib”

4 – Install webmin

sudo apt install webmin

5 – check status

sudo systemctl status webmin

6 – Configuring the firewall (Optional)

sudo ufw allow 10000/tcp
sudo ufw reload
sudo ufw status

7 – Go to webmin login

https://server-IP:10000/

login with the user account created during the server install, same password

8 – Click on Refresh Modules, wait, then click on Un-used Modules, install BIND

9 – Once completed, go to Servers and select Bind DNS Server

10 – to set up follow the video

source

by dancetracks

linux dns server

Leave a Reply

Your email address will not be published. Required fields are marked *