Install DNS on Ubuntu Linux 22.04 with BIND

Поділитися
Вставка
  • Опубліковано 4 сер 2024
  • This video explains how to install DNS on Ubuntu version 22.04.
    0:00 introduction
    1:28 update & upgrade using apt-get command
    1:53 install bind (sudo apt install bind9)
    2:09 dnsutils installation (sudo apt install dnsutils)
    2:54 DNS installation
    11:44 using dig to check the DNS functionality
    12:59 Add ClearPass record in the BIND data file as an example

КОМЕНТАРІ • 37

  • @aswell-
    @aswell- 7 місяців тому +1

    Awesome, thank you very much for this guide through the configuration!

  • @ravipatil8739
    @ravipatil8739 Місяць тому +1

    Thank You Very Much for this:) 🙂 Its Really Works!

  • @greenblack9165
    @greenblack9165 Рік тому +1

    Thanks!!! Greetings from Poland :3

  • @ferassuleyman5827
    @ferassuleyman5827 2 роки тому +2

    Thanks nice one. I did try it and it worked 😀

  • @vladimirkomissarov851
    @vladimirkomissarov851 Рік тому +2

    Thank you!))) it really works)

  • @hashannawanjana9025
    @hashannawanjana9025 Рік тому +1

    its working thankyou

  • @jayalyadav
    @jayalyadav 7 місяців тому +1

    This tutorial is synonym of perfection

  • @jamalbanna9929
    @jamalbanna9929 Рік тому +1

    Akhi this is just good

  • @ronsreacts
    @ronsreacts 11 місяців тому +1

    Such a great explaination from your side.

  • @banabana4691
    @banabana4691 4 місяці тому +1

    its working

  • @brezagay6622
    @brezagay6622 7 місяців тому

    I have a question that comes to mind
    We assume that we have 5 records, all of them with the same domain name, and each record has a different IP
    Why when requesting query
    The Name Serverin Response brings me all five records, not one or two
    Is this constant in dns consept( i mean all dns softwares works in this way or not)?
    Or there something that can control this? I mean two records only go not the five

  • @kishorchannel6274
    @kishorchannel6274 Рік тому

    hi salama! This is kishor from India could you tell me Please what is in the timeline after 8.09. There is some content has been edited, I could not able to follow up

  • @ghaithraheem9334
    @ghaithraheem9334 Рік тому

    does anyone know to update bind? please

  • @mohitpanwar4884
    @mohitpanwar4884 3 місяці тому

    i am not able to enable this bind9 service, error "Failed to enable unit: Refusing to operate on alias name or linked unit file: bind9.service
    "

    • @nafithsalama
      @nafithsalama  3 місяці тому

      Not sure why but let me try to mimic this error. Did you install the required utilities as per the instructions just double check that

    • @mohitpanwar4884
      @mohitpanwar4884 3 місяці тому

      @@nafithsalama systemctl enable bind9
      Failed to enable unit: Refusing to operate on alias name or linked unit file: bind9.service
      root@dns:/etc/bind# systemctl enable named
      Synchronizing state of named.service with SysV service script with /lib/systemd/systemd-sysv-install.
      Executing: /lib/systemd/systemd-sysv-install enable named
      root@dns:/etc/bind#
      Then i enabled named and i tested reboot server and i got status running bind service

    • @mohitpanwar4884
      @mohitpanwar4884 3 місяці тому

      New issue now, reverse nslookup not working forwarding working fine - nslookup 10.10.7.182
      ** server can't find 182.7.10.10.in-addr.arpa: NXDOMAIN

  • @Alekslim13
    @Alekslim13 Рік тому +1

    I did the example on VirtualBox and Ubuntu 22.04 with bridged adapter. It all worked. In the browser on the virutal machine I can use the domain name to visit /var/html/index.html. But on my real computer that VirtualBox runs on the domain name didn't work. But the IP address will work in the browser on my real computer.

    • @nafithsalama
      @nafithsalama  Рік тому

      I never tried that way. Let me mimic your environment and see how it goes

    • @Alekslim13
      @Alekslim13 Рік тому

      @@nafithsalama Okay, sounds good.

    • @faroukelhadi4050
      @faroukelhadi4050 7 місяців тому

      @@nafithsalama Any more informations about this situation ?

    • @nafithsalama
      @nafithsalama  7 місяців тому

      Let me check doe you

    • @A_Tekin
      @A_Tekin 6 місяців тому

      i added ip address and domain to the hosts (macos: /etc/hosts) file and works with same configuration. (virtualbox, ubuntu server 22.04)

  • @salexkorsan8790
    @salexkorsan8790 Рік тому

    Sir, i have three server, After Create DNS i want to divert Globally Traffic by Region, Like Asian Visitor divert on asian Server, African Visitor on African Server..... Already i'm Used this Service on Oracle Cloud, it's Very Costlly /
    Sooooooo i want this Service on my own VPS, will you please tell How do i do this ??

    • @nafithsalama
      @nafithsalama  Рік тому +1

      Hi SAIEX. thanks for the message. i will update you this week. i've not been feeling well for the last few days and i am recovering now. Sorry about the delay

  • @malbashaco
    @malbashaco Рік тому

    Hi can I install apache2 server and DNS server in the same Ubuntu machine?

    • @nafithsalama
      @nafithsalama  Рік тому

      Yes you can of course. Best practice is to have them on different servers

    • @johndank2209
      @johndank2209 Рік тому

      @@nafithsalama why exactly? i never understood this.

  • @user-fv5ly6ou3j
    @user-fv5ly6ou3j Рік тому +2

    i love you from korea.

  • @tdx110
    @tdx110 9 місяців тому

    Nice but stupid.
    Why do you force yourself to write in the terminal everywhere when you can install DNS from the GUI and do everything there?
    There's a graphical interface for a reason...

  • @TBMODS_APK_IPA
    @TBMODS_APK_IPA 11 місяців тому +1

    Sir, how to public to internet

    • @nafithsalama
      @nafithsalama  11 місяців тому +1

      I will produce another video very soon covering this aspect

    • @serzhbreathe8652
      @serzhbreathe8652 5 місяців тому

      @@nafithsalama Can you please drop a link to the video or specify what it is called?

  • @cyberghost_01
    @cyberghost_01 Рік тому +1

    I dont understand anything