Setting up a DNS server
One of the most widely used DNS services is Berkeley Internet Name Domain 9 (BIND 9). You can visit its official website at the following address: https://www.isc.org/bind/. Before continuing, let’s underline the system configuration and goals. For this section, we will use a computer running on Ubuntu Server 22.04.2 LTS. On this system, we will create two types of servers, a caching name server and a primary name server, which you can use on your local network to manage hostnames and private IP addresses.
Important note
There are different DNS servers, such as authoritative, caching, or forwarding types; those are also called functional types. Among those, a caching DNS server is the one that always answers recursive requests from clients. Also, there are relational server types, such as primary and secondary DNS servers. Those are authoritative types, and are almost identical, with the only difference between the primary and the secondary being...