Building a Local DNS Server

Looking cool because your your shit works... Its always DNS!

In this guide we will be covering building a BIND9 DNS server on Ubuntu 19.10 Server. For more information about Berkeley Internet Named Domain visit: https://en.wikipedia.org/wiki/BIND We utilized this DNS Server for the installation of VCSA since it requires DNS (if you want less headaches).

Step 1: Install BIND9

Step 2: Basic Configuration

edit /etc/bind/named.conf.local Replace "domain" with the name of your domain

Now create the “zones” directory as specified above mkdir /etc/zones cd /etc/zones create the files as specified above touch /etc/zones/db.aj.labz touch /etc/zones/db.50.24.10 edit /etc/zones/db.aj.labz

edit /etc/zones/db.50.24.10

restart BIND9 to enforce the changes /etc/init.d/bind9 restart

Step 3: Test DNS Server

nslookup 10.24.50.100 10.24.50.2

Last updated

Was this helpful?