This post is how to setup a DNS Cache Server. This configuration uses Google DNS as the forwarder and allows access from clients that have the IP in the scope of 192.168.0.0/16.
- Install the BindDNS package
- sudo apt install bind9
- Edit the /etc/bind/named.conf.options file editing the Forwarders as follows.
- forwarders {8.8.8.8;};
- Edit the /etc/bind/named.conf.options file adding access for remote DNS lookups.
- recursion yes;
- allow-recursion { 192.168.0.0/16;};
- Restart the BindDNS Service
- sudo systemctl restart bind9.service