Video summary

Tutorial!!! Instalasi & Konfigurasi DNS Server di Debian 10 Virtualbox

Main summary

Key takeaways

Technology

Summary of the tutorial (DNS server on Debian 10 in VirtualBox)

This video is a step-by-step tutorial to install and configure a DNS server on Debian 10 running in VirtualBox. It then verifies DNS resolution and publishes a simple website via Apache.

1) VirtualBox network setup

  • The Debian 10 VM is prepared from a previously cloned/installed ISO (the tutorial references an earlier Debian 10 installation video).
  • In VirtualBox VM settings:
    • Network mode is changed from NAT to Host-Only Adapter.
    • The adapter is selected (shown in subtitles as something like “Host-Only” / “fann DNI”) so the VM can communicate locally with the host.

2) Configure Debian network IP

  • Login as root.
  • Edit the network interface using nano (shown as “Nano /etc/…”):
    • Configure a static IP (DHCP disabled for that config).
    • IP address: 192.168.7.7
    • Netmask: 255.255.255.0
  • Restart networking (shown as “restart” to apply changes).
  • Verification:
    • Confirm the VM IP is now 192.168.7.7/24.

3) Configure Windows host to use the Debian DNS

On Windows:

  • Set the adapter to VirtualBox Host-Only Network.
  • Configure IPv4:
    • IP: 192.168.7.2 (substitutions may be possible)
    • Subnet: 255.255.255.0
    • Preferred DNS server: 192.168.7.7
  • Verification:
    • Ping 192.168.7.7 from Windows to confirm connectivity.

4) Install DNS server packages (bind9 / dnsutils)

  • Mount/select the Debian ISO DVDs (referenced as DVD1 and DVD2).
  • Use APT to install:
    • bind9
    • dnsutils
  • The tutorial includes:
    • Editing the APT source list (security lines are commented out in the tutorial).
    • Installing packages with APT.
    • Checking package state and reinstalling if needed using dpkg and apt purge / apt autoremove (some details appear partially garbled in subtitles).

5) DNS zone configuration (forward + reverse)

The core DNS configuration is done using named zone files under /etc/bind/ (the tutorial uses db.* files and nano editors).

Key actions

  • Copy base zone files (e.g., db.local), then create custom DB files:
    • Forward lookup file: based on db.local, renamed to something like db.<domain>
    • Reverse lookup file: based on db.127, renamed to something like db.192.168.7 (reverse in-addr.arpa logic is referenced)
  • Update records in those files:

    • Replace localhost with the chosen domain (example domain appears as smakness.net / snackness.net—spelling is inconsistent due to auto-caption errors).
    • Set the A records to 192.168.7.7
    • Ensure both:
      • Root domain records (e.g., @)
      • www records point to the Debian IP.
  • Configure DNS main config:

    • Edit /etc/named.conf.
    • Add:
      • A zone for the domain (marked as master;)
      • A reverse zone using 7.168.192.in-addr.arpa
  • Restart DNS:
    • Restart bind9.
  • Verification:
    • Check that bind9 is running.

6) Install Apache and create a simple webpage

To demonstrate that the DNS mapping works:

  • Install Apache:
    • apt install apache2
  • Configure a site (vhost):
    • The tutorial copies the default site config to a custom vhost file (spelling appears inconsistent in subtitles).
  • Edit the Apache configuration to set:
    • Admin email (changed from localhost to the user’s email)
  • Update the web page:
    • Edit /var/www/html/index.html
    • Customize content (e.g., a message like “Welcome to the Apip channel”)

7) Test and verification

The tutorial tests DNS resolution and web access:

  • Ping tests:
    • Ping Debian IP: 192.168.7.7
    • Ping the domain name (e.g., smakness.net / snackness.net) to confirm DNS answers
  • Browser tests:
    • Open the browser using the IP 192.168.7.7 to verify Apache loads
    • Open the browser using the domain to verify it resolves to the IP and loads the same webpage

Main deliverable / outcome claimed

  • A DNS server on Debian 10 is configured successfully:
    • Forward DNS (domain → IP)
    • Reverse DNS (IP → domain)
  • The domain name resolves correctly from Windows.
  • Apache serves a customized page via both IP and domain.

Main speakers / sources

  • Speaker: “Apip” (channel owner/instructor; referenced in subtitles as “apip it”)
  • Source basis: The instructor’s prior Debian 10 installation video and Debian package repositories/ISO media (DVD1/DV D2 mentioned).

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video