How to setup DNS at home with Bind and Webmin on Ubuntu 20.04
ฝัง
- เผยแพร่เมื่อ 11 ก.ย. 2024
- 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 www.webmin.com/... -O | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] download.webmin... 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
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
Made reverse DNS simple to understand with webmin! Thanks!
Great video! I just lost my entire lab and did not want to go with Windows again. This is awesome. Thank you.
th-cam.com/video/6OMy0WLP6Fk/w-d-xo.html
Install Webmin on CentOS Stream/Redhat Enterprise Linux 9/8/7 | Easy Solution
Thank you! This was so helpful! Trying to move away from Windows Server!
thanks guy. But i have a question, can i change tcp port 10000 to 443? Thank
keep shining bro
that was awesome
thanks
Here is something new to note. My server stopped working and I didn't know why. So I rebuilt it exactly the same way thinking perhaps a patch broke something. But my client was reporting query refused. So I went to Google and searched "Bind9 allow query from" and found that some people needed to allow queries from some subnets. I know this is a setting in pfsense but in webmin it is shown as "default" whatever that means. So I went to Zone Defaults > Zone Settings > Allow queries from.. Listed - and I set it to "any." It is working again. Hope this helps someone. The homelab is back in action!
@Kechimmobilier Marrakech Yeah, I didnt know I recorded at 720p back when i made the video. If something changes and I make a new version of this I will make a note to check my resolution. Thanks for watching.
in general, dns settings continue to be a maze for me.
I deleted all my zones that was set in webmin.
Went ahead and created the master record, but i dont see the list of other zones it automatically creates when I go back to Bind.
Thank you very much for short and informative guide.
Use the allow-transfer {"none";}; directive to block zone enumeration. I think it is a per zone option and not a server-wide option.
Thank you for your suggestion. I added it to named.conf.options and all is good. I searched google to be sure of the change. Tested. Much appreciated.
Will document for future use. I usually end up tearing down DNS after the lab is not required.
Great lecture. Helped me alot! Thank you
Great video, thank you very much!
Do you still need to buy Domain name or you can use any domain?
Your volume was way low. But other than that awesome, video good job.
What should be written on Master server address ?
Ajudou muito. Obrigado!
Thx , helped me out !
thanks
Hello how I will configure with out using or install the bind utilities package (linux 2.6 pc with linux DNS server ANd linux Web server) to chare files and to comunicate each other what I have to do or what configuration I have to preform is my first time doing this and I have to make a project configuring this 3. can you help me out. all this have to be done with out installing BIND9 it have to be manual.
Can you help me, I need to configure bind on debian for school but I can't
great video, but nothing is visible at 720p.
I don't have a magnifying glass so couldn't see what the hell you were doing.....
th-cam.com/video/6OMy0WLP6Fk/w-d-xo.html
Install Webmin on CentOS Stream/Redhat Enterprise Linux 9/8/7 | Easy Solution
How google ads are coming on 41 subscriber? can u explain?
I think its either 1000 subscribers/4000 watch hours in your videos.. So he must be getting a lot of views even though his subscribers are low.
22
Step 3 doesn't work anymore
I built a new DNS server with Ubuntu 20.04 today as part of some troubleshooting at home. I followed my own cheat sheet and video (to refresh my memory) and made a mental note to check line 3 or to lookout for errors. Everything went as planned, no errors, all commands worked as written. Perhaps the Webmin web site or the repositories were down when you ran the commands? I've seen that happen for patching activities and Linux can't get to the repositories for its checks and downloads.
Me too. @Dexter, was there another way you approached this to get it working ? Would appreciate if you share. Thanks.
When using "sudo add-apt-repository "deb [arch=amd64] download.webmin.com/download/r... sarge contrib""
I get this in return
Hit:1 dk.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 dk.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 dk.archive.ubuntu.com/ubuntu focal-backports InRelease
Ign:5 download.webmin.com/download/r... sarge InRelease
Err:6 download.webmin.com/download/r... sarge Release
404 Not Found [IP: 104.207.151.13 80]
Reading package lists... Done