Guides 11792 Published by Philipp Esselbach 0

This guide gives a no‑frills walk‑through for turning a Debian 11 machine into a working DNS server with BIND9. It starts by installing the official packages, enabling the bind9 service at boot, and then shows how to create a simple zone file that defines an SOA record before wiring it into named.conf.local. The next steps harden the daemon by restricting recursion to localhost or a LAN subnet, opening public query access, and provide commands for restarting BIND and verifying functionality with dig. Finally, it explains how to expose the server to the internet if desired, tweak firewall rules accordingly, and set up unattended security upgrades so your DNS stays patched without manual intervention.