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

ความคิดเห็น • 33

  • @user-jr5jx6cr7x
    @user-jr5jx6cr7x 5 หลายเดือนก่อน +1

    Made reverse DNS simple to understand with webmin! Thanks!

  • @martinsloan5760
    @martinsloan5760 3 ปีที่แล้ว

    Great video! I just lost my entire lab and did not want to go with Windows again. This is awesome. Thank you.

    • @adptechnology8243
      @adptechnology8243 2 ปีที่แล้ว

      th-cam.com/video/6OMy0WLP6Fk/w-d-xo.html
      Install Webmin on CentOS Stream/Redhat Enterprise Linux 9/8/7 | Easy Solution

  • @ryankelly5296
    @ryankelly5296 3 ปีที่แล้ว +1

    Thank you! This was so helpful! Trying to move away from Windows Server!

  • @QuangDemo769
    @QuangDemo769 2 ปีที่แล้ว +1

    thanks guy. But i have a question, can i change tcp port 10000 to 443? Thank

  • @samanabdollahpour1429
    @samanabdollahpour1429 ปีที่แล้ว

    keep shining bro
    that was awesome
    thanks

  • @dancetracks12345
    @dancetracks12345  3 ปีที่แล้ว +2

    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!

    • @dancetracks12345
      @dancetracks12345  2 ปีที่แล้ว

      @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.

  • @PuneethBedre
    @PuneethBedre 2 ปีที่แล้ว

    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.

  • @amosgiture
    @amosgiture 3 ปีที่แล้ว

    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.

    • @henryeng3112
      @henryeng3112 3 ปีที่แล้ว

      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.

    • @henryeng3112
      @henryeng3112 3 ปีที่แล้ว

      Will document for future use. I usually end up tearing down DNS after the lab is not required.

  • @mkhlafa6809
    @mkhlafa6809 3 ปีที่แล้ว

    Great lecture. Helped me alot! Thank you

  • @J0nny5
    @J0nny5 3 ปีที่แล้ว

    Great video, thank you very much!

  • @rboc12
    @rboc12 ปีที่แล้ว

    Do you still need to buy Domain name or you can use any domain?

  • @michaelcooper5490
    @michaelcooper5490 2 ปีที่แล้ว

    Your volume was way low. But other than that awesome, video good job.

  • @ajmalk4860
    @ajmalk4860 9 หลายเดือนก่อน

    What should be written on Master server address ?

  • @eduardodasilvaramos
    @eduardodasilvaramos 2 ปีที่แล้ว

    Ajudou muito. Obrigado!

  • @clareboudtj
    @clareboudtj 2 ปีที่แล้ว

    Thx , helped me out !

  • @xman3528
    @xman3528 หลายเดือนก่อน

    thanks

  • @rafy-ivanmorales3077
    @rafy-ivanmorales3077 2 ปีที่แล้ว

    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.

  • @Bzxtr
    @Bzxtr 3 ปีที่แล้ว

    Can you help me, I need to configure bind on debian for school but I can't

  • @AzamatOverclockers
    @AzamatOverclockers 3 ปีที่แล้ว

    great video, but nothing is visible at 720p.

  • @jasonking1284
    @jasonking1284 2 ปีที่แล้ว

    I don't have a magnifying glass so couldn't see what the hell you were doing.....

    • @adptechnology8243
      @adptechnology8243 2 ปีที่แล้ว

      th-cam.com/video/6OMy0WLP6Fk/w-d-xo.html
      Install Webmin on CentOS Stream/Redhat Enterprise Linux 9/8/7 | Easy Solution

  • @ujjwalsrivastava9924
    @ujjwalsrivastava9924 3 ปีที่แล้ว

    How google ads are coming on 41 subscriber? can u explain?

    • @johnaart
      @johnaart 3 ปีที่แล้ว

      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.

  • @تمان-ش7ز
    @تمان-ش7ز 2 ปีที่แล้ว +1

    22

  • @Dexter101x
    @Dexter101x 3 ปีที่แล้ว

    Step 3 doesn't work anymore

    • @dancetracks12345
      @dancetracks12345  3 ปีที่แล้ว

      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.

    • @lebohangmotsepe6335
      @lebohangmotsepe6335 3 ปีที่แล้ว

      Me too. @Dexter, was there another way you approached this to get it working ? Would appreciate if you share. Thanks.

  • @lalaost1
    @lalaost1 3 ปีที่แล้ว

    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