User Tools

Site Tools


computing:bind9dns

This is an old revision of the document!



  • bind9dns
  • Jonathan Haack
  • Haack's Networking
  • webmaster@haacksnetworking.org

bind9dns


This tutorial is for users of Debian GNU/Linux to set up an authoritative DNS server using bind9. An authoritative DNS server serves DNS records about other hosts … that is, you use an authoritative server to serve domain.com's A, AAAA, DMARC, SPF, etc., records. These records can then be queried by a recursive DNS resolver. Bind9 can also do recursion, however, it's far more commonly used as an authoritative DNS server. Unbound, on the other hand, is designed primarily for recursive DNS. If you are just looking to protect against leaks and guard DNS privacy, you should instead head over unbound-dns instead. In this tutorial, we will:

  • Create webmin server cluster and configure each node's firewall
  • Adjust webmin's global bind9 settings to work with underlying base server settings
  • Add zone using CLI
  • Add zone using webmin
  • Setup DNSSEC using CLI
  • Setup DNSSEC using webmin
  • Configuring your Registrar's GLUE records, i.e., registering and pointing nameservers

This tutorial presumes you already have a working and sufficiently hardened VM/VPS with a LAMP stack and access to PTR for three different external IPs. If you don't know what some or all of that is, take a step back and start with Apache Survival before proceeding.

oemb1905 2025/12/26 17:58

computing/bind9dns.1766869311.txt.gz · Last modified: by oemb1905