How to Install & Configure DNS on Ubuntu 20.04 & 22.04
https://www.SET_your_domain_name.com/install-configure-bind-9-dns-server-ubuntu-debian/ sudo apt install -y bind9 bind9utils bind9-doc dnsutils sudo nano /etc/bind/named.conf.options acl internal-network { 192.168.0.0/23; }; options { directory "/var/cache/bind"; allow-query { localhost; internal-network; 192.168.0.0/23; localnets; }; allow-transfer { localhost; }; forwarders { 1.1.1.1; 8.8.4.4; }; recursion yes; dnssec-validation auto; listen-on-v6 { any; }; }; sudo vi named.conf.local zone "SET_your_domain_name.local" IN { type master; file "/etc/bind/forward.SET_your_domain_name.local"; allow-update { none; }; }; zone "0.166.103.in-addr.arpa" IN { type master; file "/etc/bind/reverse.SET_your_domain_name.local"; allow-update { none; }; }; sudo cp db.local forward.SET_your_domain_name.local $TTL 604800 @ IN SOA primary.SET_your_do