Como integrar DNS Linux (BIND9) com Active Directory (Passo a Passo)

If you manage a corporate network with Active Directory, you know that your Domain Controller (Windows Server) works overtime. By default, it ends up processing all the website requests that your users try to access on the internet. In this video, we'll solve this overload! You'll learn the advantages of implementing a dedicated Cache-Only DNS server using Linux (BIND9) and how to configure your Windows AD to forward external queries to it. The result? A much faster network, lower latency in browsing, bandwidth savings, and relief in the processing load of your Active Directory! If you liked the idea, don't forget to leave your Like, subscribe to the Nem TI Conto channel, and activate the bell so you don't miss the next infrastructure and network tips! 💻 Commands and Settings Used in the Video: 1. BIND9 Installation (Debian / Ubuntu) First, update the package list and install BIND9 and its utilities: sudo apt update && sudo apt install bind9 bind9utils bind9-doc -y 2. Backup of the original configuration file (Recommended) Always make a backup before changing system files: sudo cp /etc/bind/named.conf.options /etc/bind/named.conf.options.bak 3. Editing BIND9 Options Open the options configuration file: sudo nano /etc/bind/named.conf.options Replace the content with the block below (remember to adjust your network's IP range in the acl section): Plaintext acl "localnetwork" { 192.168.0.0/24; # PUT YOUR LOCAL NETWORK RANGE HERE localhost; localnets; }; options { directory "/var/cache/bind"; allow-query { networklocal; }; forwarders { 8.8.8.8; // Google 1.1.1.1; // Cloudflare }; forward only; dnssec-validation auto; listen-on-v6 { any; }; }; To save in nano: press Ctrl + O, then Enter, and exit with Ctrl + X. 4. Syntax Validation and Restart Always validate the settings before restarting the service to prevent it from crashing due to typos: If this command returns nothing, the syntax is 100% correct sudo named-checkconf Restarts the service to apply the changes sudo systemctl restart bind9 Enables BIND9 to start automatically with the system sudo systemctl enable bind9 Checks if the service is active and running without errors sudo systemctl status bind9 About NemTIConto: Here we talk the truth about the technology market, without filters and without falling for any hype. If you want to be an elite professional and not just an AI button pusher, subscribe! 📚 MY BOOK: Want to strengthen your security foundation? Purchase my book: "Fundamentals of Information Security and Cryptography: Shielding the Digital Age" Those interested in purchasing can contact me directly via email: 📧 [email protected] #Networks #DNS #ActiveDirectory #Linux #WindowsServer #SysAdmin #Infrastructure #NemTIConto